Skip to content
Topic

Database MCP servers for SQL and NoSQL

Database MCP servers for Postgres, MySQL, SQLite, MongoDB, Redis, and more. Compare read-only modes, supported engines, and trust scores in one list.

1066 matching serversRanked by trust score
Guide

What to know about Database MCP servers

Database servers are among the most installed MCP servers, and the catalog covers nearly every engine: relational databases such as Postgres, MySQL, SQL Server, and SQLite; document and key-value stores such as MongoDB, DynamoDB, and Redis; and managed platforms such as Supabase, Neon, and PlanetScale with their own official servers.

Two designs dominate. Single-engine servers expose tools tailored to one database, such as listing indexes or explaining a query plan. Multi-engine servers use a generic driver layer and work across several databases with the same tool set. Single-engine servers tend to give the model richer context; multi-engine ones are easier to standardise across a team.

Safety features vary more than anything else. Look for a read-only mode, statement allow-lists, row limits on results, and support for connecting through a role with restricted privileges. Those settings matter far more than raw feature count once an agent can run queries on its own.

Top matches

Database MCP servers

The 12 strongest of 1066 matching servers. Servers that name the topic directly come first, then by trust score.

More in Databases
  • Trust score 77 of 100, Good

    DBHub

    by bytebase · TypeScript

    Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite

    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 25 days ago.
    3.7K stars—/wk weekly downloads— tools
  • Trust score 73 of 100, Good

    open-memex

    by stoneskin · TypeScript

    Local-first memory for AI coding agents — Markdown + SQLite FTS5, shared across editors via MCP.

    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 5 days ago.
    6 stars897/wk weekly downloads— tools
  • Trust score 72 of 100, Good

    Mnemosyne

    by 28naem-del · TypeScript

    Evidence-tracked local memory MCP server: one SQLite file; corrections retire dependent memories.

    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 10 days ago.
    153 stars—/wk weekly downloads— tools
  • SynaBun logo
    Trust score 71 of 100, Good

    SynaBun

    by danilokhury · JavaScript

    Persistent memory MCP server for Claude Code, Codex and OpenCode, stored locally in SQLite

    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 15 days ago.
    70 stars—/wk weekly downloads— tools
  • Trust score 71 of 100, Good

    UN FAOSTAT global food & agriculture statistics over a local SQLite mirror, via MCP.

    RegistryRemote
    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 10 days ago.
    3 stars297/wk weekly downloads— tools
  • Trust score 71 of 100, Good

    Redis MCP Server

    by yawlabs · TypeScript

    Read-first Redis MCP: SCAN key explorer, keyspace/TTL/memory/slowlog stats, DBA advisor

    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 23 days ago.
    2 stars362/wk weekly downloads— tools
  • Trust score 70 of 100, Good

    Long-term memory and context fitting for agents, with no LLM in the loop. Local SQLite.

    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 8 days ago.
    24 stars—/wk weekly downloads— tools
  • Trust score 69 of 100, Good

    Persistent local AI memory. SQLite + FTS5 + vector search, knowledge graph. No cloud, no API keys.

    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 17 days ago.
    15 stars—/wk weekly downloads— tools
  • Trust score 68 of 100, Good

    Palace

    by ancientice · Rust

    Local-first memory for coding agents — MCP server, single SQLite file, local embeddings

    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 23 days ago.
    9 stars—/wk weekly downloads— tools
  • Trust score 68 of 100, Good

    Recall over your markdown notes: vector search plus your [[wikilinks]] as a graph, in SQLite.

    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 20 days ago.
    9 stars—/wk weekly downloads— tools
  • Trust score 67 of 100, Good

    Leteo

    by asanabrial · Rust

    Persistent memory for AI coding agents: one Rust binary, one local SQLite database.

    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 21 days ago.
    4 stars—/wk weekly downloads— tools
  • Trust score 67 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: Not graded. No README or tool list has been captured yet.Maintenance: A. Last commit or release 9 days ago.
    4 stars—/wk weekly downloads— tools
Setup

How to install one

  1. Compare the shortlist. DBHub leads this topic. Open two or three listings and compare their tools, transport, and required API keys.
  2. Copy the config for your client. Each listing has an install guide, for example Claude Desktop, Claude Code, Cursor, or VS Code. The client guides show where each config file lives.
  3. Scope credentials, then restart. Use the narrowest token or folder the server needs, restart the client, and check that the new tools appear.
FAQ

Database MCP questions

Can I make a database MCP server read-only?

Many servers have a read-only flag. Even when they do, connect with a database role that only has SELECT on the tables you want exposed, so the restriction is enforced by the database itself.

Are there MCP servers for NoSQL databases?

Yes. MongoDB, Redis, DynamoDB, Cassandra, Couchbase, and Neo4j all have servers, several maintained by the vendors. Browse the databases category for the full list.

Is it safe to connect an agent to a production database?

Start with a replica or staging copy. If you must use production, use read-only credentials, cap result sizes, and keep human review on any write. Logs of every query the agent runs are worth turning on.

Keep exploring
All topics