Skip to content

MCP servers for databases

82 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. Postgres gateway for AI agents with table grants, column masking and approval for writes

    Runs locally
    • Open source
    • 5 GitHub stars
    • Databases
  2. Gives MCP clients access to your PlatypusDB database connections, scoped per agent

    Runs locally
    • Open source
    • Databases
  3. Lets agents read and change a governed, versioned Postgres knowledge graph

    Runs locally
    • Open source
    • Knowledge and memory
  4. Generate realistic connected test data, dbt projects and dashboards from a schema

    • Remote
    • Freemium
    • Databases
  5. Pre-merge safety verdicts for Databricks table changes made by pipelines and agents

    Runs locally
    • Open source
    • Databases
  6. Read-only BigQuery access for agents with a per-query byte limit

    Runs locally
    • 4 tools
    • Open source
    • Databases
  7. MCP wrapper that holds database writes until a second person approves them on their phone

    Runs locally
    • Open source
    • Databases
  8. Query and edit Firestore documents and look up Firebase Auth users from your agent

    Runs locally
    • 7 tools
    • Open source
    • Databases
  9. Self-hosted work database that agents drive over MCP, in a single SQLite file

    Runs locally
    • 3 tools
    • Open source
    • Databases
  10. Read-only Trino access for agents, run as the verified user so Trino policy decides

    Runs locally
    • 3 tools
    • Open source
    • Databases
  11. Operate Docker-based local YDB stacks from an agent, with plan-first changes and confirm

    Runs locally
    • 2 tools
    • Open source
    • Databases
  12. Shared graph memory for AI agents, stored in your own Postgres

    Not checked yet
    • 2 tools
    • Remote
    • Freemium
    • Knowledge and memory
  13. Query PostgreSQL, inspect schemas and read EXPLAIN plans, read-only by default

    Runs locally
    • 13 tools
    • Open source
    • Databases
  14. Read-only Redis and Valkey explorer with safe key scans and a big-key advisor

    Runs locally
    • 7 tools
    • Open source
    • Databases
  15. PostgreSQL schema, read-only queries, EXPLAIN and masked dumps for coding agents

    Runs locally
    • Open source
    • Databases
  16. Schema, database, document, user and dev-server tools for a Rebase Postgres backend

    Runs locally
    • Open source
    • Databases
  17. Manage Aiven PostgreSQL, Kafka and apps from an AI assistant, with read-only options

    Not checked yet
    • 1 tool
    • Remote
    • Freemium
    • Databases
  18. Read-only SQL and schema inspection for IBM Db2 for i, with allowlists and audit log

    Runs locally
    • 1 tool
    • Open source
    • Databases
  19. Give AI agents scoped access to a self-hosted Vaultbase backend's data and logs

    Runs locally
    • Open source
    • Databases
  20. Move data between 15+ databases, queues and files without rows entering context

    Runs locally
    • 11 tools
    • Open source
    • Databases
  21. Local SQLite database an AI model fills and checks through typed MCP tools

    Runs locally
    • Open source
    • Databases
  22. Ask questions of your databases and files and get SQL-verified answers or a decline

    Not checked yet
    • 2 tools
    • Remote
    • Freemium
    • Analytics and data
  23. Deploy a frontend, API, Postgres and Redis from your agent in one call and get live URLs

    Not checked yet
    • 2 tools
    • Remote
    • Freemium
    • Databases
  24. Read-only agent access to a self-hosted GeoLens spatial catalog, maps and SQL

    Runs locally
    • 9 tools
    • Open source
    • Databases
  25. Query and manage a RisingWave streaming database from an agent over SQL tools

    Runs locally
    • 15 tools
    • Open source
    • Databases
  26. Check, test and review row-level security policies for Postgres from a coding agent

    Runs locally
    • 4 tools
    • Open source
    • Databases
  27. Offline on-device memory and filtered vector search for AI assistants

    Runs locally
    • 4 tools
    • Freemium
    • Knowledge and memory
  28. Offline PostgreSQL schema, query-stat and migration-safety server for AI assistants

    Runs locally
    • 7 tools
    • Open source
    • Databases
  29. Agent memory in SQLite or Postgres that flags stale facts and abstains when unsure

    Runs locally
    • 1 tool
    • Open source
    • Knowledge and memory
  30. Lets AI agents query SQL Server, Postgres, MySQL, Oracle and SQLite through Jam SQL Studio

    Runs locally
    • Freemium
    • Databases

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