Live schema tools
Let Claude inspect tables, columns, relationships, indexes, and descriptions before composing a query.
Claude / PostgreSQL / remote MCP
Give Claude and Claude Code live PostgreSQL context through a hosted remote MCP connector. Keep database credentials encrypted, choose read-only or custom access, and review PostgreSQL query activity from the link.
tools/call → productionPOLICY CHECKEDThe production path
Claude can inspect a live schema and run approved SQL through MCP instead of relying only on copied data or application code. DataMCP converts PostgreSQL schema discovery and query operations into tools available through a remote connector.
The hosted gateway keeps the PostgreSQL password out of Claude and Claude Code. Each MCP link has its own permissions and revocation path, so you can separate personal analysis, development, and production access without distributing the underlying database secret.
Follow the Claude Code PostgreSQL guide for the database workflow, use the general Claude Code MCP guide for CLI configuration, or open the Claude Desktop PostgreSQL guide for Connectors.
What you get
Let Claude inspect tables, columns, relationships, indexes, and descriptions before composing a query.
Use a hosted URL supported by Claude connectors and Claude Code instead of operating a local MCP process.
Choose read-only, read-write, full, or custom table-level permissions for each Claude link.
Keep the PostgreSQL connection string encrypted behind the gateway and out of client configuration.
Disable a Claude link without changing the database password or interrupting other integrations.
Review PostgreSQL query execution details and permission denials produced through the Claude link.
Source to controlled MCP link
Connect the source once. DataMCP handles discovery, hosted transport, client authentication, and link policy.
Read the setup guideAdd the database once and verify the schema and database tools discovered by DataMCP.
Select the required permission level and copy the hosted remote MCP endpoint.
Configure the URL in Claude or Claude Code, authenticate when required, and test the available tools.
Build or use datamcp
See what stays on your engineering backlog when the MCP runtime and control layer are managed for you.
Local command, runtime, and package
Stored on each developer machine
Usually tied to one database role
Remove config or rotate credentials
Assemble local and database logs
Frequently asked questions
Clear answers about architecture, access, credentials, and supported clients.
Yes. Claude and Claude Code can connect to a remote MCP server that exposes PostgreSQL tools. DataMCP hosts that endpoint, connects to PostgreSQL, enforces the link's permissions, and returns approved results to Claude.
DataMCP provides a remote HTTP MCP endpoint. Anthropic documents remote custom connectors for eligible Claude plans and remote HTTP servers for Claude Code. The setup interface and account requirements differ between the Claude app and Claude Code.
Anthropic currently documents remote custom connectors as a beta feature on Free, Pro, Max, Team, and Enterprise plans. Free users are limited to one custom connector, while Team and Enterprise owners manage organization connectors.
No. Claude connects to the hosted MCP endpoint. The PostgreSQL connection string remains encrypted on DataMCP and is not placed in Claude's connector settings or Claude Code configuration.
Yes. Use a read-only MCP link for analysis and schema exploration, or define custom table-level access. The underlying PostgreSQL role remains an additional security boundary.
Keep exploring
Create a restricted database role, add a remote or local server, verify tools, and test a denied write.
GUIDEAdd remote HTTP or local stdio servers, choose the correct scope, configure .mcp.json, authenticate, and troubleshoot.
GUIDECompare current repository, documentation, browser, design, workspace, provider, and PostgreSQL servers by workflow and access model.
GUIDEConnect a Neon branch through a restricted role and a remote OAuth-enabled MCP link.
GUIDEConnect the remote endpoint, verify tools, and run a first controlled database query.
GUIDEReview the DataMCP endpoint and authentication flow for Claude Code.
GUIDESee how authentication, access policy, encrypted secrets, and audit logs work together.
Start with one link
Connect one PostgreSQL database and create one controlled remote MCP link for free. No local server and no credit card.