Skip to content

MCP servers for databases

247 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. PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only…

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Runs locally
    • Open source
    • Databases
  23. Safe, read-only database access for AI agents. 5 databases, batch queries, SQLGlot.

    Runs locally
    • Open source
    • Databases
  24. A SnowLeopardAI-managed MCP server that provides access to Google BigQuery data.

    Runs locally
    • Open source
    • Databases
  25. MCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), 19 tools.

    Runs locally
    • Open source
    • Databases
  26. Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.

    Runs locally
    • Open source
    • Databases
  27. Scout your PostgreSQL databases with AI - safety features, monitoring, and data quality

    Runs locally
    • Open source
    • Databases

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