Best MCP servers for SQL querying
1,228 MCP servers in the Official MCP Registry do SQL querying. 519 can be used as a hosted endpoint, with nothing to install, and 943 publish their source code.
| # | Tool | Relevance | Connect | Code | Seen |
|---|---|---|---|---|---|
| 501 | ilostat-mcp-server Search ILOSTAT labour indicators, query and compare series, build country profiles, run SQL. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 502 | ensembl-mcp-server Look up genes, sequences, variants, homologs, and cross-database xrefs from Ensembl REST. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 503 | faostat-mcp-server UN FAOSTAT global food & agriculture statistics over a local SQLite mirror, via MCP. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 504 | cc0company-mcp cc0pedia CC0 database + cc0.company agent services as MCP tools, paid per call via x402 on Base. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 505 | CogniCore Memory, reflection and safety for AI agents. Hosted or local, no vector database. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 506 | CloudGrid Plug apps, sites and HTML pages into CloudGrid and get a live URL, with databases and AI built in. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 507 | The Abstractinator Immunology/virology papers, trials and grants from six databases. No API key. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 508 | nyc-property-intel MCP server giving Claude AI access to 22+ NYC public-record databases for real estate due diligence | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 509 | freellms-gateway FreeLLMs MCP gateway: filesystem, database, shell, fetch, auth and devtools. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 510 | Perfume Picks Search the Perfume Picks fragrance database: 10,000+ scents with notes, dupes, and wear data. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 511 | Pour Picks Search the Pour Picks bourbon & whiskey database: 4,700+ bottles with tasting profiles and prices. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 512 | Percolate Search the Percolate specialty coffee database: 1,100+ coffees with brew recipes and pairings. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 513 | GoldenFlow Standardize, reshape, and normalize messy data — CSV, Excel, Parquet, S3, databases. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 514 | Lancelot An MCP server for search and retrieval over a local LanceDB database | In description database | HOSTEDLOCAL | Open | 1d ago |
| 515 | Backenly Postgres backend your coding agent builds over MCP; destructive actions wait for a person. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 516 | ohmyho.st Preview and deploy web apps from local files or GitHub. Manage Postgres, email, domains and budgets. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 517 | remnus MCP-native open-source Notion alternative: read & write pages, databases and kanban boards. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 518 | Orion Gate Zero-trust SQL AST & MCP firewall enforcing tenant isolation, PII scrubbing, and schema allowlists. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 519 | VPS Hardening Read-only security checklists: VPS hardening, Docker, secrets, Supabase, Stripe, auth, AI agents. | In description supabase | HOSTEDLOCAL | Open | 1d ago |
| 520 | Dataset Join & Merge Join two lists of JSON rows on a key, like SQL or VLOOKUP: left, inner, full, anti joins, union. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 521 | ontoflow Query your own knowledge graph from any MCP client. The graph lives in a database you own. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 522 | alpacacloud-mcp Connect AI agents to Alpaca Cloud: Postgres, Auth, Storage, Sandboxes, and Workflows. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 523 | Karakoram Self-hosted database control plane: clusters, backups and operations. Read-only by default. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 524 | InsForge MCP server for InsForge BaaS — database, storage, edge functions, and deployments | In description database | HOSTEDLOCAL | Open | 1d ago |
| 525 | hybridlog Reads your own Garmin mirror: readiness, training load, muscle freshness, and read-only SQL. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 526 | AnythingMCP MCP gateway and company brain: 960 connectors (SAP, ERP, SQL), file search, memory and skills. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 527 | Cybersecurity Threat Intelligence MCP CVE search, vulnerability database, EPSS exploit prediction, KEV, IP reputation & threat feed. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 528 | Dataassist-IO Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 529 | Atlas Cloud Deploy and manage web apps with Atlas hosting, isolated Postgres, file storage and logs. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 530 | Code Sandbox API Execute Python, JavaScript, SQL code in a sandbox. x402 micropayment. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 531 | DevOps & Cloud Code Auditor Detects database migration table locks, terraform cost leaks, and OWASP API flaws. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 532 | uk-vet-medicines UK veterinary medicines — VMD database, withdrawal periods, cascade rules | In description database | HOSTEDLOCAL | Open | 1d ago |
| 533 | Dodil Build and run apps on Dodil: SQL/vector/graph data, git and CI, app hosting, and auth. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 534 | db-planner Read and edit DB Planner database schemas, diagrams and board layouts as an AI agent. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 535 | Aiven MCP Provision PostgreSQL, manage Apache Kafka, and deploy apps with Aiven - all from your AI assistant. | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 536 | icd10-coding ICD-10-CM / HCC medical coding tools with database-verified accuracy and denial-prevention rules. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 537 | agenthost Agent-first web hosting: deploy sites, apps, databases and domains over MCP. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 538 | Vitrus analytics Read-only analytics for all your apps: users, AI traffic, revenue, with the SQL behind every number. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 539 | Ployz Deploy apps, databases and previews to your own servers. Run Ployz Cloud from your agent. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 540 | 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 | 1d ago |
| 541 | PatchLabs Finds personal-data leaks in Supabase/Lovable apps: free RLS and headers checks, proven fixes. | In description supabase | HOSTEDLOCAL | Open | 1d ago |
| 542 | NicheDB Sources in, feeds out: an open, ever-growing database of real-time public data, enriched. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 543 | Homespun Deploy a multi-user web app from your agent: hosting, auth, database, and permissions. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 544 | Everr Query your traces, logs, metrics and GitHub Actions CI runs in Everr with read-only SQL. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 545 | Claix Security layer for AI agents: Retrieve for controlled SQL reads, Guard for allow/deny writes. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 546 | Cloudgate Workflow Build and manage Cloudgate workflow-APIs: controllers, actions, workflow graphs, and databases. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 547 | alephgrid Read-only MCP access to Alephgrid workbooks: schema cards, reads, SQL, saved queries, receipts. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 548 | run.zero Deploy apps, APIs and Postgres from your AI agent. EU PaaS hosted in Germany, OAuth sign-in. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 549 | Biohacking Kompakt Evidence-rated German database of supplements, peptides and longevity methods, plus podcast. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 550 | Vericto account (OAuth) Your Vericto workspace over OAuth: setup status, rules, CI reports, docs search and SQL checks. | In description sql | HOSTEDLOCAL | Open | 1d ago |
FAQ
How many MCP servers are there for SQL querying?
Electra Index lists 1,228 active MCP servers for SQL querying from the Official MCP Registry. 519 offer a hosted endpoint and 943 publish their source code.
Is there a hosted MCP server for SQL querying, with nothing to install?
Yes. ilostat-mcp-server, ensembl-mcp-server and faostat-mcp-server 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.