Skip to content

MCP servers for databases

313 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. MCP server for SQL Server: schema inspection, safe read-only queries, query plan analysis

    Runs locally
    • Open source
    • Databases
  2. A label property graph on SQLite/Postgres with multi-ontology routing and a gated MCP…

    Runs locally
    • Open source
    • Databases
  3. Pull churn from Stripe, Postgres, MySQL, or pasted feedback. AI-ranked drivers + fixes.

    Runs locally
    • Open source
    • Databases
  4. Run alias-based queries against PostgreSQL, MySQL, MongoDB and Oracle without exposing…

    Runs locally
    • Open source
    • Databases
  5. dbt MCP — manifest/run_results/sources/catalog parsing + DQ result tables…

    Runs locally
    • Open source
    • Databases
  6. Token-efficient MCP server for MySQL, PostgreSQL, and SQLite

    Runs locally
    • Open source
    • Databases
  7. PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only…

    Runs locally
    • Open source
    • Databases
  8. Security-first MCP server for PostgreSQL, SQLite, MySQL, DuckDB with SQL injection…

    Runs locally
    • Open source
    • Databases
  9. PostgreSQL MCP server for schema, query, health, security, and performance analysis.

    Runs locally
    • Open source
    • Databases
  10. Convert natural language into validated Liquibase XML or SQL changesets. 19 tools, 12…

    Runs locally
    • Open source
    • Databases
  11. Durable memory for AI agents: fact extraction, hybrid retrieval, temporal graph…

    Runs locally
    • Open source
    • Databases
  12. A secure, efficient, and intelligent MySQL server for the Model Context Protocol

    Runs locally
    • Open source
    • Databases
  13. Read-only Elasticsearch/OpenSearch for AI agents — search, indices, mappings, count…

    Runs locally
    • Open source
    • Databases
  14. Read-only ClickHouse for AI agents — analytics queries, table inspection, sizes, health.

    Runs locally
    • Open source
    • Databases
  15. Read-only MongoDB for AI agents — find, aggregate (no write stages), count, stats.

    Runs locally
    • Open source
    • Databases
  16. Read-only MySQL/MariaDB for AI agents — query, list/describe tables, health. SQL-guarded.

    Runs locally
    • Open source
    • Databases
  17. RLS/tenant-aware Postgres for AI agents — schema, read-only SQL, NL→SQL with safety rails.

    Runs locally
    • Open source
    • Databases
  18. Read-only Redis for AI agents — keys, hashes, lists, sets, sorted sets, streams, INFO.

    Runs locally
    • Open source
    • Databases
  19. Deterministic SQL formatting across 19 dialects (postgres, mysql, snowflake, bigquery…

    Runs locally
    • Open source
    • Databases
  20. Production MCP server for Postgres, Oracle, Snowflake, BigQuery, Redshift, DuckDB…

    Runs locally
    • Open source
    • Databases
  21. Provision Postgres databases + webhooks from AI coding agents in one HTTP call.

    Runs locally
    • Open source
    • Databases
  22. Read-only SQL Server Analyst MCP — safe schema, stored procedure, and performance…

    Runs locally
    • Open source
    • Databases
  23. MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL…

    Runs locally
    • Open source
    • Databases
  24. Extract database metadata from PostgreSQL, Snowflake, SQL Server, BigQuery, and Oracle.

    Runs locally
    • Open source
    • Databases
  25. PostgreSQL MCP Server — 27 tools for queries, schema, CRUD, DBA, HA & server management

    Runs locally
    • Open source
    • Databases
  26. Python MCP server for MySQL database inspection and querying

    Runs locally
    • Open source
    • Databases
  27. Python MCP server for PostgreSQL database inspection and querying

    Runs locally
    • Open source
    • Databases
  28. MCP server for Databricks, BigQuery, PostgreSQL, MySQL, SQL Server, SQLite, MariaDB

    Runs locally
    • Open source
    • Databases

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