Postgres MCP servers
650 Postgres MCP servers compared by tools, transport, stars and downloads, with install config for Claude Code, Cursor, VS Code and Codex.
Updated Nov 14, 2026 · measured from GitHub, npm and PyPI
Neon ranks first on documentation, activity and stars, and it is published by neondatabase.
View serverPostgres MCP servers compared
- Transport
- remote
- Tools
- 51
- Language
- TypeScript
- Transport
- stdio
- Tools
- —
- Language
- —
- Transport
- stdio
- Tools
- —
- Language
- JavaScript
- Transport
- remote
- Tools
- —
- Language
- JavaScript
- Transport
- remote
- Tools
- 1
- Language
- Go
- Transport
- remote
- Tools
- 1
- Language
- Go
- Transport
- stdio
- Tools
- —
- Language
- Rust
- Transport
- stdio
- Tools
- 3
- Language
- Go
- Transport
- remote
- Tools
- —
- Language
- TypeScript
- Transport
- remote
- Tools
- —
- Language
- TypeScript
- Transport
- remote
- Tools
- —
- Language
- TypeScript
- Transport
- remote
- Tools
- —
- Language
- TypeScript
| Server | Transport | Tools | Language | Stars | Downloads, 30d | Install |
|---|---|---|---|---|---|---|
| remote | 51 | TypeScript | 663 | — | Install | |
| stdio | — | — | 86 | — | Install | |
| stdio | — | JavaScript | 366 | 359 | Install | |
| remote | — | JavaScript | 66 | — | Install | |
| remote | 1 | Go | 16.9K | — | Install | |
| remote | 1 | Go | 16.9K | — | Install | |
| stdio | — | Rust | 30.3K | 36.5K | Install | |
| stdio | 3 | Go | 3.2K | — | Install | |
| remote | — | TypeScript | 10.6K | — | Install | |
| remote | — | TypeScript | 7.7K | — | Install | |
| remote | — | TypeScript | 7.7K | — | Install | |
| remote | — | TypeScript | 7.7K | — | Install |
Install Neon
$ claude mcp add --transport http mcp-server-neon https://mcp.neon.tech/mcp~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server-neon": {
"url": "https://mcp.neon.tech/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"mcp-server-neon": {
"type": "http",
"url": "https://mcp.neon.tech/mcp"
}
}
}~/.codex/config.toml
[mcp_servers.mcp-server-neon] url = "https://mcp.neon.tech/mcp"
~/.gemini/settings.json
{
"mcpServers": {
"mcp-server-neon": {
"httpUrl": "https://mcp.neon.tech/mcp"
}
}
}All Postgres MCP servers
Lets an AI client create and manage Neon Postgres projects, branches, and schema, and run SQL queries using natural language.
$claude mcp add --transport http mcp-server-neon https://mcp.neon.tech/mcpLets AI coding agents query, modify, and inspect PostgreSQL databases, manage connection profiles, and diagnose performance.
$claude mcp add postgres-mcp -- npx -y @microsoft/postgres-mcpAllows AI agents to query and explore over 100 different databases using existing DBCode connections.
$claude mcp add dbcode -- npx -y @dbcode/mcpConnects AI clients to productivity tools like Notion, Monday, Airtable, and Jira through a secure integration hub.
$claude mcp add --transport http postgres https://waystation.ai/postgres/mcpConnects AI agents and IDEs to enterprise databases using prebuilt tools or a custom framework for secure, structured queries.
$claude mcp add genai-toolbox -- docker run -i --rm us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:0.31.0Connects AI agents and IDEs to enterprise databases using prebuilt tools or a custom framework for secure, structured queries.
$claude mcp add mcp-toolbox -- docker run -i --rm us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:1.17.0Allows AI agents to query over 100 different databases using pre-configured connections.
$claude mcp add dbx -- npx -y @dbx-app/mcp-serverProvides a governed graph over databases, APIs, files, and code to allow AI agents to discover, validate, and execute tasks through GraphQL and MCP.
$claude mcp add graphjin -- npx -y graphjinAn engine and framework for building industry-specific news sites that use AI to curate, summarize, and cluster hot topics from various sources.
$claude mcp add --transport http aihot https://aihot.news/api/mcpLets an AI client answer questions from a cited company knowledge base built from Slack, meetings, transcripts, and decisions.
$claude mcp add --transport http agent-native-brain https://brain.agent-native.com/mcpLets an AI agent run shared actions and chat with users in a chat-first app with durable threads.
$claude mcp add --transport http agent-native-chat https://starter.agent-native.com/mcpLets an AI client edit local MDX documents and run shared actions through a purpose-built agent UI.
$claude mcp add --transport http agent-native-content https://content.agent-native.com/mcpLets an AI client define actions once and use them as tools to build and edit visual designs and agent-powered apps.
$claude mcp add --transport http agent-native-design https://design.agent-native.com/mcpLets an AI client expose and run agent actions, delegate to specialist agents, and manage chat, memory, and automations from one framework.
$claude mcp add --transport http agent-native-dispatch https://dispatch.agent-native.com/mcpLets an AI client create, edit, and manage dynamic forms through a shared action layer.
$claude mcp add --transport http agent-native-forms https://forms.agent-native.com/mcpOperate Tencent CloudBase environments including databases, functions, storage, and hosting via the Model Context Protocol.
$claude mcp add cloudbase-mcp -- npx -y @cloudbase/cloudbase-mcpProvides long-term persistent memory for AI coding agents using a knowledge graph with hybrid search and procedural memory.
$claude mcp add cuba-memorys -- npx -y cuba-memorysProvides shared graph-based memory for AI agents using a local Postgres database to store and recall facts without calling an LLM for writes.
$claude mcp add echo-mem -- uvx echo-memLets an AI agent read the ledger, raise and post invoices, match payments, and prepare VAT returns on your own Postgres books.
$claude mcp add mcp -- npx -y @ekwo-ai/mcpProvides runtime observability for AI agents by acting as a transparent proxy to track sessions, costs, and loop execution.
$claude mcp add agenticledger -- uvx agentic-ledgerProvides a persistent local-first memory layer for AI applications using Postgres and pgvector with hybrid semantic and keyword search.
$claude mcp add memory-vault -- docker run -i --rm ghcr.io/mihaibuilds/memory-vault-mcp:1.6.1Provides a persistent memory system for AI assistants to store and recall knowledge using local SQLite or PostgreSQL backends.
$claude mcp add ai-memory-mcp -- docker run -i --rm ghcr.io/alphaonedev/ai-memory:0.5.1Manage PostgreSQL, Apache Kafka, and other Aiven cloud services directly through an AI assistant.
$claude mcp add mcp-aiven -- npx -y mcp-aivenLets an AI client run read-only SQL queries and inspect schemas, tables, and columns in a PostgreSQL database, with optional write access.
$claude mcp add mcp-postgres-server -- npx -y mcp-postgres-serverLets an AI coding assistant query analyzed AWS, database, and IaC infrastructure context to answer questions about your real services.
$claude mcp add infrawise -- npx -y infrawiseProvides read-only access to PostgreSQL, MySQL, and ClickHouse for exploratory data analysis and statistical profiling.
$claude mcp add db-connect-mcp -- uvx db-connect-mcpAllows an AI agent to manage hosting services including GitHub app deployments, PostgreSQL databases, domains, mail, and billing.
$claude mcp add ohmyhost-mcp -- npx -y @amerged/ohmyhost-mcpLets an AI client research markets, build and backtest Python trading strategies, and run paper or live multi-asset execution.
Enables AI agents and automation to manage high-performance job queues using SQLite or PostgreSQL without requiring Redis.
$claude mcp add bunqueue -- npx -y bunqueueEnables AI clients to execute SQL queries, perform hybrid searches, and analyze schemas using natural language against PostgreSQL databases.
$claude mcp add pgedge-postgres-mcp -- docker run -i --rm ghcr.io/pgedge/postgres-mcp:latestProvides a PostgreSQL-native knowledge base for AI agents to read and write documents, tables, files, and a URI graph using hybrid search.
$claude mcp add akb -- npx -y akb-mcpLets an AI client manage a Postgres backend by executing migrations, querying schemas, and performing governed database operations.
$claude mcp add backenly -- npx -y @backenly/mcp-serverLets an AI agent provision Postgres, auth, storage, serverless functions and site hosting through MCP tools and pay per call.
$claude mcp add run402 -- npx -y run402-mcpLets an AI client query personal finances, track budgets, and analyze spending through an MCP server.
$claude mcp add ledgr -- docker run -i --rm ghcr.io/kentaniguchi-r/ledgr:0.3.4Reduces text-to-SQL token usage by selecting only identity-authorized tables for the LLM prompt.
$claude mcp add schemagate -- uvx schemagateConnects AI clients to multiple database engines by reusing DBeaver connections and providing native driver support.
$claude mcp add omnisql-mcp -- npx -y omnisql-mcpEnables LLMs to manage Heroku resources including applications, dynos, add-ons, pipelines, and PostgreSQL databases via natural language.
$claude mcp add heroku-mcp-server -- npx -y @heroku/mcp-serverLets an AI assistant manage Rebase schemas, databases, documents, users, and development server tools via the Model Context Protocol.
$claude mcp add rebase -- npx -y @rebasepro/mcpA diverse collection of MCP servers that enable AI assistants to interact with AWS, Datadog, Google Workspace, databases, and multi-agent coordination systems.
$claude mcp add arvore-mcp-servers -- npx -y @arvoretech/posthog-mcpAllows an AI client to query, edit, and reconcile a hosted Beancount plain-text accounting ledger using BQL and reports.
$claude mcp add --transport http beancount https://beancount.io/api-gateway/mcpProvides a shared decision memory and governance layer for AI agents to prevent them from repeating previously rejected approaches.
$claude mcp add robrain -- npx -y robrainProvides a durable memory layer for AI agents using a temporal knowledge graph and hybrid retrieval via SQLite or PostgreSQL.
$claude mcp add engram-server -- docker run -i --rm ghcr.io/jamjet-labs/engram-server:0.5.0Deploy and run applications directly from your coding agent without managing dashboards, Dockerfiles, or YAML configurations.
$claude mcp add antideploy-mcp -- npx -y antideploy-mcpProvides lineage-aware agent memory governance on PostgreSQL and pgvector using row-level security to prevent unauthorized data derivation leaks.
$claude mcp add amu-pgvector -- uvx amu-pgvectorLets an AI agent store, organize, and recall persistent long-term memories as a versioned URI graph across sessions and models.
Turns any SQL database into a governed REST API and MCP server so AI clients can browse schemas and query or modify data.
$claude mcp add faucet -- npx -y @faucetdb/faucetAllows an AI agent to read self-hosted health data including sleep, workouts, nutrition, and daily summaries through a unified API.
$claude mcp add open-health-sync -- docker run -i --rm ghcr.io/soma-intelligence/open-health-sync:0.2.0Lets an AI client connect to MySQL, MariaDB, PostgreSQL, or SQLite to discover schemas, run queries, and manage tables.
$claude mcp add database -- docker run -i --rm ghcr.io/haymon-ai/database:0.7.0Lets an AI client explore and query MySQL, MariaDB, PostgreSQL, and SQLite databases with PII redaction and read-only defaults.
$claude mcp add dbmcp -- docker run -i --rm ghcr.io/haymon-ai/dbmcp:0.18.1Provides persistent, AES-256-GCM encrypted memory infrastructure for AI agents to enable cross-session and cross-agent context recall.
$claude mcp add synapse-secure-memory -- uvx synapse-layerPostgres MCP questions
What is the best Postgres MCP server?
Neon ranks first among Postgres MCP servers on HostedMCP by documentation, activity, stars and downloads, followed by Postgres by microsoft, DBCode.
Is there an official Postgres MCP server?
Yes: Neon (neondatabase/mcp-server-neon), Postgres by microsoft (microsoft/postgres-mcp), DBCode (dbcodeio/dbcode), Postgres by waystation-ai (waystation-ai/postgres).
Which Postgres MCP servers work remotely?
23 servers can run as a remote (HTTP) server, including Neon, Postgres by waystation-ai, MCP Toolbox for Databases by googleapis, MCP Toolbox for Databases by googleapis.
How do I install a Postgres MCP server in Claude Code?
For Neon, run `claude mcp add --transport http mcp-server-neon https://mcp.neon.tech/mcp`. Each server page has the config for Cursor, VS Code, Codex and Claude Desktop.