Best MCP servers for SQL querying
1,227 MCP servers in the Official MCP Registry do SQL querying. 518 can be used as a hosted endpoint, with nothing to install, and 943 publish their source code.
| # | Tool | Relevance | Connect | Code | Seen |
|---|---|---|---|---|---|
| 201 | nifi-clickhouse-kafka-mcp Read-only Apache NiFi, ClickHouse and Kafka access with OIDC, audit and secret masking | In name clickhouse | HOSTEDLOCAL | Open | 1d ago |
| 202 | Iron Suite — Zero-Cloud SQLite FTS5 Memory Hub Zero-cloud SQLite FTS5 stdio MCP memory hub with byte budgets, drift audit & local Second Brain UI. | In name sqlite | HOSTEDLOCAL | Open | 1d ago |
| 203 | Iron Stack (Iron Memory) — Zero-Cloud SQLite FTS5 Memory Hub Zero-cloud SQLite FTS5 stdio MCP memory hub, cross-repo system graph and local Second Brain UI. | In name sqlite | HOSTEDLOCAL | Open | 1d ago |
| 204 | tokenlite-mysql-mcp A secure, efficient, and intelligent MySQL server for the Model Context Protocol | In name mysql | HOSTEDLOCAL | Open | 1d ago |
| 205 | Microsoft SQL Server MCP server for SQL Server metadata, parameterized queries, plan analysis, and writes opt-in. | In name sql | HOSTEDLOCAL | Open | 1d ago |
| 206 | ClickHouse MCP server for ClickHouse metadata, parameterized queries, plan analysis, and writes opt-in. | In name clickhouse | HOSTEDLOCAL | Open | 1d ago |
| 207 | GenPark Distributed ID Snowflake Generator 64-bit Twitter Snowflake-compatible distributed unique ID generator with clock backwards drift prote | In name snowflake | HOSTEDLOCAL | Open | 1d ago |
| 208 | GenPark SQL Injection AST Taint Analyzer Dynamic SQL AST taint tracking and static vulnerability auditor detecting tautology injections | In name sql | HOSTEDLOCAL | Open | 1d ago |
| 209 | Health Data (your own Supabase) Your health data (weight, macros, weigh-ins) as MCP tools — in your own Supabase, zero custody. | In name supabase | HOSTEDLOCAL | Open | 1d ago |
| 210 | postgres-schema-mcp Schema access for an agent is a retrieval problem, not a dump. | In name postgres | HOSTEDLOCAL | Open | 1d ago |
| 211 | Spark SQL Query Spark SQL clusters via Thrift/HiveServer2. Works with Spark, EMR, Hive, Impala. | In name sql | HOSTEDLOCAL | Open | 1d ago |
| 212 | PostgreSQL MCP Server PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants | In name postgresql | HOSTEDLOCAL | Open | 1d ago |
| 213 | SQL Server MCP (macOS) SQL Server MCP with RAG capabilities for macOS (Docker SQL Server support) | In name sql | HOSTEDLOCAL | Open | 1d ago |
| 214 | bigquery-mcp A SnowLeopardAI-managed MCP server that provides access to Google BigQuery data. | In name bigquery | HOSTEDLOCAL | Open | 1d ago |
| 215 | MyBatis SQL Visualizer MyBatis SQL preview, runtime capture, EXPLAIN — 11 tools on IntelliJ IDEA's MCP Server. | In name sql | HOSTEDLOCAL | Open | 1d ago |
| 216 | sqlglass SQL Server / Azure SQL for agents: real schema, lint, read-only runs, plans, write previews. | In name sql | HOSTEDLOCAL | Open | 1d ago |
| 217 | MySQL Legacy MCP Inspect and query MySQL 5.0–5.6; opt-in INSERT/UPDATE/DELETE/DDL. Live-verified 5.0–8.0. | In name mysql | HOSTEDLOCAL | Open | 1d ago |
| 218 | DBShield Database Guardrail & Sandboxing MCP Server Safety-first Database Guardrail & Sandboxing MCP Server for AI Coding Agents | In name database | HOSTEDLOCAL | Open | 1d ago |
| 219 | MockForge AI Relational Mock Database & Fixture Generator Zero-cost relational mock DB and synthetic fixture generator with Kahn DAG integrity for AI agents | In name database | HOSTEDLOCAL | Open | 1d ago |
| 220 | SqlToAi Microsoft SQL Server schema discovery and SQL tools over local stdio on Windows x64. | In name sql | HOSTEDLOCAL | Open | 1d ago |
| 221 | Postgres (read-only transactions) Drop-in replacement for @modelcontextprotocol/server-postgres that is actually read-only. | In name postgres | HOSTEDLOCAL | Open | 1d ago |
| 222 | sql-steward The agent never writes SQL: queries compile from a semantic layer you control, PII refused first. | In name sql | HOSTEDLOCAL | Open | 1d ago |
| 223 | SqlServerMcp MCP server for SQL Server: schema inspection, safe read-only queries, query plan analysis | In name sql | HOSTEDLOCAL | Open | 1d ago |
| 224 | NexQL Postgres MCP Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere. | In name postgres | HOSTEDLOCAL | Open | 1d ago |
| 225 | MySQL (security-first) Security-first MySQL MCP server with AST validation, table whitelist, schema resources, and audit. | In name mysql | HOSTEDLOCAL | Open | 1d ago |
| 226 | MySQL Ops MCP MySQL MCP server: browse schema, query, CRUD. Delete/drop gated by user approval. | In name mysql | HOSTEDLOCAL | Open | 1d ago |
| 227 | SqlServer.Rules Analyze T-SQL scripts for design, naming, and performance issues and prevent bad practices. | In name sql | HOSTEDLOCAL | Open | 1d ago |
| 228 | sqlanywhere-mcp MCP server for SAP SQL Anywhere 17: explore schemas and run read-only queries. | In name sql | HOSTEDLOCAL | Open | 1d ago |
| 229 | clickhouse-dataops-mcp DataOps ClickHouse MCP server with query optimization and pipeline monitoring | In name clickhouse | HOSTEDLOCAL | Open | 1d ago |
| 230 | ainative-postgres-mcp Zero-config Postgres MCP with auto-provisioning — drop-in for server-postgres. | In name postgres | HOSTEDLOCAL | Open | 1d ago |
| 231 | MySQL AIops Governed MySQL/MariaDB DBA ops: slow-query, lock-wait, replication & fragmentation RCA; 35 tools. | In name mysql | HOSTEDLOCAL | Open | 1d ago |
| 232 | APoint MS SQL Microsoft SQL Server for AI agents: schema introspection, safe queries and an AI Insights cache. | In name sql | HOSTEDLOCAL | Open | 1d ago |
| 233 | Zero Parades database ZERO PARADES skills, thoughts, items, characters, places, checks, dialogue and planner links | In name database | HOSTEDLOCAL | Open | 1d ago |
| 234 | Devart MCP Server for MySQL (ADO.NET) Schema-aware read/write access to MySQL through Devart dotConnect ADO.NET data provider. | In name mysql | HOSTEDLOCAL | Open | 1d ago |
| 235 | Devart MCP Server for SQL Server (ADO.NET) Schema-aware read/write access to SQL Server through Devart dotConnect ADO.NET data provider. | In name sql | HOSTEDLOCAL | Open | 1d ago |
| 236 | Devart MCP Server for SQLite (ADO.NET) Schema-aware read/write access to SQLite through Devart dotConnect ADO.NET data provider. | In name sqlite | HOSTEDLOCAL | Open | 1d ago |
| 237 | Devart MCP Server for PostgreSQL (ADO.NET) Schema-aware read/write access to PostgreSQL through Devart dotConnect ADO.NET data provider. | In name postgresql | HOSTEDLOCAL | Open | 1d ago |
| 238 | Postgres and REST twins Twins for Postgres and REST: declared-subset Postgres, spec-defined REST, migration proof. | In name postgres | HOSTEDLOCAL | Open | 1d ago |
| 239 | sqlite-mcp-server SQLite MCP server with 73 tools for JSONB, full-text search, geospatial, and analytics. | In name sqlite | HOSTEDLOCAL | Open | 7d ago |
| 240 | Redshift MCP Server Secure, read-only access to Amazon Redshift with schema introspection and smart sampling | In name redshift | HOSTEDLOCAL | — | 1d ago |
| 241 | BigQuery MCP BigQuery MCP server: list datasets and tables, read schemas, run SELECT queries with a byte limit. | In name bigquery | HOSTEDLOCAL | — | 1d ago |
| 242 | SqlCertForge SQL Server and SSRS TLS certificate binding, rotation and audit. Read-only tools free. | In name sql | HOSTEDLOCAL | — | 1d ago |
| 243 | Citation Safe Verifier Verifies legal citations vs primary sources: existence, quote match, proposition support. | In name database | HOSTEDLOCAL | Open | 1d ago |
| 244 | Eyepatch, the supplement ad library Free library of 1,532 long-running static nutrition ads (images and carousels) from 289 brands. | In name database | HOSTEDLOCAL | — | 1d ago |
| 245 | SaturnSQL Query Postgres, MySQL, SQL Server, Oracle, BigQuery, ClickHouse and Redshift from your AI client. | In description postgres | HOSTEDLOCAL | — | 1d ago |
| 246 | Faucet SQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 247 | amnesic Persistent semantic memory for SQL databases. Postgres, MySQL, MSSQL, SQLite. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 248 | DB MCP Server Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support. | In description database | HOSTEDLOCAL | Open | 8h ago |
| 249 | db-gateway 145+ tools across 8 databases: MySQL, PostgreSQL, Redshift, MongoDB, Redis, Kafka, and more | In description databases | HOSTEDLOCAL | Open | 8h ago |
FAQ
How many MCP servers are there for SQL querying?
Electra Index lists 1,227 active MCP servers for SQL querying from the Official MCP Registry. 518 offer a hosted endpoint and 943 publish their source code.
Is there a hosted MCP server for SQL querying, with nothing to install?
Yes. Citation Safe Verifier, Eyepatch, the supplement ad library and SaturnSQL declare a remote endpoint you add to your assistant's MCP settings.
Is there a ready-made AI agent for SQL querying instead?
Yes. If you prefer a finished product to plugging tools into your own assistant, Apollo.io, ThoughtSpot Spotter and Wren AI do this out of the box.
How this list is ordered: a tool comes first when the use case appears in its name rather than only in its description, then when its description covers more aspects of the use case, then when it offers a hosted endpoint, then when its source code is public, then by how recently our robot saw it in the Official MCP Registry. The match to SQL Querying comes from the publisher's description (keyword method), not from a test of the tool. Only active tools with a real description are listed. No tool pays to appear here.