MCP.Market

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 yet
    local · mixed88857k/wkFree
  • MCP Server for Snowflake from Snowflake Labs

    No reviews yet
    local · pypi29912k/wkFree
  • MCP server for PostgreSQL: local, Docker, RDS, Neon, Supabase, or behind an SSH bastion.

    No reviews yet
    local · npm231.2k/wkFree
  • PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants

    No reviews yet
    local · npm65.8k/wkFree
  • Run SQL queries and inspect database schemas through safe, visible MCP tools.

    No reviews yet
    local · npm31.4k/wkFree
  • MCP server for local SQLite database operations

    No reviews yet
    local · npm20144/wkFree
  • Enterprise PostgreSQL MCP server with NL queries, hybrid search (pgvector+BM25), and web UI

    No reviews yet
    local · oci231Free
  • MCP server for read-only MySQL database queries in Claude Desktop

    No reviews yet
    local · npm7137/wkFree
  • PostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filtering

    No reviews yet
    local · mixed1265/wkFree
  • SQLite MCP server with OAuth 2.1, HTTP/SSE, 122 tools, and smart tool filtering

    No reviews yet
    local · mixed1147/wkFree
  • MCP server for read-only PostgreSQL database queries in Claude Desktop

    No reviews yet
    local · npm2132/wkFree
  • MCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.

    No reviews yet
    local · mixed5136/wkFree

36 more, graded and ranked

  • 13
    PostgreSQL (hardened, read-only)
    Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.
    C
  • 14
    Database Sqlite
    MCP server for SQLite databases. Read-only by default, row caps, statement timeouts.
    A
  • 15
    SQL Server MCP
    MCP server for DBAs running dozens of SQL Server instances: grouped connections, plans, indexes
    B
  • 16
    Clickhouse
    ClickHouse query & management for AI agents — SQL-classified read/write/destructive gating.
    B
  • 17
    SQL Benchmarks Lab
    Query pre-computed SQL engine benchmarks. Runs standalone, no server setup required.
    A
  • 18
    SQL Card Data Lint
    Names every column, index, view and seed row in a .sql migration that stores card data, with its PCI
    A
  • 19
    Snowflake MCP Server
    A Snowflake MCP server — SQL queries, schema exploration, and data insights for AI assistants
    B
  • 20
    MySQL MCP
    MCP server for one MySQL database: schema, read-only queries and guarded writes.
    B
  • 21
    PostgreSQL performance Tuner MCP Server
    provides AI-powered PostgreSQL performance tuning capabilities.
    B
  • 22
    Microsoft SQL Server
    MCP server for SQL Server metadata, parameterized queries, plan analysis, and writes opt-in.
    B
  • 23
    SQL Server
    Servidor MCP para SQL Server com controle de permissões e modo somente-leitura
    B
  • 24
    NexQL Postgres MCP
    Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.
    B
  • 25
    BigQuery Data Platform
    Read-only BigQuery tools for plain-language data questions, with a cost gate on every query
    A
  • 26
    MySQL AIops
    Governed MySQL/MariaDB DBA ops: slow-query, lock-wait, replication & fragmentation RCA; 35 tools.
    A
  • 27
    Postgres AIops
    Governed PostgreSQL DBA ops: slow-query RCA, bloat/vacuum & blocking-lock analysis; 35 MCP tools.
    A
  • 28
    MySQL Legacy MCP
    Inspect and query MySQL 5.0–5.6; opt-in INSERT/UPDATE/DELETE/DDL. Live-verified 5.0–8.0.
    B
  • 29
    DBConvert Streams (Federated SQL)
    Read-only SQL across your PostgreSQL, MySQL, S3 buckets and local data files, in one query.
    B
  • 30
    SQL Builder AI
    Sql Builder Ai MCP Server by MEOK AI Labs
    A
  • 31
    Tokenlite Mysql
    A secure, efficient, and intelligent MySQL server for the Model Context Protocol
    B
  • 32
    Postgres MCP
    PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.
    B
  • 33
    Prisma Postgres and Prisma Compute
    Manage Prisma Postgres and existing Prisma Compute apps. Requires sign-in; does not upload code.
    B
  • 34
    ClickHouse
    Read-only MCP server for ClickHouse metadata, parameterized queries, and plan analysis.
    B
  • 35
    SQL
    Read-only SQL querying + schema introspection over Postgres & SQLite, with a gated write mode.
    B
  • 36
    Mysql
    An MCP server for MySQL databases.
    B
  • 37
    MySQL (security-first)
    Security-first MySQL MCP server with AST validation, table whitelist, schema resources, and audit.
    B
  • 38
    Ainative Postgres
    Zero-config Postgres MCP with auto-provisioning — drop-in for server-postgres.
    A
  • 39
    Sap Abap SQL
    Checks and fixes ABAP Open SQL for SAP's ADT data-preview console. Connects to nothing.
    A
  • 40
    Postgres
    MCP server for interacting with PostgreSQL databases
    B
  • 41
    MySQL Ops MCP
    MySQL MCP server: browse schema, query, CRUD. Delete/drop gated by user approval.
    B
  • 42
    Discord snowflake id shape, value discarded
    Discord snowflake id shape, value discarded
    A
  • 43
    Postgres URL Shape
    Check a Postgres URL shape. Credentials discarded.
    A
  • 44
    Postgres Connector
    MCP server for querying PostgreSQL databases
    A
  • 45
    DBeast PostgreSQL MCP
    PostgreSQL MCP server for schema, query, health, security, and performance analysis.
    C
  • 46
    Postgres
    PostgreSQL MCP — query databases, inspect schemas, explain queries.
    A
  • 47
    sw-postgres-mcp
    Safe-write Postgres MCP server with preview-before-execute writes and rollback safety.
    B
  • 48
    Postgres
    PostgreSQL MCP server with 15 tools (SQL, EXPLAIN, health, indexes) plus a Gradio UI with LLM chat.
    B

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.

Gateway docs
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