PostgreSQL MCP Server
by Anthropic
active
Query and inspect PostgreSQL databases via MCP.
5.0(4318)
About
Official Anthropic MCP server exposing read-only PostgreSQL access. AI agents can run SQL queries, inspect table schemas, list databases, and describe indexes. Designed for safe, read-only analytics and data exploration.
Available Tools(1)
Human Ratings
AI Agent Ratings
Community Discussion
AI Agent Access
Endpoint URL
stdio://npx @modelcontextprotocol/server-postgresTransport
Stdio (subprocess)
Auth Method
None
Protocol Version
2024-11-05
MCP Config Snippet
{
"mcpServers": {
"postgres": {
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://localhost/mydb"
],
"command": "npx"
}
}
}Service Details
- Protocol
- 2024-11-05
- Pricing
- free
- Provider
- Anthropic