20 Best PostgreSQL MCP Servers, Compared (December 2026)
The short answer
For most developers who need one PostgreSQL MCP server installed today, reach for Postgres MCP (crystaldba/postgres-mcp): it exposes 9 tools with a tool description grade of A, had a commit 0 days ago, and is aimed at index analysis, EXPLAIN plan review, database health checks, and configurable safe SQL execution. It is a Community favourite, and it had 8 commits in the last 12 weeks. If your job is simply running SQL and searching schema objects from an MCP client, DBHub is the better fit: it exposes execute_sql and search_objects with read-only mode and query timeout, has 2 tools with a tool description grade of B, and had 162 commits in the last 12 weeks.
Whichever you choose, give it the narrowest access that still works (a read-only credential, a replica, a scratch account), and widen it only once you have watched what your agent actually asks for.
Glama operates the MCP registry these numbers are measured from, and sells MCP hosting and a gateway. No position on this page is paid for. How the registry is built.
Quick picks
- 1Postgres MCP : Production PostgreSQL tuning and maintenance: it exposes index analysis, EXPLAIN plan review, database health checks, and configurable safe SQL execution.
- 2pg-aiguide : Writing PostgreSQL schema and query code with an AI agent: it offers semantic search over the official PostgreSQL manual plus curated best-practice skills.
- 3DBHub : Running SQL and searching schema objects against PostgreSQL from an MCP client: it exposes execute_sql and search_objects with read-only mode and query timeout.
- 4pgEdge Postgres MCP Server : Internal developer workflows needing natural-language SQL against PostgreSQL: it includes an agent that forms SQL queries from natural language.
- 5Prisma MCP Server : Prisma 8 PostgreSQL projects using Claude Code, Cursor, or Copilot Agent: the README documents `prisma orm init` and `prisma skills sync` to install agent skills.
Which one, for your situation
| Your situation | What to use |
|---|---|
| I need production tuning, EXPLAIN review, and safe SQL | Use Postgres MCP (crystaldba/postgres-mcp); it exposes 9 tools with a tool description grade of A and had a commit 0 days ago. |
| I want simple SQL execution and schema search | Use DBHub; it exposes execute_sql and search_objects with read-only mode and query timeout, and it had 162 commits in the last 12 weeks. |
| I need read-only queries over RDS, Neon, or Supabase | Use MCP PostgreSQL Server (antonorlov/mcp-postgres-server); it provides query and schema inspection tools, defaults to read-only access, and had a commit 74 days ago. |
| I need read-only monitoring for locks, bloat, and VACUUM | Use MCP PostgreSQL Operations; it exposes 37 tools and no write tools, has a tool description grade of A, and had a commit 7 days ago. |
| I need governed CRUD with per-table access control | Use Faucet; it exposes 8 tools for schema discovery, querying, inserting, updating, deleting, and raw SQL with per-table role-based access, and had a commit 42 days ago. |
Top MCP servers for PostgreSQL
| Profile | |||||||
|---|---|---|---|---|---|---|---|
| 1 | Community favourite | 3,504 | +61 | – | today | 82.4 | |
| 2 | Community favourite | 1,889 | +7 | 84 | 17 days ago | 77.9 | |
| 3 | Community favourite | 4,023 | +300 | – | 5 days ago | 71.7 | |
| 4 | Steady | 250 | +7 | – | 13 days ago | 71.6 | |
| 5 | Community favourite | 47,807 | +211 | – | today | 68.7 | |
| 6 | Steady | 164 | 0 | – | 7 days ago | 64.1 | |
| 7 | Abandoned but popular | 204 | +1 | 1.9K | 159 days ago | 64.1 | |
| 8 | Community favourite | 3,034 | +5 | – | today | 60.2 | |
| 9 | Community favourite | 31,833 | +3,331 | – | today | 56.7 | |
| 10 | Steady | 177 | +10 | – | 42 days ago | 56.4 | |
| 11 | Community favourite | 16,976 | +230 | – | 2 days ago | 53.9 | |
| 12 | Community favourite | 9,399 | +29 | – | 2 days ago | 52.3 | |
| 13 | Community favourite | 25 | +1 | 1.3K | 74 days ago | 51.8 | |
| 14 | Steady | 12 | +3 | 2.2K | today | 50.7 | |
| 15 | Community favourite | 372 | +10 | – | 10 days ago | 50.6 | |
| 16 | Community favourite | 5,071 | +29 | – | today | 50.3 | |
| 17 | Steady | 173 | – | – | yesterday | 50.1 | |
| 18 | Community favourite | 771 | – | – | yesterday | 49.4 | |
| 19 | Emerging | 103 | +16 | – | 2 days ago | 49.4 | |
| 20 | Abandoned but popular | 945 | +3 | 105 | 257 days ago | 48.9 |
The ranking, with the evidence
Best for: Production PostgreSQL tuning and maintenance: it exposes index analysis, EXPLAIN plan review, database health checks, and configurable safe SQL execution.
The server exposes nine tools for schema inspection, object details, EXPLAIN plans, index analysis, database health checks, slow-query reporting, and SQL execution. Its SSE and Streamable HTTP transports have no authentication.
Score 82.4: show every number behind it
- Adoption89 / 100 · weight 40%
- GitHub stars89
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance82 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade55
- Commit cadence65
- Momentum61 / 100 · weight 14%
- Stars gained, relative to size53
- Stars gained, absolute72
- npm download trendnot measuredno download history for the selected registry
- Tool quality76 / 100 · weight 13%
- Tool description quality68
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 82.4
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 82.4
Best for: Writing PostgreSQL schema and query code with an AI agent: it offers semantic search over the official PostgreSQL manual plus curated best-practice skills.
The README documents a hosted MCP endpoint at mcp.tigerdata.com/docs that serves semantic search across the PostgreSQL, TimescaleDB and PostGIS documentation, alongside agent skills installed through npx skills for Postgres best practices and schema exploration. The MCP side is a remote HTTP service on TigerData's domain rather than a local package, so installation means registering a URL or adding a skill, not running a process against the reader's own database.
Score 77.9: show every number behind it
- Adoption85 / 100 · weight 40%
- GitHub stars82
- npm downloads21downloads show none of the weekday rhythm human traffic has; halved
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance92 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade80
- Commit cadence85
- Momentum29 / 100 · weight 14%
- Stars gained, relative to size24
- Stars gained, absolute37
- npm download trend29
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integrates100
- Weighted mean of the five
- 77.9
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 77.9
Best for: Running SQL and searching schema objects against PostgreSQL from an MCP client: it exposes execute_sql and search_objects with read-only mode and query timeout.
DBHub exposes two tools, execute_sql and search_objects, for running SQL queries and searching database objects, and its README documents PostgreSQL as one of several supported database systems. Before choosing it, note that read-only mode is a guardrail rather than a permission boundary, so a least-privilege, read-only database user is required.
Score 71.7: show every number behind it
- Adoption90 / 100 · weight 40%
- GitHub stars90
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance100 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence100
- Momentum100 / 100 · weight 14%
- Stars gained, relative to size100
- Stars gained, absolute100
- npm download trendnot measuredno download history for the selected registry
- Tool quality68 / 100 · weight 13%
- Tool description quality60
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 91.9
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 71.7
Best for: Internal developer workflows needing natural-language SQL against PostgreSQL: it includes an agent that forms SQL queries from natural language.
The pgEdge Postgres MCP Server enables SQL queries against PostgreSQL databases through MCP-compatible clients and includes a natural language agent for forming SQL queries. It is intended only for internal tools, developer workflows, or environments where all users are trusted, because it provides LLMs with read access to the entire database schema and data.
Score 71.6: show every number behind it
- Adoption60 / 100 · weight 40%
- GitHub stars60
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance97 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence85
- Momentum47 / 100 · weight 14%
- Stars gained, relative to size54
- Stars gained, absolute36
- npm download trendnot measuredno download history for the selected registry
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integrates100
- Weighted mean of the five
- 71.6
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 71.6
- 5prisma/orm ↗
Prisma MCP Server
Community favouriteBest for: Prisma 8 PostgreSQL projects using Claude Code, Cursor, or Copilot Agent: the README documents `prisma orm init` and `prisma skills sync` to install agent skills.
No tool list is available; the README documents Prisma 8 ORM setup,
prisma orm init, and agent skill installation viaprisma skills sync. There is no published npm package and the tool set is not measured, so check installation and exposed tools before adopting it as an MCP server.Score 68.7: show every number behind it
- Adoption100 / 100 · weight 40%
- GitHub stars100
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance95 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade80
- Commit cadence100
- Momentum54 / 100 · weight 14%
- Stars gained, relative to size27
- Stars gained, absolute94
- npm download trendnot measuredno download history for the selected registry
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integrates100
- Weighted mean of the five
- 88.1
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 68.7
Best for: Read-only PostgreSQL observability for slow queries, locks, bloat, VACUUM, indexes, replication, WAL, or capacity: it exposes 37 predefined monitoring tools and no write tools.
MCP PostgreSQL Operations exposes 37 read-only tools for PostgreSQL monitoring, including locks, WAL, replication, schema, query statistics, sizes, indexes, VACUUM, bloat, and I/O, with version-specific views detected automatically. Its query analytics depend on the pg_stat_statements or pg_stat_monitor extensions, while core monitoring works without extensions.
Score 64.1: show every number behind it
- Adoption55 / 100 · weight 40%
- GitHub stars55
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance95 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade80
- Commit cadence100
- Momentum0 / 100 · weight 14%
- Stars gained, relative to size0
- Stars gained, absolute0
- npm download trendnot measuredno download history for the selected registry
- Tool quality78 / 100 · weight 13%
- Tool description quality70
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 64.1
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 64.1
Best for: Administering PostgreSQL schema, users, indexes, and triggers from an MCP client: it exposes 18 tools for those operations plus query analysis and monitoring.
The server exposes 18 MCP tools for PostgreSQL schema, function, trigger, index, constraint, RLS, user, query, mutation, SQL, comment, import/export, copy, and monitoring operations. It starts in readonly mode by default, so mutations, DDL, role administration, filesystem import/export, and arbitrary SQL require explicit security-mode flags, and destructive operations also require --allow-destructive.
Score 64.1: show every number behind it
- Adoption79 / 100 · weight 40%
- GitHub stars58
- npm downloads70
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance46 / 100 · weight 24%
- Last commit touching this server68
- Repository maintenance grade30
- Commit cadence5
- Momentum32 / 100 · weight 14%
- Stars gained, relative to size24
- Stars gained, absolute14
- npm download trend66
- Tool quality63 / 100 · weight 13%
- Tool description quality55
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 64.1
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 64.1
- 8butterbase-ai/butterbase ↗
butterbase
Community favouriteBest for: Teams self-hosting a Butterbase Postgres backend that want agents to operate auth, storage, functions, realtime, KV, AI gateway, and RAG over its built-in MCP server.
Butterbase documents a built-in MCP server for operating its self-hosted backend, with HTTP access at /mcp or stdio via npx @butterbase/mcp, and the broader project covers Postgres with RLS, auth, file storage, TypeScript functions, durable objects, realtime, KV, an AI gateway, and RAG. Before choosing it, note that its exposed MCP tools have not been inspected and no npm package is listed as published, so the npx/stdio route requires confirming that package is available.
Score 60.2: show every number behind it
- Adoption87 / 100 · weight 40%
- GitHub stars87
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance89 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade55
- Commit cadence100
- Momentum23 / 100 · weight 14%
- Stars gained, relative to size17
- Stars gained, absolute33
- npm download trendnot measuredno download history for the selected registry
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integrates100
- Weighted mean of the five
- 77.2
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 60.2
Best for: Managing many database types through MCP: its README documents a database manager with an MCP server for natural-language queries and database management.
The server is the MCP component of DBX, a database manager that its description says enables natural-language queries and database management through MCP. Its MCP tool inventory has not been inspected, so the specific database operations it exposes cannot be confirmed before installation.
Score 56.7: show every number behind it
- Adoption100 / 100 · weight 40%
- GitHub stars100
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance95 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade80
- Commit cadence100
- Momentum100 / 100 · weight 14%
- Stars gained, relative to size100
- Stars gained, absolute100
- npm download trendnot measuredno download history for the selected registry
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 94.5
- × relevance: the keyword is tagged here
- 0.60
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 56.7
Best for: Governed CRUD access to PostgreSQL for AI agents: it exposes eight MCP tools for schema discovery, querying, inserting, updating, deleting, and raw SQL.
Faucet connects to SQL databases, introspects their schemas, and exposes REST endpoints, OpenAPI documentation, an admin UI, and an MCP server whose eight tools cover service and table listing, schema description, querying, inserting, updating, deleting, and raw SQL. Raw SQL access is not universal: the faucet_raw_sql tool works only for services configured with raw_sql_allowed enabled.
Score 56.4: show every number behind it
- Adoption56 / 100 · weight 40%
- GitHub stars56
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance88 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade80
- Commit cadence65
- Momentum59 / 100 · weight 14%
- Stars gained, relative to size71
- Stars gained, absolute41
- npm download trendnot measuredno download history for the selected registry
- Tool quality88 / 100 · weight 13%
- Tool description quality80
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 72.3
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 56.4
- 11googleapis/mcp-toolbox ↗
MCP Toolbox for Databases
Community favouriteBest for: Connecting an MCP client such as Claude Code to PostgreSQL: the README documents a prebuilt mode run via npx that exposes generic SQL tools.
MCP Toolbox for Databases connects an MCP client to PostgreSQL and other databases, with a prebuilt mode that loads generic schema and SQL tools (the README names list_tables and execute_sql) alongside a framework for defining custom query tools with restricted access. Its quick start invokes an npx package (@toolbox-sdk/server) that was not found published at publication, so the prebuilt route has no confirmed install path and the server may need to be run from source instead.
Score 53.9: show every number behind it
- Adoption100 / 100 · weight 40%
- GitHub stars100
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance95 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade80
- Commit cadence100
- Momentum67 / 100 · weight 14%
- Stars gained, relative to size48
- Stars gained, absolute95
- npm download trendnot measuredno download history for the selected registry
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 89.8
- × relevance: the keyword is tagged here
- 0.60
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 53.9
- 12nhost/nhost ↗
Nhost
Community favouriteBest for: Local Nhost development with an AI coding assistant: it bundles six MCP tools for schema, GraphQL queries, metadata and migrations, and docs.
The Nhost MCP server is built into the Nhost CLI and exposes six tools for fetching a GraphQL schema, running GraphQL queries and mutations, querying GraphQL management endpoints for metadata, migrations, permissions, and remote schemas, and searching and reading Nhost documentation. It depends on the Nhost CLI and an Nhost project, and its schema, query, and management tools target Nhost Cloud or local Nhost development.
Score 52.3: show every number behind it
- Adoption99 / 100 · weight 40%
- GitHub stars99
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance100 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence100
- Momentum37 / 100 · weight 14%
- Stars gained, relative to size22
- Stars gained, absolute59
- npm download trendnot measuredno download history for the selected registry
- Tool quality71 / 100 · weight 13%
- Tool description quality63
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integrates100
- Weighted mean of the five
- 87.2
- × relevance: the keyword is tagged here
- 0.60
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 52.3
- 13antonorlov/mcp-postgres-server ↗
MCP PostgreSQL Server
Community favouriteBest for: Read-only querying of local, Docker, RDS, Neon, Supabase, or SSH-bastioned PostgreSQL: it provides query and schema inspection tools and defaults to read-only access.
MCP PostgreSQL Server is a Node.js stdio MCP server that connects through DATABASE_URL or individual PG_* environment variables and exposes query, list_schemas, list_tables, and describe_table, plus an execute tool that refuses writes unless PG_ALLOW_WRITE is true. It requires Node.js 20 or newer.
Score 51.8: show every number behind it
- Adoption66 / 100 · weight 40%
- GitHub stars35
- npm downloads60downloads capped: not corroborated by repository audience
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance85 / 100 · weight 24%
- Last commit touching this server88
- Repository maintenance grade80
- Commit cadence85
- Momentum41 / 100 · weight 14%
- Stars gained, relative to size37
- Stars gained, absolute16
- npm download trend79
- Tool quality96 / 100 · weight 13%
- Tool description quality88
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 74.0
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: small audience
- 0.70
- Composite score
- 51.8
- 14
Best for: Diagnosing PostgreSQL performance from an MCP client: it exposes EXPLAIN, index-advisor, health, lock, bloat, and unused-index tools.
It exposes 23 tools for querying and managing PostgreSQL from MCP clients, covering read-only query execution, schema and table introspection, EXPLAIN plans, health checks, index advice, locks, and table bloat. The DATABASE_URL role is the security boundary, and writes require ALLOW_WRITES=1 while pg_readonly remains read-only regardless.
Score 50.7: show every number behind it
- Adoption57 / 100 · weight 40%
- GitHub stars28
- npm downloads53downloads capped: not corroborated by repository audience
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance95 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade80
- Commit cadence100
- Momentum46 / 100 · weight 14%
- Stars gained, relative to size51
- Stars gained, absolute22
- npm download trend65
- Tool quality88 / 100 · weight 13%
- Tool description quality80
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 72.4
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: small audience
- 0.70
- Composite score
- 50.7
- 15dbcodeio/public ↗
DBCode
Community favouriteBest for: Already using VS Code for PostgreSQL: DBCode can run an MCP server over existing connections with per-connection AI permissions.
DBCode is a VS Code extension whose built-in MCP server gives agents access to existing database connections, including PostgreSQL, for schemas and query execution. It is installed as a VS Code extension from Marketplace or OpenVSX, with no npm package published and no PyPI package attributed.
Score 50.6: show every number behind it
- Adoption64 / 100 · weight 40%
- GitHub stars64
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance97 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence85
- Momentum51 / 100 · weight 14%
- Stars gained, relative to size57
- Stars gained, absolute42
- npm download trendnot measuredno download history for the selected registry
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust0 / 100 · weight 9%
- License0
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 64.9
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 50.6
Best for: Managing a self-hosted PostgreSQL database with an AI assistant: WhoDB CLI provides an MCP server and terminal interface, with PostgreSQL listed among supported databases.
WhoDB CLI provides a terminal interface and an MCP server for database management, exposing 179 tools for setup guidance and hosted platform actions across datasets, ontologies, apps, bundles, and AI sessions. Before choosing it, note that no npm or PyPI package is published, so installation follows the repository's CLI path, and many listed tools target hosted WhoDB platform resources rather than PostgreSQL alone.
Score 50.3: show every number behind it
- Adoption93 / 100 · weight 40%
- GitHub stars93
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance100 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence100
- Momentum42 / 100 · weight 14%
- Stars gained, relative to size30
- Stars gained, absolute59
- npm download trendnot measuredno download history for the selected registry
- Tool quality61 / 100 · weight 13%
- Tool description quality53
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integrates100
- Weighted mean of the five
- 83.8
- × relevance: the keyword is tagged here
- 0.60
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 50.3
- 17
Best for: Multiple agents across devices needing shared, self-hosted long-term memory: it documents remember and recall calls stored in PostgreSQL.
AnchorMind runs as a self-hosted HTTP MCP server that an agent registers as an endpoint, storing and retrieving short memory fragments through recall and remember calls backed by PostgreSQL, with context pulled at session start. It assumes a Node.js 22+ runtime and a PostgreSQL instance with the pgvector extension, and without an embedding provider configured, natural-language text queries return no results.
Score 50.1: show every number behind it
- Adoption56 / 100 · weight 40%
- GitHub stars56
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance100 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence100
- Momentum≈0 / 100 · weight 14%
- Stars gained, relative to sizenot measuredno snapshot history yet
- Stars gained, absolutenot measuredno snapshot history yet
- npm download trendnot measuredno download history for the selected registry
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 64.2
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 50.1
Best for: Agents that lose context between sessions: it stores episodes, facts, and relationships in Postgres with vector search and consolidates them in the background.
Stash ships as a Docker Compose stack (Postgres with pgvector, migrations, and an MCP server over SSE at localhost:8080/sse) that an agent initializes, writes episodes and facts to, and recalls from across sessions, with a background pipeline consolidating stored material into facts and relationships. It is self-hosted and assumes its own infrastructure: the environment file must be configured with an embeddings model, a chat-capable reasoning model, and an OpenAI-compatible base URL and API key, unless those are pointed at a local Ollama instance.
Score 49.4: show every number behind it
- Adoption72 / 100 · weight 40%
- GitHub stars72
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance70 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade55
- Commit cadence5
- Momentum≈0 / 100 · weight 14%
- Stars gained, relative to sizenot measuredno snapshot history yet
- Stars gained, absolutenot measuredno snapshot history yet
- npm download trendnot measuredno download history for the selected registry
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 63.3
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 49.4
Best for: Teams needing agents to read and write a self-hosted markdown wiki rather than query PostgreSQL: it exposes 50 tools for pages, spaces, comments, and search.
tela is a self-hostable, markdown-native team wiki with a built-in MCP server that exposes 50 tools for searching, reading, creating, patching, moving, and commenting on pages and spaces, plus Atlas documentation-generation tools. It is not a PostgreSQL query or schema-inspection server: its tools operate on wiki spaces, pages, attachments, comments, and Atlas projects, so arbitrary SQL access is out of scope.
Score 49.4: show every number behind it
- Adoption50 / 100 · weight 40%
- GitHub stars50
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance100 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence100
- Momentum80 / 100 · weight 14%
- Stars gained, relative to size100
- Stars gained, absolute49
- npm download trendnot measuredno download history for the selected registry
- Tool quality78 / 100 · weight 13%
- Tool description quality70
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 74.5
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: modest but real audience
- 0.85
- Composite score
- 49.4
Best for: Read-only natural-language querying of a PostgreSQL database: it starts in a read-only mode by default, which blocks accidental data modifications.
Universal DB MCP is a Node.js package that runs as an MCP server over stdio or over an HTTP mode exposing SSE and Streamable HTTP endpoints, and it connects AI clients such as Claude Desktop or Cursor to PostgreSQL, MySQL, Redis and other databases. Before choosing it, note that each configured instance is pointed at a single database through connection flags such as type, host, port, user and database, and that it assumes a Node.js runtime of at least version 20.
Score 48.9: show every number behind it
- Adoption81 / 100 · weight 40%
- GitHub stars74
- npm downloads43
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance32 / 100 · weight 24%
- Last commit touching this server42
- Repository maintenance grade30
- Commit cadence5
- Momentum36 / 100 · weight 14%
- Stars gained, relative to size20
- Stars gained, absolute22
- npm download trend81
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 62.7
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 48.9
Questions people ask
How do I choose between Postgres MCP (crystaldba/postgres-mcp) and DBHub?
Choose Postgres MCP (crystaldba/postgres-mcp) when you need index analysis, EXPLAIN plan review, database health checks, and configurable safe SQL execution; it exposes 9 tools with a tool description grade of A and had a commit 0 days ago. Choose DBHub when you mainly need to run SQL and search schema objects from an MCP client; it exposes execute_sql and search_objects with read-only mode and query timeout, has 2 tools with a tool description grade of B, and had 162 commits in the last 12 weeks.
Which server should I use for read-only querying?
MCP PostgreSQL Server (antonorlov/mcp-postgres-server) is the direct fit: it provides query and schema inspection tools, defaults to read-only access, exposes 5 tools with a tool description grade of A, and its npm package had 1,320 downloads in a typical week. Universal DB MCP also starts in a read-only mode by default, but it had a commit 257 days ago and 0 commits in the last 12 weeks.
Is DBHub enough for production tuning?
DBHub is described for running SQL and searching schema objects, with execute_sql and search_objects, read-only mode, and query timeout. Its entry lists 2 tools and a tool description grade of B. For index analysis, EXPLAIN plan review, and database health checks, Postgres MCP (crystaldba/postgres-mcp) is the closer match, with 9 tools and a tool description grade of A.
What should I use if I need an agent to write data safely?
Faucet is the explicit governed CRUD option: it exposes 8 tools for schema discovery, querying, inserting, updating, deleting, and raw SQL, with API keys and per-table role-based access. Postgres MCP (crystaldba/postgres-mcp) also lists configurable safe SQL execution and 9 tools with a tool description grade of A. If you only need reads, MCP PostgreSQL Server (antonorlov/mcp-postgres-server) defaults to read-only access.
Other comparisons
- Best Figma MCP servers
- Best Obsidian MCP servers
- Best YouTube MCP servers
- Best Jira MCP servers
- Best MySQL MCP servers
- Best GitHub MCP servers
- Best Slack MCP servers
- Best Notion MCP servers
- Best Linear MCP servers
- Best Discord MCP servers
- Best MongoDB MCP servers
- Best CRM MCP servers
- Best Payments MCP servers
- Best Ecommerce MCP servers
- Best Social Media MCP servers
- Best Browser Automation MCP servers
- Best CMS MCP servers
- Best Email MCP servers
- Best PDF MCP servers
- Best Kubernetes MCP servers
- Best Docker MCP servers
- Best AWS MCP servers
- Best Spreadsheets MCP servers
- Best SEO MCP servers
- Best Web Search MCP servers
- Best Web Scraping MCP servers
- Best Vector Database MCP servers
- Best Code Execution MCP servers
- Best Calendar MCP servers
- Best Observability MCP servers
- Best Image Generation MCP servers
- Best Speech & Transcription MCP servers
- Best Maps MCP servers
- Best Travel MCP servers
- Best Stock Market MCP servers
- Best Web Analytics MCP servers
- Best Memory MCP servers
- Best Documentation MCP servers
- Best Security MCP servers