Best MCP Servers for Databases (2026)

The best MCP servers for connecting AI agents to SQL and NoSQL databases — query, inspect schemas, and safely read or write real records from Claude, Cursor, and other clients.

Browse all Databases servers →
  1. 1
    S
    Server Postgresmodelcontextprotocol
    Most popular in this category on AllMCPs
    PostgreSQL database integration with schema inspection and query capabilities
    1 0 0
  2. 2
    M
    Mcp AivenAiven-Open
    Community pick
    Navigate your Aiven projects and interact with the PostgreSQL®, Apache Kafka®, ClickHouse® and OpenSearch® services
    0 0 0
  3. 3
    S
    Supabase Mcp Serveralexanderzuev
    Community pick
    Supabase MCP Server with support for SQL query execution and database exploration tools
    0 0 0
  4. 4
    A
    Alibabacloud Tablestore Mcp Serveraliyun
    Community pick
    MCP service for Tablestore, features include adding documents, semantic search for documents based on vectors and scalars, RAG-friendly, and serverless.
    0 0 0
  5. 5
    M
    Mcp Cockroachdbamineelkouhen
    Community pick
    A Model Context Protocol server for managing, monitoring, and querying data in CockroachDB.
    0 0 0
  6. 6
    S
    Sql Query McpandyWang1688
    Community pick
    A general-purpose MCP server that lets AI work with multiple databases within clear boundaries. Supports PostgreSQL and MySQL today with schema discovery, sampling, read-only queries, and query-plan inspection.
    0 0 0
  7. 7
    M
    Mcpappwrite
    Community pick
    Official Appwrite MCP server. Connect via hosted OAuth at https://mcp.appwrite.io/ (no API keys) or self-host with a project API key to manage databases, auth, users, functions, storage, messaging, and more.
    0 0 0
  8. 8
    A
    ArcadedbArcadeData
    Community pick
    Built-in MCP server for ArcadeDB, a multi-model database (graph, document, key-value, time-series, vector) with SQL, Cypher, Gremlin, and MongoDB QL support.
    0 0 0
  9. 9
    S
    SchemabrainArun-kc
    Community pick
    Read-only trust layer for Postgres: the agent never writes SQL — twelve tools compile it from definitions you control, PII and secret categories are refused before the query runs, and every call lands in a tamper-evident SHA-256 audit chain.
    0 0 0
  10. 10
    L
    Local Ydb Toolkitastandrik
    Community pick
    Local YDB MCP is a TypeScript stdio MCP server for operating Docker-based local-ydb deployments via local or SSH-backed profiles. Supports bootstrap, diagnostics, auth hardening, storage workflows, dump/restore, upgrades, and plan-first mutating operations.
    0 0 0

Frequently asked questions

What is the best MCP server for databases?

It depends on your database. For Postgres, the official modelcontextprotocol/server-postgres and crystaldba/postgres-mcp are the most widely installed. The ranking on this page is ordered by real usage across the AllMCPs directory.

Can an MCP server write to my database, or only read?

Most database MCP servers default to read-only access for safety; several offer an opt-in write mode. Always check the server’s README and connect with a least-privilege, scoped database credential.

How do I connect Claude to a database with MCP?

Install a database MCP server in your client config (e.g. under mcpServers in claude_desktop_config.json), give it a connection string via environment variables, and restart the client. Each listing links to its setup instructions.

More best-of guides

Best for DevelopersBest for Web Search & ScrapingBest for SecurityBest for Browser AutomationBest for Slack & CommunicationBest for Memory & KnowledgeBest for Finance & FintechBest for Cloud Platforms