Skip to content

MCP servers for databases

253 MCP servers that connect AI assistants to SQL and NoSQL databases to query, inspect schemas and manage data. Each one shows how to install it in Claude, Cursor and VS Code, whether it runs locally or remotely, and the tools it provides.
  1. Read-only Postgres access with four enforcement layers and a shared business-context file

    Runs locally
    • 4 tools
    • Open source
    • Databases
  2. Local encrypted memory for agents with hybrid recall and key-destroying erasure

    Runs locally
    • 14 tools
    • Open source
    • Knowledge and memory
  3. Dry-run, snapshot and rewind AI writes to SQLite, Cloudflare D1 and Turso databases

    Runs locally
    • Open source
    • Databases
  4. MongoDB tools: query, aggregate, index, and administer collections and databases.

    Runs locally
    • Open source
    • Databases
  5. Execute SQL and inspect tables, views, schemas and more on a configured database.

    Runs locally
    • Open source
    • Databases
  6. Spline Font Database MCP: read, check, lint, scaffold and run code.

    Runs locally
    • Open source
    • Databases
  7. Governed MySQL/MariaDB DBA ops: slow-query, lock-wait, replication & fragmentation RCA…

    Runs locally
    • Open source
    • Databases
  8. Governed PostgreSQL DBA ops: slow-query RCA, bloat/vacuum & blocking-lock analysis; 35…

    Runs locally
    • Open source
    • Databases
  9. Search OpenSearch indices, manage documents, check health and stats.

    Runs locally
    • Open source
    • Databases
  10. SQL MCP: 20 real tools to read, check, lint, scaffold, build and run SQL code.

    Runs locally
    • Open source
    • Databases
  11. SQLite database access for agents: query, write, create and describe tables, record…

    Runs locally
    • Open source
    • Databases
  12. Supabase projects, tables, SQL, migrations, and storage from your MCP client.

    Runs locally
    • Open source
    • Databases
  13. Neon Postgres projects, branches, SQL, and migrations from your MCP client.

    Runs locally
    • Open source
    • Databases
  14. Query ClickHouse over HTTP: list databases and tables, run SELECT.

    Runs locally
    • Open source
    • Databases
  15. Query your Supabase project: table rows, auth users, RPC. Endpoints per official docs.

    Runs locally
    • Open source
    • Databases
  16. Format, minify and split SQL offline, respecting strings, quotes and comments

    Runs locally
    • Open source
    • Databases
  17. Read-only SQL queries against a PostgreSQL database.

    Runs locally
    • Open source
    • Databases
  18. Guardrail for AI agents on SQL Server: statement blocking, optional read-only mode and…

    Runs locally
    • Open source
    • Databases
  19. Elasticsearch MCP Server for ES 5.x-9.x with a query harness, field validation and full…

    Not checked yet
    • Remote
    • Open source
    • Databases
  20. Read-only Postgres/Supabase RLS audit with a rolled-back probe that proves who can read…

    Runs locally
    • Open source
    • Databases
  21. Read-only BigQuery tools for plain-language data questions, with a cost gate on every…

    Runs locally
    • Open source
    • Databases
  22. Read-only PostgreSQL performance diagnostics: slow queries, EXPLAIN, index advice…

    Not checked yet
    • Remote
    • Open source
    • Databases
  23. Official ClickHouse MCP server for querying and exploring ClickHouse clusters and chDB.

    Runs locally
    • Open source
    • Databases
  24. Safe, read-only-by-default MySQL, PostgreSQL & SQLite access for AI agents. TOON output.

    Runs locally
    • Open source
    • Databases
  25. MySQL statements and transactions over MCP

    Not checked yet
    • Remote
    • Open source
    • Databases
  26. Offline PostgreSQL query, migration and EXPLAIN diagnostics for AI agents.

    Runs locally
    • Open source
    • Databases
  27. Policy-checked, audited agent access to Postgres, MySQL, SQLite, MongoDB and OpenAPI…

    Runs locally
    • Open source
    • Databases
  28. Read-only SQL Server diagnostics for LLM agents: Query Store, waits, plans, indexes

    Runs locally
    • Open source
    • Databases

See every kind of AI for databases: tools, agents, MCP servers and skills.Ranked: the best AI for databases.