Databases MCP servers
Database MCP servers let an AI app inspect schemas and run queries against Postgres, MySQL, SQLite, MongoDB, vector stores and warehouses. They turn questions in plain words into SQL, which makes them powerful and worth locking down.
What to look for
- Read-only mode: the first setting to look for. A read-only role at the database level beats a flag in the server.
- Schema awareness: servers that expose tables, columns and relations help the model write correct queries the first time.
- Query limits: row caps and timeouts stop a runaway query from scanning a large table or locking production.
- Where it connects: point it at a replica or a staging copy before production, and never hand it the superuser role.
Jobs these servers take on
- Answer a business question with a SQL query and show the query it ran.
- Explore an unfamiliar schema and explain how the tables relate.
- Find rows that break a rule, such as duplicates or missing keys, and list them for cleanup.
Dbx from t8y2 is the most starred databases server in our directory, followed by MCP Toolbox for Databases and AIHOT.
Official databases servers, published by the company behind the product, include MCP Toolbox for Databases, Google, Supabase, Qdrant and Data API Builder.
If you'd rather not install anything, AIHOT, Google and Supabase run as hosted remote servers you connect to by URL.
The top databases servers
Search and filter these- Dbxby t8y2Query databases from AI agents using connections configured in DBX.32.2k GitHub stars
- MCP Toolbox for Databasesby googleapisMCP Toolbox for Databases enables your agent to connect to your database.17k GitHub stars
- AIHOTby KKKKhazixChinese AI news: search topics, explore hot events, and read daily, weekly and monthly briefs.11.7k GitHub stars
- Tabularisby TabularisDBOpen-source desktop SQL workspace with 3 built-in database drivers and 29 shipped driver plugins, including SQL Server, DuckDB, ClickHouse and Redis. Built-in MCP server for Claude, Cursor and Devin, SQL notebooks and visual EXPLAIN.5.6k GitHub stars
- Googleby googleGoogle MCP.4.8k GitHub stars
- DBHubby bytebaseToken-efficient MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse, SQLite.4k GitHub stars
- Postgresby crystaldbaPostgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.3.5k GitHub stars
- FlyEnvby xpf0000Native local development environment for Windows, macOS & Linux. A modern alternative to XAMPP, MAMP, Laragon and Laravel Herd, with runtimes, databases, web servers, local sites, HTTPS, AI coding tools and MCP.3.4k GitHub stars
- Deeporgby doscoDeepORG (formerly GraphJin), one AI agent for your whole organization: databases, APIs, files, and code over MCP.3.3k GitHub stars
- Supabaseby supabaseMCP server for interacting with the Supabase platform.3k GitHub stars
- Carbonby crbnosOpen-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.2.9k GitHub stars
- MySQLby benborlaA Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.2.2k GitHub stars
- Erd Editorby dineugDesign database schemas as ERDs in your browser, VS Code, JetBrains IDEs or Obsidian. Import SQL, DBML and GraphQL, export DDL and code, and let coding agents edit live over MCP.1.8k GitHub stars
- Qdrantby qdrantAn official Qdrant Model Context Protocol (MCP) server implementation.1.6k GitHub stars
- Data API Builderby AzureData API builder provides modern REST, GraphQL endpoints and MCP tools to your Azure Databases and on-prem stores.1.6k GitHub stars
- MySQL (designcomputer)by designcomputerA Model Context Protocol (MCP) server that enables secure interaction with MySQL databases.1.4k GitHub stars
- Magic Cloudby polterguyGenerate secured CRUD APIs over your database, run SQL, manage files, tasks and a headless browser.1.3k GitHub stars
- CloudBaseby TencentCloudBaseCloudBase MCP: DB, functions, storage, hosting via @cloudbase/cloudbase-mcp.1.2k GitHub stars
- MongoDBby mongodb-jsOfficial MongoDB MCP server: let AI agents search and manage databases and the Atlas data platform.1.2k GitHub stars
- Neo4j Cloud Aura APIby neo4j-contribMCP server for Neo4j Aura Database Instance Manager.994 GitHub stars
- Neo4j Cypherby neo4j-contribA simple Neo4j MCP server that allows you to run Cypher queries against a Neo4j database.994 GitHub stars
- Neo4j Data Modelingby neo4j-contribA simple Neo4j MCP server for creating graph data models.994 GitHub stars
- Neo4j Memoryby neo4j-contribMCP Neo4j Knowledge Graph Memory Server.994 GitHub stars
- Universal DBby Anarkh-Lee通用数据库 MCP 连接器:支持 MySQL、PostgreSQL、Oracle、MongoDB 等 17 种数据库,支持 Claude Desktop、Cursor、Windsurf、VS Code、ChatGPT 等 50+ 平台,用自然语言查询和分析数据.943 GitHub stars
- NornicDBby ornerydNornicdb is a distributed low-latency, Graph+Vector, Temporal MVCC with all sub-ms HNSW search, graph traversal, and writes. Using Neo4j Bolt/Cypher and qdrant's gRPC means you can switch with no changes while adding intelligent features like schemas, managed embeddings, reranking+llm, GPU accel, Auto-TLP, Policy-based Memory Decay, and MCP server.937 GitHub stars
- ClickHouseby ClickHouseOfficial ClickHouse MCP server for querying and exploring ClickHouse clusters and chDB.919 GitHub stars
- Supabase (alexander-zuev)by alexander-zuevQuery MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning, access to logs and much more.837 GitHub stars
- Neonby neondatabaseOfficial Neon MCP server for managing Neon projects and Lakebase Postgres databases.667 GitHub stars
- EnvKitby Env-KitControl the EnvKit local dev stack (PHP, nginx, MySQL, sites). Requires the EnvKit desktop app.660 GitHub stars
- Yacy Gridby yacyThe YaCy Grid Master Connect Program.652 GitHub stars
- Redisby redisThe official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently.647 GitHub stars
- Chromaby chroma-coreA Model Context Protocol (MCP) server implementation that provides database capabilities for Chroma.604 GitHub stars
- Ratelby ratel-aiThe self-improvement layer for AI agents. Ratel reads your agent's traces, finds what fails, recommends fixes and runs evals on real sessions before you ship. Self-hosted: one app, one Postgres. Includes the TypeScript and Python SDK.581 GitHub stars
- Apple Healthby neiltronLocal-first Apple Health MCP server for questions about your sleep, workouts and heart data.580 GitHub stars
- Auto Ontologyby gogoymhNVIDIA Auto Ontology's semantic layer and a personal knowledge base as an MCP server for Claude, ChatGPT and other MCP clients. No LLM API key needed.575 GitHub stars
- Enfernoby level09Lean Flask framework built for coding agents: Vue 3 + Vuetify with no build step, production-ready auth (2FA, passkeys, OAuth), AGENTS.md, an agent skill and a read-only MCP server. No webpack, no node_modules, just Python.571 GitHub stars
- Deftby Maneek21Self-hostable AGPL workspace where humans and AI agents share chat, tasks, knowledge, approvals, and MCP context.553 GitHub stars
- Centralmind Gatewayby centralmindUniversal MCP-Server for your Databases optimized for LLMs and AI-Agents.550 GitHub stars
- Motherduckby motherduckdbSQL analytics and data engineering for AI Assistants and IDEs.547 GitHub stars
- PerformanceMonitorby erikdarlingdataFree, open-source SQL Server and Postgres performance monitoring. Collectors, real-time alerts, graphical plan viewer, MCP server for AI analysis. Supports SQL 2016-2025, Azure SQL, AWS RDS, Postgres, Aurora Postgres.545 GitHub stars
- Pgmcpby subnetmarcoAn MCP server to query any Postgres database in natural language.544 GitHub stars
- FreePeak DBby FreePeakA powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.488 GitHub stars
- Atlasby cyanheadsA Model Context Protocol (MCP) server for ATLAS, a Neo4j-powered task management system for LLM Agents - implementing a three-tier architecture (Projects, Tasks, Knowledge) to manage complex workflows. Now with Deep Research.481 GitHub stars
- Mementoby gannonhMemento MCP: A Knowledge Graph Memory System for LLMs.426 GitHub stars
- Mcpxby opentokenzMCPX 是运行在开发环境中的 MCP Runtime(网关)。ChatGPT、Claude、Cursor、Grok 及其他支持 Streamable HTTP 的 MCP 客户端,可以通过统一工具面理解项目、查看 Unified Diff、修改源码、运行任务、采集环境信息,并调用本地 MCP 与 Skill。.423 GitHub stars
- Alchemyby runekaagaardA MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.420 GitHub stars
- Databaseby executeautomationMCP Database Server is a new MCP Server which helps connect with Sqlite, SqlServer and Posgresql Databases.409 GitHub stars
- Bagelby Extelligence-aiPlain-English analysis of robotics, drone, and IoT data, with intelligent edge data reduction.408 GitHub stars
- Mssqlby RichardHanA Model Context Protocol (MCP) server for Microsoft SQL Server that enables secure database interactions through a controlled interface. Allows AI assistants to safely list tables, read data, and execute SQL queries while maintaining security and structure.406 GitHub stars
- DBCodeby dbcodeioQuery and explore 100+ databases through your DBCode connections.373 GitHub stars
- Mac Messagesby carterlasalleAn MCP server that securely interfaces with your iMessage database via the Model Context Protocol (MCP), allowing LLMs to query and analyze iMessage conversations. It includes robust phone number validation, attachment processing, contact management, group chat handling, and full support for sending and receiving messages.345 GitHub stars
- Affineby DAWNCR0WModel Context Protocol server for AFFiNE. Connect AI assistants to AFFiNE workspaces, documents, databases, and collaboration APIs over stdio or HTTP.339 GitHub stars
- Mistgateby MistgateBeta. Self-hosted VPN panel for family, friends or a small team: Hysteria2, VLESS REALITY, AmneziaWG and TrustTunnel, one link per person. Add servers from the browser over SSH; one TCP 443 for several protocols, decoy sites from a template, health checks, Telegram alerts, MCP for AI agents. Two Go binaries, SQLite, no Docker.335 GitHub stars
- Volcengineby volcengineVolcengine MCP Servers.334 GitHub stars
- Elasticsearchby cr7258MCP server for interacting with Elasticsearch.324 GitHub stars
- Sqlkitby geek-funAgentic SQL client & database GUI for 70+ databases, PostgreSQL, MySQL, SQL Server, Oracle, SQLite, DuckDB, ClickHouse, Cassandra, and more. Built-in AI assistant and MCP server. Privacy-first, open-source, cross-platform (macOS, Windows, Linux).312 GitHub stars
- Neo4jby neo4jNeo4j official MCP Server.309 GitHub stars
- API Agentby agoda-comUniversal MCP server for GraphQL/REST APIs.302 GitHub stars
- Consult7by szeiderMCP server to consult a language model with large context size.295 GitHub stars
- Pasalby ilhamfpPasal.id - The first open, AI-native Indonesian legal platform. MCP server + REST API + web app giving AI grounded access Indonesian laws.290 GitHub stars
More databases servers
- Mongo by kiliczsh
- OmniFocus by themotionmachine
- PerformanceStudio by erikdarlingdata
- Pgedge Postgres by pgEdge
- MCPBench by modelscope
- MySQL MCP Server Pro by wenb1n-dev
- Milvus by zilliztech
- Parse Dmarc by dmarcguardhq
- Xiyan by XGenerationLab
- MariaDB by MariaDB
- Opennutrition by deadletterq
- MongoDB Lens by furey
- Render by render-oss
- Flexible Graphrag by stevereiner
- Chat (PipedreamHQ) by PipedreamHQ
- Starrocks by StarRocks
- Supabase (coleam00) by coleam00
- Superset by aptro
- Salt Md by saltmd
- Argon by argon-lab
- DuckDB by ktanaka101
- Ericzakariasson Pg by ericzakariasson
- Faucet by faucetdb
- Garmin Givemydata by nrvim
- Mongo (QuantGeekDev) by QuantGeekDev
- MySQL (f4ww4z) by f4ww4z
- Werbot by werbot
- PostgreSQL Ops by call518
- Weaviate by weaviate
- Eion by eiondb
- Mssql (Aaronontheweb) by Aaronontheweb
- OneSelf by ptonlix
- BigQuery by ergut
- Express REST API And MCP Server Framework by iolufemi
- Prisma Postgres and Prisma Compute by Prisma
Questions about databases MCP servers
Which databases MCP server is the most popular?
By GitHub stars, Dbx from t8y2 leads the databases servers in our directory, with MCP Toolbox for Databases and AIHOT next. Stars show developer interest, not fit, so check that a server covers the job you need before you pick it.
Can a database MCP server delete data?
If the database user it connects with can, yes. Give it a read-only role, or a role limited to the tables the job needs, and point it at a replica when you can. Don't rely on the AI to avoid destructive queries.
Which is better for analytics questions, a database server or a BI tool?
A BI tool is better for shared, trusted dashboards. A database server is better for one-off questions and exploration. Many teams use both: the server for questions, the BI tool for the numbers the business reports on.
New MCP servers, tested, every week.
Applied Theory, Jeff Fermin's weekly newsletter: the servers and AI plays worth your time, explained for GTM teams.