Google PageRank for AI agents. 25,000+ tools indexed.

Best MCP Servers for PostgreSQL in 2026

452 tools indexed · avg score 85.9 · sorted by AgentRank score

The AgentRank index tracks 452 postgresql tools. The top-ranked entry is erikdarlingdata/PerformanceMonitor at 97.3 points. Across the 10 shown here, the average AgentRank score is 85.9, and 10 had a commit in the last 30 days. The most common primary language is C#.

PostgreSQL MCP servers give AI agents structured query access to Postgres databases. They let agents run SQL, inspect schemas, and manage data with type-safe results.

Top 10 PostgreSQL MCP Servers

  1. #1
    erikdarlingdata/PerformanceMonitor

    Free, open-source SQL Server and Postgres performance monitoring. Collectors, real-time alerts, graphical plan viewer, MCP server for AI analysis. Supports SQL 2016-2025, Azure SQL, AWS RDS, Postgr...

    97.3
    Ranks here on 518 GitHub stars and a commit within the last week, plus 99% of issues closed.
    Freshness
    30.8
    Issue health
    30.4
    Stars
    13.9
    Contributors
    11.5
    Description
    6.2
    ★ 518 commit today C#
  2. #2
    pgEdge/pgedge-postgres-mcp

    pgEdge MCP Server. A PostgreSQL MCP server with a Natural Language Agent CLI and Web UI.

    88.3
    Ranks here on 234 GitHub stars and an active commit 14 days ago, plus 93% of issues closed.
    Issue health
    28.8
    Freshness
    28.0
    Stars
    12.2
    Contributors
    12.1
    Description
    4.3
    ★ 234 commit 14d ago Go
  3. #3
    Deodat-Lawson/LaunchStack

    AI-powered StartUp Accelerator Engine built with Next.js, LangChain, PostgreSQL + pgvector. Upload, organize, and chat with documents. Includes predictive missing-document detection, role-based wor...

    88.2
    Ranks here on 890 GitHub stars and a commit within the last week.
    Freshness
    30.8
    Issue health
    19.2
    Stars
    15.1
    Contributors
    12.3
    Description
    6.2
    ★ 890 commit 1d ago TypeScript
  4. #4
    dbcodeio/public

    The database IDE for VS Code, Cursor, and Windsurf. 80+ databases: Postgres, MySQL, SQL Server, MongoDB, Snowflake, and more. AI queries, ER diagrams, SQL notebooks.

    87.2
    Ranks here on 355 GitHub stars and an active commit 9 days ago, plus 98% of issues closed.
    Freshness
    25.2
    Issue health
    25.2
    Downloads
    12.2
    Stars
    10.9
    Contributors
    7.8
    ★ 355 commit 8d ago JavaScript
  5. #5
    ashishsinha1602/schemagate

    Text-to-SQL access control: schema selection that gives the LLM only the tables the caller is allowed to read. Row-level-security-aware table pruning for LangChain, MCP and any SQL agent. Postgres,...

    86.7
    Ranks here on a commit within the last week and 100% of issues closed.
    Freshness
    30.8
    Issue health
    30.8
    Stars
    8.8
    Description
    6.2
    Contributors
    5.6
    ★ 50 commit today Python
  6. #6
    rajfirke/provena

    Context governance for agentic AI — tamper-evident audit trails, provenance validation, EU AI Act compliance. 6 framework adapters, MCP server, PostgreSQL, policy engine.

    84.5
    Ranks here on an active commit 8 days ago and 80% of issues closed.
    Freshness
    30.3
    Issue health
    24.5
    Contributors
    12.3
    Stars
    6.6
    Description
    6.2
    ★ 18 commit 8d ago Python
  7. #7
    crbnos/carbon

    Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon...

    83.4
    Ranks here on 2.7k GitHub stars and a commit within the last week.
    Freshness
    30.8
    Issue health
    17.9
    Stars
    15.4
    Contributors
    12.3
    Description
    6.2
    ★ 2.7k commit today TypeScript
  8. #8
    iyulab/FluxIndex

    Production-ready .NET 10 RAG library with hybrid vector + keyword search, multi-backend storage (SQLite, PostgreSQL, Neo4j, Qdrant), and MCP server integration.

    81.6
    Ranks here on a commit within the last week and 100% of issues closed.
    Freshness
    30.8
    Issue health
    30.8
    Description
    6.2
    Stars
    4.9
    License
    4.6
    ★ 8 commit today C#
  9. #9
    call518/MCP-PostgreSQL-Ops

    🐘 Give AI assistants full PostgreSQL DBA superpowers — 30+ tools for performance analysis, bloat detection, lock/deadlock monitoring, autovacuum & schema inspection. No extensions required. PG 12-18.

    81.1
    Ranks here on a commit within the last week and 100% of issues closed.
    Freshness
    25.6
    Issue health
    25.6
    Stars
    9.4
    Downloads
    6.7
    Description
    5.1
    ★ 160 commit 3d ago Python
  10. #10
    SkyChenSky/DBPilot

    Self-hosted database performance diagnostics for SQL Server, MySQL & PostgreSQL: trends, AAS insight, Top SQL, plan-change tracking, blocking & deadlock analysis. Single-process deploy, built-in...

    81.0
    Ranks here on an active commit 19 days ago and 100% of issues closed.
    Issue health
    30.8
    Freshness
    26.5
    Stars
    10.1
    Description
    6.2
    License
    4.6
    ★ 91 commit 18d ago C#

More PostgreSQL MCP Servers

# Tool Score Stars Last Commit Language
11 YawLabs/postgres-mcp 80.7 7 1d ago TypeScript
12 bytebase/dbhub 80.7 3.6k 2d ago TypeScript
13 sgaunet/postgresql-mcp 79.8 8 15d ago Go
14 salishforge/memforge 79.5 14 7d ago TypeScript
15 willow-memory/willow-mcp 78.8 3 today Python
16 anitnilay20/thoth 78.1 73 5d ago Rust
17 Sidd27/infrawise 77.4 22 1d ago TypeScript
18 alphaonedev/ai-memory-mcp 75.2 53 1d ago Rust
19 devopam/MCPg 75.1 13 today Python
20 ralforion/orionbelt-analytics 74.6 50 7d ago Python
21 mgh3326/auto_trader 74.5 10 1d ago Python
22 antonorlov/mcp-postgres-server 73.3 23 26d ago TypeScript
23 haymon-ai/dbmcp 73.1 32 11d ago Rust
24 timescale/pg-aiguide 72.5 1.9k 4d ago Python
25 neverinfamous/postgres-mcp 71.0 12 14d ago TypeScript
26 boringSQL/dryrun 64.1 36 today Go
27 kristofer84/mcp-postgres 64.1 4 1d ago JavaScript
28 NexQL-OSS/core 62.3 12 1mo ago TypeScript
29 VioletCranberry/coco-search 61.4 37 2d ago Python
30 backenly/backenly 61.3 30 today TypeScript
31 sqlambda/pg_licht 60.7 11 today C++
32 Adeniyikayodee/ng-postcode 60.2 4 today Python
33 olucurious/watchtower 60.1 18 6d ago Go
34 rmzlb/notifyd 59.8 17 today Rust
35 yugui923/db-connect-mcp 59.6 6 today Python
36 SurajKGoyal/amnesic 59.6 4 1d ago Python
37 shubhesh07/db-connect 58.7 9 2d ago —
38 tkalevra/FaultLine 58.3 20 9d ago Python
39 DeepSQLAI/deepsql 58.2 39 1d ago Java
40 HaticeGuzell/multi-database-mcp-server 58.2 17 5d ago TypeScript
41 pandich93/youtube-niche-finder 58.1 8 8d ago Python
42 bgts-ai-org/bgts-context-engine 57.7 73 1d ago Python
43 jackwangfeng/keel 56.7 3 3d ago Go
44 cristipufu/culprit-sql-studio 56.7 3 today Rust
45 Kodemaru/huginnDB 56.0 2 4d ago TypeScript
46 advancedynamic/rustlavel 56.0 3 9d ago Rust
47 isaacpeel/solesonic-llm-api 55.3 4 1d ago Java
48 carrasquelalex1/hipocampo 55.3 4 1d ago Python
49 microsoft/MCP-Server-and-PostgreSQL-Sample-Retail 55.1 20 11d ago Python
50 onlineeric/price-monitoring-agent 55.1 1 1d ago TypeScript