Best-of MCP topic
Best MCP Servers for Database
Top MCP servers for connecting AI agents to SQL and NoSQL databases. Query data, inspect schemas, and manage databases safely.
20 servers · Updated 2026 · From 2805 reviewed
Top Picks
Open source MCP server specializing in easy, fast, and secure tools for Databases.
Tools (12)
Compatibility
Minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB
Compatibility
Install
Claude Code
claude mcp add dbhub -- npx -y dbhubMCP server for secure database access (PostgreSQL, MySQL, SQLite) with parameterized queries and schema inspection
Compatibility
Install
Claude Code
claude mcp add mcp-datalink -- npx -y mcp-datalinkAll Database Servers
Fastmcp Sqltools
Scan found nothingA MCP server provides SQL database access with support for PostgreSQL, MySQL, and SQLite.
claude mcp add fastmcp-sqltools -- uvx fastmcp-sqltools SmartDB MCP
Scan found nothingA universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optimization, and more. Compatible with mainstream databases including MySQL, PostgreSQL, SQL Server, MariaDB, Dameng, and Oracle. Supports Streamable HTTP, SSE, and STDIO; integrates OAuth 2.0; and is designed for easy customization and extension by developers.
DB Connect MCP
Scan found nothingMulti-database MCP server for PostgreSQL, MySQL, and ClickHouse
claude mcp add db-connect-mcp -- uvx db-connect-mcp MCP Server Mysql
Scan found nothingMySQL database integration in NodeJS with configurable access controls and schema inspection
Arcadedb
Scan found nothingBuilt-in MCP server for ArcadeDB, a multi-model database (graph, document, key-value, time-series, vector) with SQL, Cypher, Gremlin, and MongoDB QL support.
Planetscale MCP Server
Scan found nothingThe PlanetScale CLI includes an MCP server that provides AI tools direct access to your PlanetScale databases.
Mysql MCP Server Pro
Scan found nothingSupports SSE, STDIO; not only limited to MySQL's CRUD functionality; also includes database exception analysis capabilities; controls database permissions based on roles; and makes it easy for developers to extend tools with customization
MCP Mysql Server
Scan found nothingNode.js-based MySQL database integration that provides secure MySQL database operations
MCP Libsql
Scan found nothingProduction-ready MCP server for libSQL databases with comprehensive security and management tools.
PostgreSQL MCP Server
Scan found nothingPostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filtering
claude mcp add postgresql-mcp -- npx -y postgres-mcp PostgreSQL MCP Server
Scan found nothingEnterprise PostgreSQL MCP server with 63 tools, 10 resources, 10 prompts for AI-native operations
claude mcp add neverinfamous-postgres-mcp -- npx -y postgres-mcp-server Read Only Local Mysql MCP Server
Scan found nothingMCP server for read-only MySQL database queries in Claude Desktop
claude mcp add read-only-local-mysql-mcp-server -- npx -y read-only-local-mysql-mcp-server Mysql MCP
Scan found nothingEnterprise-grade MySQL MCP Server with OAuth 2.0, 106 tools, and Docker deployment
claude mcp add mysql-mcp -- npx -y mysql-mcp Migrationpilot
Scan found nothing83 rules to catch dangerous PostgreSQL migrations before production. Lock analysis + auto-fix.
claude mcp add migrationpilot -- npx -y migrationpilot Read Only Local Postgres MCP Server
Scan found nothingMCP server for read-only PostgreSQL database queries in Claude Desktop
claude mcp add read-only-local-postgres-mcp-server -- npx -y read-only-local-postgres-mcp-server DB MCP (SQLite MCP Server)
Scan found nothingSQLite MCP server with OAuth 2.1, HTTP/SSE, 122 tools, and smart tool filtering
claude mcp add db-mcp -- npx -y db-mcp Postgres Scout MCP
Scan found nothingScout your PostgreSQL databases with AI - safety features, monitoring, and data quality
claude mcp add postgres-scout-mcp -- npx -y postgres-scout-mcp FAQ
What are the best MCP servers for Database?
These are the 20 highest-signal Database servers from a directory of 2805, ranked by stars, maintenance recency and what our automated scan returned. Nobody here has used them: this is a sort, not a review. Genai Toolbox is top of the list.
How do I install these MCP servers?
Each server page includes one-click install commands for Claude Code, Cursor, and VS Code. Click on any server above to see its install instructions.
Are these MCP servers safe to use?
No. 2,316 of the 2,805 servers here were shallow-cloned and put through five keyword searches in March 2026; 489 were never scanned at all. A green badge means those five searches matched nothing, which is not the same as safe — a grep cannot follow a variable or tell you what a server does once it is running. Read what the scan actually checks at /mcp/security, and read the source before you run anything.
Use the shortlist, then open a concrete workflow
Best-of pages are useful for narrowing options. The next practical move is a specific server detail page or a focused browser-first tool route.