Best MCP servers for SQL querying
1,229 MCP servers in the Official MCP Registry do SQL querying. 520 can be used as a hosted endpoint, with nothing to install, and 944 publish their source code.
| # | Tool | Relevance | Connect | Code | Seen |
|---|---|---|---|---|---|
| 851 | withings-mcp MCP server for the Withings Health API with OAuth, local SQLite cache, and trend analysis. | In description sqlite | HOSTEDLOCAL | Open | 14h ago |
| 852 | agentRamen Local-first codebase intelligence for coding agents: indexes code and Git history into SQLite. | In description sqlite | HOSTEDLOCAL | Open | 14h ago |
| 853 | agentmem Lightweight persistent memory for AI agents. Hybrid search. 16 tools. One SQLite file. | In description sqlite | HOSTEDLOCAL | Open | 14h ago |
| 854 | Life Dashboard Read-only health and screen time history from the Postgres of a self-hosted Life Dashboard Stack | In description postgres | HOSTEDLOCAL | Open | 14h ago |
| 855 | Anamnesis Cross-machine, file-first memory for Claude Code: markdown + SQLite FTS5, synced with git | In description sqlite | HOSTEDLOCAL | Open | 14h ago |
| 856 | GLEIF MCP Server Access the GLEIF LEI database for company verification, KYC, and ownership research. | In description database | HOSTEDLOCAL | Open | 14h ago |
| 857 | sync82 Persistent, structured project memory for AI coding agents, stored locally in SQLite. | In description sqlite | HOSTEDLOCAL | Open | 14h ago |
| 858 | MCP Debug Recorder Record debug sessions, commands, failed attempts, and successful fixes in local SQLite storage. | In description sqlite | HOSTEDLOCAL | Open | 14h ago |
| 859 | nuthatch Query an EVM contract's indexed history with SQL, via a local nuthatch nest and nuthatch dev. | In description sql | HOSTEDLOCAL | Open | 14h ago |
| 860 | Local FAISS MCP Server Local FAISS vector database for RAG with document ingestion, semantic search, and MCP prompts. | In description database | HOSTEDLOCAL | Open | 14h ago |
| 861 | IDs-LE Extract every UUID, ULID, NanoID, ObjectId and Snowflake, and decode the time inside. | In description snowflake | HOSTEDLOCAL | Open | 14h ago |
| 862 | Halfnine PostgreSQL through Halfnine: describe, read-only queries, and changes you approve in the app. | In description postgresql | HOSTEDLOCAL | Open | 14h ago |
| 863 | MCP for Primavera P6 Primavera P6 MCP server: critical path, DCMA checks, what-if and safe write-back to the P6 database | In description database | HOSTEDLOCAL | Open | 14h ago |
| 864 | mnemon-mcp Persistent layered memory for AI agents. SQLite FTS5, fact versioning, zero-cloud. | In description sqlite | HOSTEDLOCAL | Open | 14h ago |
| 865 | QueryPilot Safe SQL gateway for AI agents: SELECT-only validation, access policies, masking, audit trail, evals | In description sql | HOSTEDLOCAL | Open | 14h ago |
| 866 | mcp-neo4j-aura-manager MCP server for Neo4j Aura Database Instance Manager. | In description database | HOSTEDLOCAL | Open | 14h ago |
| 867 | mcp-neo4j-cypher A simple Neo4j MCP server that allows you to run Cypher queries against a Neo4j database. | In description database | HOSTEDLOCAL | Open | 14h ago |
| 868 | safedb-mcp A secure MCP server that lets AI agents query databases safely. | In description databases | HOSTEDLOCAL | Open | 14h ago |
| 869 | mcp-rs Rust MCP server for WordPress: posts, pages, media, comments and settings, plus read-only SQL. | In description sql | HOSTEDLOCAL | Open | 14h ago |
| 870 | vndb-mcp Search the Visual Novel Database: visual novels, characters, releases, tags and ratings. | In description database | HOSTEDLOCAL | Open | 14h ago |
| 871 | wger-mcp Exercises, muscles, and workout data from the open wger database. No key required. | In description database | HOSTEDLOCAL | Open | 14h ago |
| 872 | tmdb-mcp Search movies, TV shows, and trending titles from The Movie Database. Free TMDB key required. | In description database | HOSTEDLOCAL | Open | 19h ago |
| 873 | pbdb-mcp Fossil occurrences and taxa from the Paleobiology Database. No key required. | In description database | HOSTEDLOCAL | Open | 20h ago |
| 874 | nvd-cve-mcp Search CVE vulnerability records from the NIST NVD database. No key required. | In description database | HOSTEDLOCAL | Open | 20h ago |
| 875 | migration-map-mcp Find local migration numbering gaps and rollback pairing signals without returning SQL, paths,... | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 876 | mac-lookup-mcp Look up the vendor of a MAC address from the MAC Vendors database. No key required. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 877 | leetcode-mcp LeetCode problem database: list problems by difficulty, search by title. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 878 | jpl-sbdb-mcp Asteroid and comet data from the NASA JPL Small Body Database. No key required. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 879 | gamebanana-mcp GameBanana mods database: search mods by game, browse mod feeds, read mod pages. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 880 | ebi-search-mcp EBI Search API: search EMBL-EBI biomedical databases. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 881 | chembl-mcp Drug molecules and bioactivity from the ChEMBL database. No key required. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 882 | mcp-server-motherduck SQL analytics and data engineering for AI Assistants and IDEs | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 883 | NEPHIS MCP Server Sub-6ms microVM sandboxes, zero-copy Postgres branching, and fast code execution in ap-south-1. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 884 | datasaudi-mcp Saudi economic & social statistics (GASTAT/DataSaudi) in English or Arabic. Keyless, no database. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 885 | mcp-plesk-lite MCP server for Plesk: manage domains, DNS, mail, SSL, backups, databases and WordPress via AI. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 886 | Mneme Memory Cross-session memory for AI coding agents via six tools; local-first SQLite store. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 887 | terminal-mcp MCP server for interactive terminal sessions — SSH, REPLs, database CLIs, TUI apps | In description database | HOSTEDLOCAL | Open | 1d ago |
| 888 | pgvector Similarity search, hybrid search, and index management for pgvector-backed PostgreSQL tables | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 889 | microquery-mcp SQL over real-world data — FDA, SEC, blockchain, genomics, CVEs, and more. No config. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 890 | migrationpilot 112 rules that catch dangerous PostgreSQL migrations, plus a pass/fail gate to call before any DDL. | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 891 | memtwig Git-native multi-org Markdown memory layer for AI agents with isolated vaults and SQLite FTS5. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 892 | dbboard Hands AI agents the databases dbboard connects to: reads by default, and never a secret. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 893 | Rowsmith test data Fake test data (CSV, JSON, SQL) from a schema. Reserved-range identifiers; reproducible by seed. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 894 | MCP TUSS / Rol ANS Consulta tabelas TUSS da ANS: procedimentos, medicamentos, diárias e taxas via SQLite local. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 895 | Airlock RLS Scan a deployed site for an exposed Supabase service_role key and audit Row Level Security. | In description supabase | HOSTEDLOCAL | Open | 1d ago |
| 896 | JavaBytes 80 Java-focused tools for files, MySQL, JavaFX, Spring Boot and JS-to-Java migration, over stdio. | In description mysql | HOSTEDLOCAL | Open | 1d ago |
| 897 | mqb · mq-bridge Move data between 15+ databases, queues and files at high throughput, without it entering context | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 898 | Manticore Search MCP server for Manticore Search — lets AI assistants query and manage search databases. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 899 | mcp-devtools MCP server giving AI agents safe access to filesystem, databases, processes, and APIs. | In description databases | HOSTEDLOCAL | Open | 1d ago |
FAQ
How many MCP servers are there for SQL querying?
Electra Index lists 1,229 active MCP servers for SQL querying from the Official MCP Registry. 520 offer a hosted endpoint and 944 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.