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