List your agent
MCP use case · SQL Querying

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.

1,227 servers518 hosted, nothing to install943 open source6 ready-made AI agents
#ToolRelevanceConnectCodeSeen
201nifi-clickhouse-kafka-mcp
Read-only Apache NiFi, ClickHouse and Kafka access with OIDC, audit and secret masking
In name
clickhouse
HOSTEDLOCALOpen1d ago
202Iron 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
HOSTEDLOCALOpen1d ago
203Iron 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
HOSTEDLOCALOpen1d ago
204tokenlite-mysql-mcp
A secure, efficient, and intelligent MySQL server for the Model Context Protocol
In name
mysql
HOSTEDLOCALOpen1d ago
205Microsoft SQL Server
MCP server for SQL Server metadata, parameterized queries, plan analysis, and writes opt-in.
In name
sql
HOSTEDLOCALOpen1d ago
206ClickHouse
MCP server for ClickHouse metadata, parameterized queries, plan analysis, and writes opt-in.
In name
clickhouse
HOSTEDLOCALOpen1d ago
207GenPark Distributed ID Snowflake Generator
64-bit Twitter Snowflake-compatible distributed unique ID generator with clock backwards drift prote
In name
snowflake
HOSTEDLOCALOpen1d ago
208GenPark SQL Injection AST Taint Analyzer
Dynamic SQL AST taint tracking and static vulnerability auditor detecting tautology injections
In name
sql
HOSTEDLOCALOpen1d ago
209Health Data (your own Supabase)
Your health data (weight, macros, weigh-ins) as MCP tools — in your own Supabase, zero custody.
In name
supabase
HOSTEDLOCALOpen1d ago
210postgres-schema-mcp
Schema access for an agent is a retrieval problem, not a dump.
In name
postgres
HOSTEDLOCALOpen1d ago
211Spark SQL
Query Spark SQL clusters via Thrift/HiveServer2. Works with Spark, EMR, Hive, Impala.
In name
sql
HOSTEDLOCALOpen1d ago
212PostgreSQL MCP Server
PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants
In name
postgresql
HOSTEDLOCALOpen1d ago
213SQL Server MCP (macOS)
SQL Server MCP with RAG capabilities for macOS (Docker SQL Server support)
In name
sql
HOSTEDLOCALOpen1d ago
214bigquery-mcp
A SnowLeopardAI-managed MCP server that provides access to Google BigQuery data.
In name
bigquery
HOSTEDLOCALOpen1d ago
215MyBatis SQL Visualizer
MyBatis SQL preview, runtime capture, EXPLAIN — 11 tools on IntelliJ IDEA's MCP Server.
In name
sql
HOSTEDLOCALOpen1d ago
216sqlglass
SQL Server / Azure SQL for agents: real schema, lint, read-only runs, plans, write previews.
In name
sql
HOSTEDLOCALOpen1d ago
217MySQL 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
HOSTEDLOCALOpen1d ago
218DBShield Database Guardrail & Sandboxing MCP Server
Safety-first Database Guardrail & Sandboxing MCP Server for AI Coding Agents
In name
database
HOSTEDLOCALOpen1d ago
219MockForge 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
HOSTEDLOCALOpen1d ago
220SqlToAi
Microsoft SQL Server schema discovery and SQL tools over local stdio on Windows x64.
In name
sql
HOSTEDLOCALOpen1d ago
221Postgres (read-only transactions)
Drop-in replacement for @modelcontextprotocol/server-postgres that is actually read-only.
In name
postgres
HOSTEDLOCALOpen1d ago
222sql-steward
The agent never writes SQL: queries compile from a semantic layer you control, PII refused first.
In name
sql
HOSTEDLOCALOpen1d ago
223SqlServerMcp
MCP server for SQL Server: schema inspection, safe read-only queries, query plan analysis
In name
sql
HOSTEDLOCALOpen1d ago
224NexQL Postgres MCP
Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.
In name
postgres
HOSTEDLOCALOpen1d ago
225MySQL (security-first)
Security-first MySQL MCP server with AST validation, table whitelist, schema resources, and audit.
In name
mysql
HOSTEDLOCALOpen1d ago
226MySQL Ops MCP
MySQL MCP server: browse schema, query, CRUD. Delete/drop gated by user approval.
In name
mysql
HOSTEDLOCALOpen1d ago
227SqlServer.Rules
Analyze T-SQL scripts for design, naming, and performance issues and prevent bad practices.
In name
sql
HOSTEDLOCALOpen1d ago
228sqlanywhere-mcp
MCP server for SAP SQL Anywhere 17: explore schemas and run read-only queries.
In name
sql
HOSTEDLOCALOpen1d ago
229clickhouse-dataops-mcp
DataOps ClickHouse MCP server with query optimization and pipeline monitoring
In name
clickhouse
HOSTEDLOCALOpen1d ago
230ainative-postgres-mcp
Zero-config Postgres MCP with auto-provisioning — drop-in for server-postgres.
In name
postgres
HOSTEDLOCALOpen1d ago
231MySQL AIops
Governed MySQL/MariaDB DBA ops: slow-query, lock-wait, replication & fragmentation RCA; 35 tools.
In name
mysql
HOSTEDLOCALOpen1d ago
232APoint MS SQL
Microsoft SQL Server for AI agents: schema introspection, safe queries and an AI Insights cache.
In name
sql
HOSTEDLOCALOpen1d ago
233Zero Parades database
ZERO PARADES skills, thoughts, items, characters, places, checks, dialogue and planner links
In name
database
HOSTEDLOCALOpen1d ago
234Devart MCP Server for MySQL (ADO.NET)
Schema-aware read/write access to MySQL through Devart dotConnect ADO.NET data provider.
In name
mysql
HOSTEDLOCALOpen1d ago
235Devart 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
HOSTEDLOCALOpen1d ago
236Devart MCP Server for SQLite (ADO.NET)
Schema-aware read/write access to SQLite through Devart dotConnect ADO.NET data provider.
In name
sqlite
HOSTEDLOCALOpen1d ago
237Devart MCP Server for PostgreSQL (ADO.NET)
Schema-aware read/write access to PostgreSQL through Devart dotConnect ADO.NET data provider.
In name
postgresql
HOSTEDLOCALOpen1d ago
238Postgres and REST twins
Twins for Postgres and REST: declared-subset Postgres, spec-defined REST, migration proof.
In name
postgres
HOSTEDLOCALOpen1d ago
239sqlite-mcp-server
SQLite MCP server with 73 tools for JSONB, full-text search, geospatial, and analytics.
In name
sqlite
HOSTEDLOCALOpen7d ago
240Redshift MCP Server
Secure, read-only access to Amazon Redshift with schema introspection and smart sampling
In name
redshift
HOSTEDLOCAL—1d ago
241BigQuery MCP
BigQuery MCP server: list datasets and tables, read schemas, run SELECT queries with a byte limit.
In name
bigquery
HOSTEDLOCAL—1d ago
242SqlCertForge
SQL Server and SSRS TLS certificate binding, rotation and audit. Read-only tools free.
In name
sql
HOSTEDLOCAL—1d ago
243Citation Safe Verifier
Verifies legal citations vs primary sources: existence, quote match, proposition support.
In name
database
HOSTEDLOCALOpen1d ago
244Eyepatch, 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
245SaturnSQL
Query Postgres, MySQL, SQL Server, Oracle, BigQuery, ClickHouse and Redshift from your AI client.
In description
postgres
HOSTEDLOCAL—1d ago
246Faucet
SQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.
In description
sql
HOSTEDLOCALOpen1d ago
247amnesic
Persistent semantic memory for SQL databases. Postgres, MySQL, MSSQL, SQLite.
In description
sql
HOSTEDLOCALOpen1d ago
248DB MCP Server
Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.
In description
database
HOSTEDLOCALOpen8h ago
249db-gateway
145+ tools across 8 databases: MySQL, PostgreSQL, Redshift, MongoDB, Redis, Kafka, and more
In description
databases
HOSTEDLOCALOpen8h 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.