Best MCP servers for SQL querying
791 MCP servers in the Official MCP Registry do SQL querying. 281 can be used as a hosted endpoint, with nothing to install, and 639 publish their source code.
| # | Tool | Relevance | Connect | Code | Seen |
|---|---|---|---|---|---|
| 151 | mssql-reader Read-only MCP server for Microsoft SQL Server — schema discovery, profiling, safe querying | In name mssql | HOSTEDLOCAL | — | 3d ago |
| 152 | mssql MCP server for Microsoft SQL Server — schema discovery, profiling, safe writes, and DDL | In name mssql | HOSTEDLOCAL | — | 3d ago |
| 153 | mssql-writer MCP server for Microsoft SQL Server — read and data write operations, no DDL | In name mssql | HOSTEDLOCAL | — | 3d ago |
| 154 | Jam SQL Studio Lets AI agents query SQL Server, PostgreSQL, MySQL, Oracle and SQLite via the Jam SQL Studio app. | In name sql | HOSTEDLOCAL | — | 3d ago |
| 155 | read-only-mysql-mcp-server MCP server for read-only MySQL database queries in Claude Desktop | In name mysql | HOSTEDLOCAL | — | 3d ago |
| 156 | mcp Manage Appwrite projects, databases, auth, storage, functions, and messaging; search Appwrite docs | In description databases | HOSTEDLOCAL | Open | 2h ago |
| 157 | Theaudiodb TheAudioDB MCP — community music metadata database. | In description database | HOSTEDLOCAL | Open | 4h ago |
| 158 | anythingmcp 258 connectors + any REST/SOAP/GraphQL/SQL as MCP tools for Claude & ChatGPT. Self-hosted, AGPL. | In description sql | HOSTEDLOCAL | Open | 6h ago |
| 159 | Ekwo OS Open source accounting data infrastructure on your own Postgres, acting as the user under RLS. | In description postgres | HOSTEDLOCAL | Open | 20h ago |
| 160 | Historical Baseball historical-baseball -- MLB history from Retrosheet game logs and the SABR Lahman Baseball Database… | In description database | HOSTEDLOCAL | Open | 22h ago |
| 161 | Agent Swarm Full Agent Swarm API and MCP server with local SQLite storage for multi-agent orchestration. | In description sqlite | HOSTEDLOCAL | Open | 23h ago |
| 162 | Police Shootings Police Shootings MCP — The Washington Post, Fatal Force database | In description database | HOSTEDLOCAL | Open | 1d ago |
| 163 | ensembl-mcp-server Look up genes, sequences, variants, homologs, and cross-database xrefs from Ensembl REST. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 164 | Agnes Governed access to your company's data and memory: catalog, schema, SQL and skills. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 165 | InternetData List InternetData's IP and ASN databases, your license for each, what one holds, and its digests. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 166 | Appbricx Build, verify and deploy full-stack apps: Postgres, sign-in, workflows, realtime, AI, rollback. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 167 | Open Quality Open healthcare quality measures: CQL, SQL and FHIR with provenance and known issues | In description sql | HOSTEDLOCAL | Open | 2d ago |
| 168 | Rowsafe PostgreSQL backups and a safety net for AI agents: check recoverability, set restore points. | In description postgresql | HOSTEDLOCAL | Open | 2d ago |
| 169 | dFlow Deploy apps, databases, and services in your dFlow workspace. | In description databases | HOSTEDLOCAL | Open | 2d ago |
| 170 | cyon Build and publish websites on cyon hosting: sites, domains, databases, HTTPS and deployment. | In description databases | HOSTEDLOCAL | Open | 2d ago |
| 171 | Scalix Cloud The agent-native cloud: database, functions, AI, storage, computers. 50 tools, one API key. | In description database | HOSTEDLOCAL | Open | 2d ago |
| 172 | Val Town Deploy serverless TypeScript on Val Town: HTTP vals, cron, SQLite, email, OAuth. | In description sqlite | HOSTEDLOCAL | Open | 2d ago |
| 173 | platform Backend for AI-built apps: database, auth, files, email, AI, payments, deploy, realtime. 170+ tools. | In description database | HOSTEDLOCAL | Open | 2d ago |
| 174 | onvibe Talk to Claude and get a live web app deployed to a real URL, with Postgres, storage and cron. | In description postgres | HOSTEDLOCAL | Open | 2d ago |
| 175 | upcloud Inspect servers, storage, networks, databases and billing, and start, stop or back up servers. | In description databases | HOSTEDLOCAL | Open | 2d ago |
| 176 | RunCloud MCP by usefulapi Read RunCloud servers, web apps, databases and logs; deploy, restart services, renew SSL. | In description databases | HOSTEDLOCAL | Open | 2d ago |
| 177 | knack Read, create, update and delete records; inspect objects, fields and schema in your Knack database. | In description database | HOSTEDLOCAL | Open | 2d ago |
| 178 | mcp-server Query BigQuery, Snowflake, Redshift & Azure Synapse with natural language | In description bigquery | HOSTEDLOCAL | Open | 2d ago |
| 179 | Dot - AI Data Analyst Ask data questions in natural language. Get SQL, insights, and charts from your databases. | In description sql | HOSTEDLOCAL | Open | 2d ago |
| 180 | Toolbelt A collaborative substrate over your data: vector, knowledge graph, SQL, geospatial, streaming. | In description sql | HOSTEDLOCAL | Open | 2d ago |
| 181 | pg-aiguide Comprehensive PostgreSQL documentation and best practices, including ecosystem tools | In description postgresql | HOSTEDLOCAL | Open | 2d ago |
| 182 | AgentBuilders Deploy full-stack web apps with database, file storage, auth, and RBAC via a single API call. | In description database | HOSTEDLOCAL | Open | 2d ago |
| 183 | Hostwatch Observe and safely control sites, TLS, containers, traffic, databases and jobs with Hostwatch. | In description databases | HOSTEDLOCAL | Open | 2d ago |
| 184 | pharma-regulatory Drug safety: DrugBank, interactions, FAERS, WHO, TGA. 7 databases. Free. | In description databases | HOSTEDLOCAL | Open | 2d ago |
| 185 | Quadratic AI access to Quadratic spreadsheets: open files, run Python/SQL, query connected databases. | In description sql | HOSTEDLOCAL | Open | 2d ago |
| 186 | PlanetScale Connect to PlanetScale databases, branches, schema, query insights, and execute SQL | In description databases | HOSTEDLOCAL | Open | 2d ago |
| 187 | Ygoprodeck YGOPRODeck MCP — Yu-Gi-Oh! trading card game (TCG) database. | In description database | HOSTEDLOCAL | Open | 2d ago |
| 188 | Wikipathways WikiPathways MCP — open community pathway database. | In description database | HOSTEDLOCAL | Open | 2d ago |
| 189 | Urlhaus URLhaus MCP — wraps abuse.ch URLhaus malware URL database (free, no auth) | In description database | HOSTEDLOCAL | Open | 2d ago |
| 190 | Trivia Trivia MCP — wraps Open Trivia Database (free, no auth) | In description database | HOSTEDLOCAL | Open | 2d ago |
| 191 | Uniprot UniProt MCP — protein sequence + function database. | In description database | HOSTEDLOCAL | Open | 2d ago |
| 192 | Usitc Edis USITC IDS (Investigations Database System, ids.usitc.gov) — the CASE | In description database | HOSTEDLOCAL | Open | 2d ago |
| 193 | Tcgdex TCGdex MCP — multi-language open trading card game database (Pokémon TCG and more). | In description database | HOSTEDLOCAL | Open | 2d ago |
| 194 | Scryfall Scryfall MCP — Magic: The Gathering card database. | In description database | HOSTEDLOCAL | Open | 2d ago |
| 195 | Rawg RAWG MCP — wraps the RAWG video games database API (rawg.io) | In description database | HOSTEDLOCAL | Open | 2d ago |
| 196 | Recreation Gov Recreation.gov MCP — wraps the Recreation Information Database (RIDB) API v1 | In description database | HOSTEDLOCAL | Open | 2d ago |
| 197 | Pombase PomBase MCP — the fission yeast (Schizosaccharomyces pombe) model-organism database. | In description database | HOSTEDLOCAL | Open | 2d ago |
| 198 | Rhea Rhea MCP — expert-curated database of biochemical reactions. | In description database | HOSTEDLOCAL | Open | 2d ago |
FAQ
How many MCP servers are there for SQL querying?
Electra Index lists 791 active MCP servers for SQL querying from the Official MCP Registry. 281 offer a hosted endpoint and 639 publish their source code.
Is there a hosted MCP server for SQL querying, with nothing to install?
Yes. mcp, Theaudiodb and anythingmcp 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 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.