Best MCP servers for SQL querying
796 MCP servers in the Official MCP Registry do SQL querying. 284 can be used as a hosted endpoint, with nothing to install, and 644 publish their source code.
| # | Tool | Relevance | Connect | Code | Seen |
|---|---|---|---|---|---|
| 551 | amu-pgvector Lineage-gated agent memory tools on Postgres + pgvector, enforced by row-level security. | In description postgres | HOSTEDLOCAL | Open | 3d ago |
| 552 | dokploy-mcp-server Dokploy MCP server: manage apps, Docker Compose, databases, domains, backups, and servers. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 553 | llm-kosh Local-first AI memory cartridge with persistent MCP memory for Claude via SQLite FTS5. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 554 | orionbelt-analytics Ontology-based MCP server for database schema analysis and RDF/OWL ontology generation | In description database | HOSTEDLOCAL | Open | 3d ago |
| 555 | orionbelt-semantic-layer API-first semantic layer MCP server compiling YAML models into dialect-specific SQL | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 556 | QuestDB Web Console MCP Server Connects coding agents to a running QuestDB Web Console: notebook cells, SQL queries, and charts. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 557 | qualien-mcp MCP gateway for QA/SDET work: Playwright, files, GitHub, Jira, Postgres & more in one connection. | In description postgres | HOSTEDLOCAL | Open | 3d ago |
| 558 | junglescout-mcp Jungle Scout MCP server: keyword volumes, product database, sales estimates, share of voice | In description database | HOSTEDLOCAL | Open | 3d ago |
| 559 | pREST Stdio MCP adapter bridging AI clients to pREST’s HTTP /_mcp endpoint for PostgreSQL APIs. | In description postgresql | HOSTEDLOCAL | Open | 3d ago |
| 560 | pensieve Manually-triggered, self-organising personal memory for AI agents; SQLite, no vector DB. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 561 | Databricks MCP Server 263 tools for Databricks: Unity Catalog, SQL, Compute, Jobs, Serving, and more. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 562 | memex Persistent session memory for Claude Code. Local SQLite, no LLMs, no network. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 563 | pitstop F1 MCP server: live timing, telemetry, standings, news, and a queryable 1950-present database. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 564 | zordon Supervise a local dev stack — databases, brokers and services declared in an Alphasfile — over MCP. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 565 | withings-mcp MCP server for the Withings Health API with OAuth, local SQLite cache, and trend analysis. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 566 | pgmcp Read-only Postgres ops/DBA diagnostics: slow queries, EXPLAIN, locks, index and table health. | In description postgres | HOSTEDLOCAL | Open | 3d ago |
| 567 | google-health-mcp MCP server for the Google Health API, with a local SQLite cache and trend analysis. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 568 | agentRamen Local-first codebase intelligence for coding agents: indexes code and Git history into SQLite. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 569 | agentmem Lightweight persistent memory for AI agents. Hybrid search. 16 tools. One SQLite file. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 570 | Anamnesis Cross-machine, file-first memory for Claude Code: markdown + SQLite FTS5, synced with git | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 571 | GLEIF MCP Server Access the GLEIF LEI database for company verification, KYC, and ownership research. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 572 | sync82 Persistent, structured project memory for AI coding agents, stored locally in SQLite. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 573 | MCP Debug Recorder Record debug sessions, commands, failed attempts, and successful fixes in local SQLite storage. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 574 | IDs-LE Extract every UUID, ULID, NanoID, ObjectId and Snowflake, and decode the time inside. | In description snowflake | HOSTEDLOCAL | Open | 3d ago |
| 575 | Local FAISS MCP Server Local FAISS vector database for RAG with document ingestion, semantic search, and MCP prompts. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 576 | nuthatch Query an EVM contract's indexed history with SQL, via a local nuthatch nest and nuthatch dev. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 577 | mnemon-mcp Persistent layered memory for AI agents. SQLite FTS5, fact versioning, zero-cloud. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 578 | QueryPilot Safe SQL gateway for AI agents: SELECT-only validation, access policies, masking, audit trail, evals | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 579 | mcp-neo4j-aura-manager MCP server for Neo4j Aura Database Instance Manager. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 580 | mcp-neo4j-cypher A simple Neo4j MCP server that allows you to run Cypher queries against a Neo4j database. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 581 | safedb-mcp A secure MCP server that lets AI agents query databases safely. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 582 | wger-mcp Exercises, muscles, and workout data from the open wger database. No key required. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 583 | vndb-mcp Use this MCP server to VNDB, the Visual Novel Database. Search VNs, characters, releases, tags,... | In description database | HOSTEDLOCAL | Open | 3d ago |
| 584 | tmdb-mcp Search movies, TV shows, and trending titles from The Movie Database. Free TMDB key required. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 585 | scryfall-mcp Use this MCP server to Scryfall, Magic: The Gathering card database with rulings, printings, and... | In description database | HOSTEDLOCAL | Open | 3d ago |
| 586 | pbdb-mcp Fossil occurrences and taxa from the Paleobiology Database. No key required. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 587 | mac-lookup-mcp Look up the vendor of a MAC address from the MAC Vendors database. No key required. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 588 | migration-map-mcp Find local migration numbering gaps and rollback pairing signals without returning SQL, paths,... | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 589 | nvd-cve-mcp Search CVE vulnerability records from the NIST NVD database. No key required. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 590 | leetcode-mcp LeetCode problem database: list problems by difficulty, search by title. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 591 | jpl-sbdb-mcp Asteroid and comet data from the NASA JPL Small Body Database. No key required. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 592 | gamebanana-mcp Use this MCP server to GameBanana, the game mods database. Search mods by game, browse mod... | In description database | HOSTEDLOCAL | Open | 3d ago |
| 593 | ebi-search-mcp EBI Search API: search EMBL-EBI biomedical databases. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 594 | chembl-mcp Drug molecules and bioactivity from the ChEMBL database. No key required. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 595 | mcp-plesk-lite MCP server for Plesk: manage domains, DNS, mail, SSL, backups, databases and WordPress via AI. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 596 | datasaudi-mcp Saudi economic & social statistics (GASTAT/DataSaudi) in English or Arabic. Keyless, no database. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 597 | mcp-server-motherduck SQL analytics and data engineering for AI Assistants and IDEs | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 598 | Mneme Memory Cross-session memory for AI coding agents via six tools; local-first SQLite store. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 599 | terminal-mcp MCP server for interactive terminal sessions — SSH, REPLs, database CLIs, TUI apps | In description database | HOSTEDLOCAL | Open | 3d ago |
FAQ
How many MCP servers are there for SQL querying?
Electra Index lists 796 active MCP servers for SQL querying from the Official MCP Registry. 284 offer a hosted endpoint and 644 publish their source code.
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.