Database MCP servers let an agent inspect schemas and run the queries you allow. Rankings use the published trust score: registry listing, license, maintenance, popularity, docs, and security signals. Filtered to servers Codex can run. 1773 published MCP servers match this ranking that Codex can run. The highest trust scores right now are Apple Health at 75, Hotpath Cloud at 74, pg-aiguide at 74. The order is the published trust score: registry record, license, maintenance, popularity, documentation, and security signals. Featured slots, when an editor sets them, are labeled and do not change the score. Best database MCP servers for Codex is not a paid placement.
Best of
Full ranking
Every server that matches this ranking, ordered by trust score.
Postgres for AI agents with row locks, masking, approved writes and a signed audit ledger.
Registry
ALicense–QualityAMaintenanceLicense: A. Apache-2.0 is a permissive open source license.Quality: Not graded. No README or tool list has been captured yet.Maintenance: A. Last commit or release 4 days ago.
ALicenseAQualityAMaintenanceLicense: A. MIT is a permissive open source license.Quality: A. 91/100 for listing completeness. Lost points: short summary.Maintenance: A. Last commit or release 22 days ago.
Find, fix and verify N+1 and slow MongoDB/SQL queries in JS/TS, Python, Go, Java, Ruby and PHP.
Registry
ALicense–QualityAMaintenanceLicense: A. MIT is a permissive open source license.Quality: Not graded. No README or tool list has been captured yet.Maintenance: A. Last commit or release 6 days ago.
Static and dynamic call tracing MCP server backed by a SQLite property graph of your codebase
Registry
ALicense–QualityAMaintenanceLicense: A. MIT is a permissive open source license.Quality: Not graded. No README or tool list has been captured yet.Maintenance: A. Last commit or release 7 days ago.
Find, read, create, edit, and organize Excalidraw drawings in your self-hosted Excaliself instance.
RegistryRemote
ALicense–QualityAMaintenanceLicense: A. MIT is a permissive open source license.Quality: Not graded. No README or tool list has been captured yet.Maintenance: A. Last commit or release 2 days ago.
ALicenseCQualityAMaintenanceLicense: A. Apache-2.0 is a permissive open source license.Quality: C. 65/100 for listing completeness. Lost points: no listed tools, short summary.Maintenance: A. Last commit or release 19 days ago.
Scans AI-written code for leaked secrets, unguarded routes and missing RLS.
Registry
ALicenseCQualityAMaintenanceLicense: A. MIT is a permissive open source license.Quality: C. 65/100 for listing completeness. Lost points: no listed tools, short summary.Maintenance: A. Last commit or release 14 days ago.
Local-first AI memory layer with hybrid search. Postgres + pgvector. Self-hosted, MIT.
Registry
ALicenseCQualityAMaintenanceLicense: A. MIT is a permissive open source license.Quality: C. 65/100 for listing completeness. Lost points: no listed tools, short summary.Maintenance: A. Last commit or release 9 days ago.
No longer maintained. Use the remote Upstash MCP server: https://mcp.upstash.com/mcp
Registry
ALicenseCQualityAMaintenanceLicense: A. MIT is a permissive open source license.Quality: C. 60/100 for listing completeness. Lost points: no listed tools, short summary, no docs link.Maintenance: A. Last commit or release 11 days ago.
MCP Server for Metabase - 111 tools for SQL generation, dashboards & PostgreSQL
Registry
ALicenseAQualityBMaintenanceLicense: A. Apache-2.0 is a permissive open source license.Quality: A. 93/100 for listing completeness. Lost points: 1 of 8 tools barely described, short summary.Maintenance: B. Last commit or release 2 months ago.
Persistent 3D/2D spatial world model for AI agents with dynamic velocity and entity tracking.
Registry
ALicenseCQualityBMaintenanceLicense: A. MIT is a permissive open source license.Quality: C. 65/100 for listing completeness. Lost points: no listed tools, short summary.Maintenance: B. Last commit or release 59 days ago.
U.S. college Common Data Set facts, comparisons and source documents. Read-only, no API key.
RegistryRemote
ALicense–QualityBMaintenanceLicense: A. MIT is a permissive open source license.Quality: Not graded. No README or tool list has been captured yet.Maintenance: B. Last commit or release 2 days ago. Down one letter for 88 open issues against 14 stars.
Strategic BDI reasoning engine for autonomous AI agents with spatial utility and replanning.
Registry
ALicenseBQualityBMaintenanceLicense: A. MIT is a permissive open source license.Quality: B. 84/100 for listing completeness. Lost points: 7 of 13 tools barely described, short summary.Maintenance: B. Last commit or release 59 days ago.
Source-tiered retraction and citation judgments for DOIs; abstains when evidence is thin.
RegistryRemote
ALicenseBQualityAMaintenanceLicense: A. MIT is a permissive open source license.Quality: B. 70/100 for listing completeness. Lost points: 8 of 8 tools barely described, short summary, no docs link.Maintenance: A. Last commit or release 6 days ago.
ALicenseAQualityAMaintenanceLicense: A. MIT is a permissive open source license.Quality: A. 86/100 for listing completeness. Lost points: 2 of 11 tools barely described, short summary, no docs link.Maintenance: A. Last commit or release 17 days ago.
Read-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advice
Registry
ALicenseBQualityAMaintenanceLicense: A. MIT is a permissive open source license.Quality: B. 73/100 for listing completeness. Lost points: 6 of 7 tools barely described, short summary, no docs link.Maintenance: A. Last commit or release 26 days ago.
ALicenseBQualityAMaintenanceLicense: A. Apache-2.0 is a permissive open source license.Quality: B. 78/100 for listing completeness. Lost points: 7 of 8 tools barely described, short summary.Maintenance: A. Last commit or release 5 days ago.
ALicenseAQualityAMaintenanceLicense: A. MIT is a permissive open source license.Quality: A. 95/100 for listing completeness. Lost points: short summary.Maintenance: A. Last commit or release 15 days ago.
In-process MCP server for Tauri apps: DOM, IPC with bodies, Rust state, SQLite. Debug builds only.
Registry
ALicenseAQualityAMaintenanceLicense: A. Apache-2.0 is a permissive open source license.Quality: A. 94/100 for listing completeness. Lost points: 1 of 19 tools barely described, short summary.Maintenance: A. Last commit or release 23 days ago.
NYC Council legislation: bills, hearings, votes and members, from a local index or live Legistar
Registry
ALicenseAQualityAMaintenanceLicense: A. MIT is a permissive open source license.Quality: A. 88/100 for listing completeness. Lost points: 4 of 32 tools barely described, short summary, no docs link.Maintenance: A. Last commit or release 12 days ago.
Multi-database MCP server for PostgreSQL, MySQL, and ClickHouse
Registry
ALicenseBQualityAMaintenanceLicense: A. MIT is a permissive open source license.Quality: B. 75/100 for listing completeness. Lost points: 6 of 8 tools barely described, short summary, no docs link.Maintenance: A. Last commit or release 5 days ago.
Remote MCP server for any IMAP mailbox: OAuth, multiple mailboxes, attachments, approved sends
RegistryRemote
ALicenseAQualityAMaintenanceLicense: A. MIT is a permissive open source license.Quality: A. 88/100 for listing completeness. Lost points: 3 of 9 tools barely described, short summary.Maintenance: A. Last commit or release 10 days ago.
MCP server for secure database access (PostgreSQL, MySQL, SQLite)
Registry
ALicenseBQualityAMaintenanceLicense: A. MIT is a permissive open source license.Quality: B. 74/100 for listing completeness. Lost points: short README, 1 of 3 tools barely described, short summary.Maintenance: A. Last commit or release 5 days ago.
Checks a claim's numbers, names and file names against your indexed notes. Local; no model.
Registry
ALicenseCQualityAMaintenanceLicense: A. MIT is a permissive open source license.Quality: C. 65/100 for listing completeness. Lost points: no listed tools, short summary.Maintenance: A. Last commit or release 19 days ago.