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
151Corollary — scientific AI models, tools and databases
Find open biology and chemistry AI models, bioinformatics tools and databases, and run them online.
In name
databases
HOSTEDLOCAL—1d ago
152Austin Happy Hour Database
Find Austin happy hours by day, time, or location, with food and drink deals and venue source links.
In name
database
HOSTEDLOCAL—1d ago
153DrawSQL
Turn SQL into an editable ER diagram link. With an API token, read diagrams and propose changes.
In name
sql
HOSTEDLOCAL—1d ago
154SVTR AI Venture Database
Curated & traceable AI venture data: verified funding events, org & founder profiles, US + China
In name
database
HOSTEDLOCAL—1d ago
155rabbitmq-elasticsearch-postgres-stack-generator-mongo
RabbitMQ + Elasticsearch + Postgres Stack Generator (Mongo)
In name
postgres
HOSTEDLOCAL—1d ago
156rabbitmq-elasticsearch-mongodb-stack-generator
RabbitMQ + Elasticsearch + MongoDB Stack Generator
In name
mongodb
HOSTEDLOCAL—1d ago
157rabbitmq-elasticsearch-postgres-stack-generator-elasticsearch-elasticsearch
RabbitMQ + Elasticsearch + Postgres Stack Generator (Elasticsearch/Elasticsearch)
In name
postgres
HOSTEDLOCAL—1d ago
158elasticsearch-mongodb-redis-stack-generator-elasticsearch-elasticsearch
Elasticsearch + MongoDB + Redis Stack Generator (Elasticsearch/Elasticsearch)
In name
mongodb
HOSTEDLOCAL—1d ago
159EOSL.ai — Hardware End-of-Life Database
Hardware end-of-life dates by part number, each linked to the vendor's own bulletin.
In name
database
HOSTEDLOCAL—1d ago
160sap-abap-sql
Checks and fixes ABAP Open SQL for SAP's ADT data-preview console. Connects to nothing.
In name
sql
HOSTEDLOCALOpen8h ago
161DexSQL
SQL for Android APK and DEX files: classes, methods, strings, references and smali.
In name
sql
HOSTEDLOCALOpen8h ago
162SQL Account (read-only)
Read-only SQL Account (SQL Accounting) data: customers, stock, invoices and payments.
In name
sql
HOSTEDLOCALOpen8h ago
163SQLBot MCP Proxy
MCP server proxy for SQLBot Text-to-SQL queries and report generation.
In name
sql
HOSTEDLOCALOpen8h ago
164sqlite-graph-memory
Recall over your markdown notes: vector search plus your [[wikilinks]] as a graph, in SQLite.
In name
sqlite
HOSTEDLOCALOpen8h ago
165SQL Sentinel MCP Server
SQL Server monitoring and diagnostics for AI agents using Extended Events. No ODBC drivers required.
In name
sql
HOSTEDLOCALOpen8h ago
166sqlsure
Semantic SQL inspector: catches double-counting, wrong joins, PII exposure before execution.
In name
sql
HOSTEDLOCALOpen8h ago
167MADB — Agent Memory Database
Durable causal memory for AI agents — semantic recall, causal lineage, and skills. Local-first.
In name
database
HOSTEDLOCALOpen8h ago
168DBeast PostgreSQL MCP
PostgreSQL MCP server for schema, query, health, security, and performance analysis.
In name
postgresql
HOSTEDLOCALOpen8h ago
169SQL Server DBA (read-only)
Read-only SQL Server DBA tools: health checks, waits, slow queries, indexes, backups.
In name
sql
HOSTEDLOCALOpen8h ago
170Sezzlee SQL Server
Explore and query Microsoft SQL Server read-only: catalogue search, schema and bounded queries.
In name
sql
HOSTEDLOCALOpen8h ago
171Sezzlee PostgreSQL
Explore and query PostgreSQL read-only: catalogue search, schema introspection and bounded queries.
In name
postgresql
HOSTEDLOCALOpen8h ago
172SQL Benchmarks Lab
Query pre-computed SQL engine benchmarks. Runs standalone, no server setup required.
In name
sql
HOSTEDLOCALOpen10h ago
173MySQL MCP Server
Read-only MySQL MCP server with multi-connection profiles and safe SELECT queries.
In name
mysql
HOSTEDLOCALOpen10h ago
174SQL MCP Server
Controlled SQL access gateway with policy, cost limits, tenant isolation, and safe tools.
In name
sql
HOSTEDLOCALOpen11h ago
175PostgreSQL MCP Server
PostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filtering
In name
postgresql
HOSTEDLOCALOpen11h ago
176mysql-mcp
Enterprise-grade MySQL MCP Server with OAuth 2.0, 106 tools, and Docker deployment
In name
mysql
HOSTEDLOCALOpen11h ago
177db-mcp (SQLite MCP Server)
SQLite MCP server with OAuth 2.1, HTTP/SSE, 122 tools, and smart tool filtering
In name
sqlite
HOSTEDLOCALOpen11h ago
178sql-formatter-mcp
Format SQL queries into readable layouts locally. No network and no key.
In name
sql
HOSTEDLOCALOpen16h ago
179sqlify-mcp
Generate SQL from Portuguese descriptions with educational explanations.
In name
sql
HOSTEDLOCALOpen23h ago
180PostgreSQL CVE & Release Intelligence
PostgreSQL security for AI agents: CVEs, yanked releases, exploits, and upgrade paths
In name
postgresql
HOSTEDLOCALOpen23h ago
181SqlAugur
MCP server providing AI assistants with safe, read-only SQL Server access
In name
sql
HOSTEDLOCALOpen23h ago
182sw-postgres-mcp
Safe-write Postgres MCP server with preview-before-execute writes and rollback safety.
In name
postgres
HOSTEDLOCALOpen23h ago
183MySQL Audit
MySQL migration and query safety review for AI agents: locks, table copies, data loss, injection.
In name
mysql
HOSTEDLOCALOpen23h ago
184PostgreSQL performance Tuner MCP Server
provides AI-powered PostgreSQL performance tuning capabilities.
In name
postgresql
HOSTEDLOCALOpen23h ago
185mcp-clickhouse
Read-only ClickHouse for AI agents — analytics queries, table inspection, sizes, health.
In name
clickhouse
HOSTEDLOCALOpen23h ago
186mcp-mongodb
Read-only MongoDB for AI agents — find, aggregate (no write stages), count, stats.
In name
mongodb
HOSTEDLOCALOpen23h ago
187SQL Server
Servidor MCP para SQL Server com controle de permissões e modo somente-leitura
In name
sql
HOSTEDLOCALOpen23h ago
188PostgreSQL Performance (read-only)
Read-only PostgreSQL performance diagnostics: slow queries, EXPLAIN, index advice, locks, functions
In name
postgresql
HOSTEDLOCALOpen23h ago
189Elekto MCP for SQL Server
Read-only SQL Server introspection and querying: schema, definitions, dependencies and data.
In name
sql
HOSTEDLOCALOpen1d ago
190sqlite-graph-mcp
Zero-embedding code & spec graph over SQLite with file:line citations for every answer.
In name
sqlite
HOSTEDLOCALOpen1d ago
191BigQuery Data Platform
Read-only BigQuery tools for plain-language data questions, with a cost gate on every query
In name
bigquery
HOSTEDLOCALOpen1d ago
192mcp-sql-querystore
Read-only SQL Server diagnostics for LLM agents: Query Store, waits, plans, indexes
In name
sql
HOSTEDLOCALOpen1d ago
193SQL Server MCP
MCP server for DBAs running dozens of SQL Server instances: grouped connections, plans, indexes
In name
sql
HOSTEDLOCALOpen1d ago
194sql-server-analyst-mcp
Read-only SQL Server Analyst MCP — safe schema, stored procedure, and performance analysis.
In name
sql
HOSTEDLOCALOpen1d ago
195Postgres (read-only)
Read-only Postgres: drop-in for the archived server-postgres, with schema context.
In name
postgres
HOSTEDLOCALOpen1d ago
196mssqlcl — SQL Server MCP Server & CLI
SQL Server MCP server and CLI with zero-config VS Code and Antigravity IDE connection discovery.
In name
sql
HOSTEDLOCALOpen1d ago
197mysql
MCP server for MySQL/MariaDB — pooled async queries with destructive-query safety
In name
mysql
HOSTEDLOCALOpen1d ago
198SQLite Local AI Memory
100% In-Process Bare-Metal Hybrid Memory Engine & MCP Server for LLMs (SQLite + Int8 Vectors).
In name
sqlite
HOSTEDLOCALOpen1d 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. Corollary — scientific AI models, tools and databases, Austin Happy Hour Database and DrawSQL 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.