Tool
data
✓ Verified
⭐ Featured
Free
PostgreSQL MCP Server
Read-only MCP server for PostgreSQL — let your AI agent inspect schemas and run safe SELECT queries.
4.7(198 reviews)
89,400 installs
by Anthropic
About
Connects to a Postgres database and exposes schema introspection plus read-only SELECT execution. Refuses any DDL or write operations. Perfect for analytics, data exploration, and AI-assisted query authoring without risking your data.
Tags
postgresdatabasesqlmcp
MCP Configuration Example
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://user:pass@host:5432/dbname"
]
}
}
}Related Tools
Tool⭐
developmentFREE
GitHub MCP Server
Official MCP server for the GitHub API — issues, PRs, releases, files, and search from any AI agent.
githubgitmcp
G
GitHub4.9(426)
185k
★12.4k
Tool⭐
developmentFREE
Filesystem MCP Server
Official MCP server giving safe, sandboxed filesystem access to AI agents with explicit allowed paths.
filesystemfilesmcp
A
Anthropic4.8(384)
156k
★9.8k
Install
# Add to ~/.claude/settings.json:
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://user:pass@host:5432/dbname"
]
}
}
}A
Anthropic
@modelcontextprotocol