The postgres-mcp-server provides AI agents with direct access to PostgreSQL databases. It exposes SQL query execution, schema inspection, and data analysis tools. It connects to PostgreSQL instances via JDBC, allowing agents to retrieve, manipulate, and analyze data. Developers use it for database management, reporting, and data-driven decision-making.
The postgres-mcp-server provides AI agents with direct access to PostgreSQL databases. It exposes SQL query execution, schema inspection, and data analysis tools. It connects to PostgreSQL instances via JDBC, allowing agents to retrieve, manipulate, and analyze data. Developers use it for database management, reporting, and data-driven decision-making.
npx -y @tejasanik/postgres-mcp-serverAdd this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"tejasanik-postgres-mcp-server-npm": {
"command": "npx",
"args": [
"-y",
"npx -y @tejasanik/postgres-mcp-server"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from postgres-mcp-server?"
API Key Required
This server requires an API key from postgres-mcp-server. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| POSTGRES-MCP-SERVER_API_KEY | Yes | Your postgres-mcp-server API key |
"What resources are available in postgres-mcp-server?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in postgres-mcp-server"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in postgres-mcp-server with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.