Skip to content
Best of

Best database MCP servers for Codex

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.

1,773 servers
Trust score 70 of 100, Good

Lokra

by lokrahq · HTML

Postgres for AI agents with row locks, masking, approved writes and a signed audit ledger.

Registry
LicenseQualityMaintenanceLicense: 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.
0 stars1.2K/wk weekly downloads— toolsLast commit
Trust score 70 of 100, Good

IUPHAR/BPS Guide to PHARMACOLOGY (GtoPdb) MCP — BYO key. Expert-curated pharmacology database of…

RegistryRemote
LicenseQualityMaintenanceLicense: 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.
0 stars78/wk weekly downloads4 toolsLast commit
Trust score 70 of 100, Good

querydig

by milankatira · TypeScript

Find, fix and verify N+1 and slow MongoDB/SQL queries in JS/TS, Python, Go, Java, Ruby and PHP.

Registry
LicenseQualityMaintenanceLicense: 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.
0 stars841/wk weekly downloads— toolsLast commit
Trust score 70 of 100, Good

Code Crawler

by nithin554 · TypeScript

Static and dynamic call tracing MCP server backed by a SQLite property graph of your codebase

Registry
LicenseQualityMaintenanceLicense: 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.
0 stars1.7K/wk weekly downloads— toolsLast commit
Trust score 69 of 100, Good

Excaliself

by maciekzygmunt · TypeScript

Find, read, create, edit, and organize Excalidraw drawings in your self-hosted Excaliself instance.

RegistryRemote
LicenseQualityMaintenanceLicense: 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.
200 stars—/wk weekly downloads— toolsLast commit
Trust score 69 of 100, Good

sqlsure

by sqlsure · Python

Semantic SQL inspector: catches double-counting, wrong joins, PII exposure before execution.

Registry
LicenseQualityMaintenanceLicense: 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.
99 stars—/wk weekly downloads— toolsLast commit
Trust score 69 of 100, Good

Scans AI-written code for leaked secrets, unguarded routes and missing RLS.

Registry
LicenseQualityMaintenanceLicense: 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.
85 stars281/wk weekly downloads— toolsLast commit
Trust score 69 of 100, Good

Local-first AI memory layer with hybrid search. Postgres + pgvector. Self-hosted, MIT.

Registry
LicenseQualityMaintenanceLicense: 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.
67 stars—/wk weekly downloads— toolsLast commit
Trust score 69 of 100, Good

mcp-server

by upstash · TypeScript

No longer maintained. Use the remote Upstash MCP server: https://mcp.upstash.com/mcp

Registry
LicenseQualityMaintenanceLicense: 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.
61 stars2.4K/wk weekly downloads— toolsLast commit
Trust score 69 of 100, Good

MCP Server for Metabase - 111 tools for SQL generation, dashboards & PostgreSQL

Registry
LicenseQualityMaintenanceLicense: 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.
47 stars64/wk weekly downloads8 toolsLast commit
World Model MCP logo
Trust score 69 of 100, Good

Persistent 3D/2D spatial world model for AI agents with dynamic velocity and entity tracking.

Registry
LicenseQualityMaintenanceLicense: 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.
26 stars90/wk weekly downloads— toolsLast commit
Quadfile logo
Trust score 69 of 100, Good

Quadfile

by bolewood · TypeScript

U.S. college Common Data Set facts, comparisons and source documents. Read-only, no API key.

RegistryRemote
LicenseQualityMaintenanceLicense: 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.
14 stars—/wk weekly downloads— toolsLast commit
Strategic Agent Reasoning MCP logo
Trust score 69 of 100, Good

Strategic BDI reasoning engine for autonomous AI agents with spatial utility and replanning.

Registry
LicenseQualityMaintenanceLicense: 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.
13 stars102/wk weekly downloads13 toolsLast commit
Trust score 69 of 100, Good

Source-tiered retraction and citation judgments for DOIs; abstains when evidence is thin.

RegistryRemote
LicenseQualityMaintenanceLicense: 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.
10 stars—/wk weekly downloads8 toolsLast commit
Trust score 69 of 100, Good

AppFlowy MCP server: edit Markdown, manage typed database rows, search and import/export.

Registry
LicenseQualityMaintenanceLicense: 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.
9 stars—/wk weekly downloads11 toolsLast commit
Trust score 69 of 100, Good

Read-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advice

Registry
LicenseQualityMaintenanceLicense: 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.
8 stars—/wk weekly downloads7 toolsLast commit
Trust score 69 of 100, Good

Multi-tenant hybrid RAG & evidence verification MCP server enforcing PostgreSQL RLS.

Registry
LicenseQualityMaintenanceLicense: 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.
8 stars—/wk weekly downloads8 toolsLast commit
Trust score 69 of 100, Good

Local-only Tableau .twbx audit: lineage, unused fields, duplicate calcs, SQL, version diffs

Registry
LicenseQualityMaintenanceLicense: 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.
8 stars64/wk weekly downloads11 toolsLast commit
Trust score 69 of 100, Good

In-process MCP server for Tauri apps: DOM, IPC with bodies, Rust state, SQLite. Debug builds only.

Registry
LicenseQualityMaintenanceLicense: 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.
7 stars—/wk weekly downloads19 toolsLast commit
Trust score 69 of 100, Good

NYC Council

by betanyc · TypeScript

NYC Council legislation: bills, hearings, votes and members, from a local index or live Legistar

Registry
LicenseQualityMaintenanceLicense: 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.
7 stars396/wk weekly downloads32 toolsLast commit
Trust score 69 of 100, Good

Multi-database MCP server for PostgreSQL, MySQL, and ClickHouse

Registry
LicenseQualityMaintenanceLicense: 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.
7 stars43/wk weekly downloads8 toolsLast commit
Trust score 69 of 100, Good

IMAP MCP

by harrywang · TypeScript

Remote MCP server for any IMAP mailbox: OAuth, multiple mailboxes, attachments, approved sends

RegistryRemote
LicenseQualityMaintenanceLicense: 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.
6 stars—/wk weekly downloads9 toolsLast commit
DataLink logo
Trust score 69 of 100, Good

DataLink

by pilat · TypeScript

MCP server for secure database access (PostgreSQL, MySQL, SQLite)

Registry
LicenseQualityMaintenanceLicense: 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.
5 stars61/wk weekly downloads3 toolsLast commit
Trust score 69 of 100, Good

chamber

by abm9111 · TypeScript

Checks a claim's numbers, names and file names against your indexed notes. Local; no model.

Registry
LicenseQualityMaintenanceLicense: 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.
3 stars95/wk weekly downloads— toolsLast commit