Best MCP servers for SQL querying
795 MCP servers in the Official MCP Registry do SQL querying. 284 can be used as a hosted endpoint, with nothing to install, and 643 publish their source code.
| # | Tool | Relevance | Connect | Code | Seen |
|---|---|---|---|---|---|
| 351 | Code Sandbox API Execute Python, JavaScript, SQL code in a sandbox. x402 micropayment. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 352 | uk-vet-medicines UK veterinary medicines — VMD database, withdrawal periods, cascade rules | In description database | HOSTEDLOCAL | Open | 3d ago |
| 353 | DevOps & Cloud Code Auditor Detects database migration table locks, terraform cost leaks, and OWASP API flaws. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 354 | Costory FinOps MCP FinOps MCP: query allocated, correlated cloud and AI cost across AWS, GCP, Azure and Snowflake. | In description snowflake | HOSTEDLOCAL | Open | 3d ago |
| 355 | db-planner Read and edit DB Planner database schemas, diagrams and board layouts as an AI agent. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 356 | icd10-coding ICD-10-CM / HCC medical coding tools with database-verified accuracy and denial-prevention rules. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 357 | Aiven MCP Provision PostgreSQL, manage Apache Kafka, and deploy apps with Aiven - all from your AI assistant. | In description postgresql | HOSTEDLOCAL | Open | 3d ago |
| 358 | agenthost Agent-first web hosting: deploy sites, apps, databases and domains over MCP. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 359 | Vitrus analytics Read-only web analytics — AI traffic, revenue, goals, funnels — with the SQL behind every number. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 360 | Stuga Agent edits await review by default in a self-hosted workspace for documents and databases. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 361 | phpray Ask an agent why a PHP site is slow: every request with its SQL, HTTP calls, errors and N+1. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 362 | NicheDB Sources in, feeds out: an open, ever-growing database of real-time public data, enriched. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 363 | Homespun Deploy a multi-user web app from your agent: hosting, auth, database, and permissions. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 364 | Cloudgate Workflow Build and manage Cloudgate workflow-APIs: controllers, actions, workflow graphs, and databases. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 365 | Biohacking Kompakt Evidence-rated German database of supplements, peptides and longevity methods, plus podcast. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 366 | TractorScope Query your databases and build charts, dashboards, filters and alerts in TractorScope. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 367 | Run402 x402 pay-per-call infra for agents: $0.03 image generation, Postgres, auth, storage, functions. | In description postgres | HOSTEDLOCAL | Open | 3d ago |
| 368 | nlqdb — analytical memory for AI agents Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command. | In description postgres | HOSTEDLOCAL | Open | 3d ago |
| 369 | KIAgent Your mail, chats and documents indexed into a local SQLite corpus, served to AI clients over MCP. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 370 | MyAITwin A personal RAG database you build from chat, so AI creates work that sounds like you. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 371 | mcp GibsonAI MCP server: manage your databases with natural language | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 372 | Custom Website Editor Edit your church website in plain English — text, photos, pages, databases, domains & analytics. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 373 | dbtrail MySQL change tracking with instant row-level recovery and forensic attribution for compliance. | In description mysql | HOSTEDLOCAL | Open | 3d ago |
| 374 | Datanem Turn PDFs, scans and photos into a queryable database. Invoices, CVs, receipts, in bulk. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 375 | cvserver Live US options chains with Greeks and IV, a screener, SQL, and FMP fundamentals. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 376 | busabase Database for your AI agent. Turn its output into data, docs, skills, and apps you can actually use. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 377 | FlowLeap Patent AI EPO/USPTO search, citations, OCR, plus PATSTAT Portfolio Analytics, guarded SQL and Graph Analytics. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 378 | freebase.cloud Free cloud databases over MCP: query, store, list and annotate across 15 engines. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 379 | Gagarin Cloud Deploy and operate containers on Gagarin Cloud: services, databases, domains, logs, rollbacks. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 380 | blitz.cloud Host apps in the EU from your assistant: App Store, Docker, GitHub, databases, logs. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 381 | Grimoire Campaign manager for D&D and TTRPG GMs: your AI reads and writes a live typed campaign database. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 382 | bielacki-igdb-mcp-server Explore and discover video games from the Internet Game Database. Search titles, view detailed inf… | In description database | HOSTEDLOCAL | Open | 3d ago |
| 383 | Plinth App hosting your agent runs: git, deploys, staging/production, Postgres. Owner approves risky steps. | In description postgres | HOSTEDLOCAL | — | 6h ago |
| 384 | EloEdge Data: prediction-market and price history SQL over 2.2B rows: settled Kalshi and Polymarket markets, 1-second crypto prices, sports and more. | In description sql | HOSTEDLOCAL | — | 10h ago |
| 385 | DataCrate360 Guides & Fixes Search verified fixes and guides for data tools (Snowflake, dbt, Airflow, Spark…). Paste an error. | In description snowflake | HOSTEDLOCAL | — | 10h ago |
| 386 | WaveHouse Cloud Browse, query, and administer your managed WaveHouse + ClickHouse projects (schema, pipes, policy). | In description clickhouse | HOSTEDLOCAL | — | 14h ago |
| 387 | Furriq Cat Breed Identifier Identify cat breeds from descriptions or photos with furriq.com's 61-breed database. | In description database | HOSTEDLOCAL | — | 1d ago |
| 388 | CloudQuell Ask about AWS, Azure, GCP, OpenAI, Anthropic and Snowflake costs, budgets, and anomalies. | In description snowflake | HOSTEDLOCAL | — | 1d ago |
| 389 | Fastero Query your databases and build dashboards, Streamlit apps and reports your team logs in to. | In description databases | HOSTEDLOCAL | — | 1d ago |
| 390 | Platform Changes Live, sourced changes feed: Apple, Android, GitHub, Vercel, Cloudflare, Expo, Supabase, Firebase. | In description supabase | HOSTEDLOCAL | — | 2d ago |
| 391 | Klisten SchemaShield Store and compare organization JSON snapshots. No database crawling. Customer key required. | In description database | HOSTEDLOCAL | — | 3d ago |
| 392 | DanubeData EU cloud as MCP tools: VPS, databases, caches, storage, containers and more. Takes an API token. | In description databases | HOSTEDLOCAL | — | 3d ago |
| 393 | LeadMCP B2B contact database for AI agents: search, count, export and enrich 375M+ contacts. | In description database | HOSTEDLOCAL | — | 3d ago |
| 394 | Cito by Prostack Deploy and manage sites, databases, files and more on Prostack Cito servers. | In description databases | HOSTEDLOCAL | — | 3d ago |
| 395 | QuintaDB No-code databases, forms, portals and AI sites. Manage records and automation via natural language. | In description databases | HOSTEDLOCAL | — | 3d ago |
| 396 | Drupal Code Query Drupal core API changes, contrib usage, upgrade readiness, patch verdicts, code search, SQL. | In description sql | HOSTEDLOCAL | — | 3d ago |
| 397 | tools 20 free dev tools: JSON/YAML, XML/SQL, Cron, SEO, QR code, URL shortener, cron tasks, files | In description sql | HOSTEDLOCAL | — | 3d ago |
| 398 | Croft Deploy and host the apps your AI assistant builds — a real server, database, and shareable URL. | In description database | HOSTEDLOCAL | — | 3d ago |
FAQ
How many MCP servers are there for SQL querying?
Electra Index lists 795 active MCP servers for SQL querying from the Official MCP Registry. 284 offer a hosted endpoint and 643 publish their source code.
Is there a hosted MCP server for SQL querying, with nothing to install?
Yes. Code Sandbox API, uk-vet-medicines and DevOps & Cloud Code Auditor 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.