Topic
MCP servers for SQL databases
Ask questions of a real database in plain language.
These are the most useful servers on this site and the easiest to regret. Handing an agent a database connection turns every vague instruction into SQL against real rows, and most of these servers will happily run whatever they are given. The good ones make read-only the default rather than an option.
- Graded servers
- 400
- Grade A
- 143
- Run remotely
- 96
- Reviewed by users
- 0
Before you install one
Three things that separate the servers here, none of which shows up in a description.
- Does it have a read-only mode, and is it on?
- Some of these expose a flag or a separate read-only connection. Several do not, and will run an UPDATE as readily as a SELECT. If you only ever want answers, an agent that cannot write is not a limitation, it is the feature.
- The credential is the real boundary.
- A server that calls itself read-only but connects as the owner is not read-only, because the limit lives in the tool and the tool is one prompt away from being talked around. Create a role that can only read, and give it that. This is the single most effective thing on this page.
- Does it cap what a query returns?
- An agent that runs SELECT * on a large table pulls the whole table into the context window, which is slow, expensive, and occasionally the fastest way to leak a customer list into a chat log. Look for a row limit you can set.
Every listing below has a scan report saying what the server asks for and what it does with it. The rubric is on how we grade.
The SQL servers we would look at first
Reviewed servers rank first, then the ones with real adoption. At most two per publisher, so no account can fill the list. Nothing here is sponsored.
Official ClickHouse MCP server for querying and exploring ClickHouse clusters and chDB.
No reviews yetlocal · mixed88857k/wkFreeMCP Server for Snowflake from Snowflake Labs
No reviews yetlocal · pypi29912k/wkFreeMCP server for PostgreSQL: local, Docker, RDS, Neon, Supabase, or behind an SSH bastion.
No reviews yetlocal · npm231.2k/wkFreePostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants
No reviews yetlocal · npm65.8k/wkFreeRun SQL queries and inspect database schemas through safe, visible MCP tools.
No reviews yetlocal · npm31.4k/wkFreeMCP server for local SQLite database operations
No reviews yetlocal · npm20144/wkFreeEnterprise PostgreSQL MCP server with NL queries, hybrid search (pgvector+BM25), and web UI
No reviews yetlocal · oci231FreeMCP server for read-only MySQL database queries in Claude Desktop
No reviews yetlocal · npm7137/wkFreePostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filtering
No reviews yetlocal · mixed1265/wkFreeSQLite MCP server with OAuth 2.1, HTTP/SSE, 122 tools, and smart tool filtering
No reviews yetlocal · mixed1147/wkFreeMCP server for read-only PostgreSQL database queries in Claude Desktop
No reviews yetlocal · npm2132/wkFreeMCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.
No reviews yetlocal · mixed5136/wkFree
36 more, graded and ranked
- 13PostgreSQL (hardened, read-only)Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.not reviewedGrowingC
- 14Database SqliteMCP server for SQLite databases. Read-only by default, row caps, statement timeouts.not reviewedGrowingA
- 15SQL Server MCPMCP server for DBAs running dozens of SQL Server instances: grouped connections, plans, indexesnot reviewedGrowingB
- 16ClickhouseClickHouse query & management for AI agents — SQL-classified read/write/destructive gating.not reviewedGrowingB
- 17SQL Benchmarks LabQuery pre-computed SQL engine benchmarks. Runs standalone, no server setup required.not reviewedGrowingA
- 18SQL Card Data LintNames every column, index, view and seed row in a .sql migration that stores card data, with its PCInot reviewedGrowingA
- 19Snowflake MCP ServerA Snowflake MCP server — SQL queries, schema exploration, and data insights for AI assistantsnot reviewedGrowingB
- 20MySQL MCPMCP server for one MySQL database: schema, read-only queries and guarded writes.not reviewedGrowingB
- 21PostgreSQL performance Tuner MCP Serverprovides AI-powered PostgreSQL performance tuning capabilities.not reviewedGrowingB
- 22Microsoft SQL ServerMCP server for SQL Server metadata, parameterized queries, plan analysis, and writes opt-in.not reviewedGrowingB
- 23SQL ServerServidor MCP para SQL Server com controle de permissões e modo somente-leituranot reviewedGrowingB
- 24NexQL Postgres MCPStandalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.not reviewedGrowingB
- 25BigQuery Data PlatformRead-only BigQuery tools for plain-language data questions, with a cost gate on every querynot reviewedGrowingA
- 26MySQL AIopsGoverned MySQL/MariaDB DBA ops: slow-query, lock-wait, replication & fragmentation RCA; 35 tools.not reviewedGrowingA
- 27Postgres AIopsGoverned PostgreSQL DBA ops: slow-query RCA, bloat/vacuum & blocking-lock analysis; 35 MCP tools.not reviewedGrowingA
- 28MySQL Legacy MCPInspect and query MySQL 5.0–5.6; opt-in INSERT/UPDATE/DELETE/DDL. Live-verified 5.0–8.0.not reviewedGrowingB
- 29
DBConvert Streams (Federated SQL)Read-only SQL across your PostgreSQL, MySQL, S3 buckets and local data files, in one query.not reviewedGrowingB - 30SQL Builder AISql Builder Ai MCP Server by MEOK AI Labsnot reviewedGrowingA
- 31Tokenlite MysqlA secure, efficient, and intelligent MySQL server for the Model Context Protocolnot reviewedGrowingB
- 32
Postgres MCPPostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.not reviewedGrowingB - 33Prisma Postgres and Prisma ComputeManage Prisma Postgres and existing Prisma Compute apps. Requires sign-in; does not upload code.not reviewedGrowingB
- 34ClickHouseRead-only MCP server for ClickHouse metadata, parameterized queries, and plan analysis.not reviewedGrowingB
- 35SQLRead-only SQL querying + schema introspection over Postgres & SQLite, with a gated write mode.not reviewedGrowingB
- 36MysqlAn MCP server for MySQL databases.not reviewedGrowingB
- 37MySQL (security-first)Security-first MySQL MCP server with AST validation, table whitelist, schema resources, and audit.not reviewedGrowingB
- 38Ainative PostgresZero-config Postgres MCP with auto-provisioning — drop-in for server-postgres.not reviewedGrowingA
- 39
Sap Abap SQLChecks and fixes ABAP Open SQL for SAP's ADT data-preview console. Connects to nothing.not reviewedGrowingA - 40PostgresMCP server for interacting with PostgreSQL databasesnot reviewedGrowingB
- 41MySQL Ops MCPMySQL MCP server: browse schema, query, CRUD. Delete/drop gated by user approval.not reviewedNewB
- 42Discord snowflake id shape, value discardedDiscord snowflake id shape, value discardednot reviewedNewA
- 43Postgres URL ShapeCheck a Postgres URL shape. Credentials discarded.not reviewedNewA
- 44Postgres ConnectorMCP server for querying PostgreSQL databasesnot reviewedNewA
- 45DBeast PostgreSQL MCPPostgreSQL MCP server for schema, query, health, security, and performance analysis.not reviewedNewC
- 46PostgresPostgreSQL MCP — query databases, inspect schemas, explain queries.not reviewedNewA
- 47sw-postgres-mcpSafe-write Postgres MCP server with preview-before-execute writes and rollback safety.not reviewedNewB
- 48PostgresPostgreSQL MCP server with 15 tools (SQL, EXPLAIN, health, indexes) plus a Gradio UI with LLM chat.not reviewedNewB
Or try them without installing any
Add the gateway once and your agent runs search "sql", reads the grades, and calls the one it picks. Nothing to install per server, and an F-graded server cannot be reached through it.
claude mcp add --transport http mcp-market https://gw.mcp.market/mcp
Related
MCP servers for vector databasesMCP servers for RAGMCP servers for monitoring and logsBest Databases MCP serversAll topics