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 |
|---|---|---|---|---|---|
| 901 | termdat-mcp MCP server for TERMDAT — the terminology database of the Swiss Federal Administration | In description database | HOSTEDLOCAL | Open | 1d ago |
| 902 | trino Run read-only SQL against Trino and browse its catalogs, schemas and tables. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 903 | remem Local-first automatic memory for Claude Code and Codex: capture, distill, recall from SQLite. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 904 | otp-verification Generate and verify one-time passcodes backed by your own database. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 905 | IGDB Games MCP by UnClick Video game database: search games, companies, genres, and platforms via IGDB. By UnClick. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 906 | Dev error explainers Offline, deterministic cause and fix for Node, npm, Next.js, CORS and Postgres URL errors. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 907 | Nexus MCP Search Notion and Supabase through one safety-focused MCP server. | In description supabase | HOSTEDLOCAL | Open | 1d ago |
| 908 | mismem Cooperative persistent memory for LLMs: episodes, memories and traits over SQLite (FTS5, Hebbian) | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 909 | Virtual Filesystem PostgreSQL-backed virtual filesystem for agents: session isolation, shared stores, POSIX ops, RLS. | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 910 | Firebird MCP Server Firebird (2.5 to 5.0) MCP server with PLAN inspection and multi-database routing | In description database | HOSTEDLOCAL | Open | 1d ago |
| 911 | skillmem Skill memory for coding agents: learn, recall, reinforce, decay. Local SQLite, no API key. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 912 | Lokra Postgres for AI agents with row locks, masking, approved writes and a signed audit ledger. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 913 | memharness Bi-temporal, provenance-carrying long-term memory for AI agents, in one SQLite file. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 914 | memtether Cross-client AI memory hub: agents share one SQLite memory.db via file-level pointers. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 915 | Mnemotree Local long-term memory. Keeps messages verbatim in SQLite and recalls them by hybrid search. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 916 | LoreConvo Local-first persistent session memory for Claude Code and other agents. SQLite + FTS5, no cloud. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 917 | gulliver Dress rehearsal for agent SQL: cost preflight, auto-fix, 1% sample runs, budget-gated execution. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 918 | crowbar Retrieve CVEs and index them inside your codebase. One SQLite+FTS5 index, one CLI, one MCP server. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 919 | memory-fts Long-term memory for Claude Code with SQLite FTS5 search and BM25 ranking | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 920 | Vector DB MCP Assembly-accelerated DuckDB MCP server for code search, indexing, and symbol lookup. | In description duckdb | HOSTEDLOCAL | Open | 1d ago |
| 921 | frugal-memory Memory for AI assistants in one SQLite file: full-text search, no vectors, no embeddings. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 922 | krimto Memory for AI coding agents — markdown in your own git, not a vendor database. Apache-2.0. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 923 | Open Drug Data Research drugs, supplements, and cosmetic ingredients across public databases. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 924 | che-apple-mail-mcp Apple Mail MCP — 44 tools, SQLite millisecond search, .emlx parser, batch ops | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 925 | memex Local MCP memory for coding agents. SQLite on your machine — preferences persist across chats. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 926 | memors Local, explainable knowledge base for AI agents: hybrid search with provenance over SQLite. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 927 | memory-find Local, explainable knowledge base for AI agents: hybrid search with provenance over SQLite. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 928 | Basalt Local SQL workspaces with bounded, recoverable writes for coding agents. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 929 | Sellbase Open source commerce in your own Supabase: catalog, checkout, orders and bookings, run by your AI. | In description supabase | HOSTEDLOCAL | Open | 1d ago |
| 930 | arm-code-mcp MCP server for Arm64 Linux performance: parse perf output, suggest NEON intrinsics, audit deps. | In description neon | HOSTEDLOCAL | Open | 1d ago |
| 931 | memo Memory for AI agents — MLX (Apple Silicon) or CPU (Linux), sqlite-vec + BM25, zero cloud. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 932 | dbprint A database's schema, value lists and joins, from a snapshot in your repo - no database connection. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 933 | Memory MCP Server SQLite-backed MCP server for persistent memory, full-text retrieval, and graph traversal. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 934 | slim-sheet Spreadsheet MCP for any agent: reads xlsx/xls/ods/csv, SQL, cleaning, formulas, safe edits | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 935 | Archery MCP Read-only MCP server for the Archery SQL audit platform: production schema and release SQL checks | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 936 | Knowledge Fabric Multi-tenant hybrid RAG & evidence verification MCP server enforcing PostgreSQL RLS. | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 937 | mcp-notion Notion for AI agents — search, read pages/blocks, query databases, create pages. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 938 | surinch-db-guard-mcp Local-first DDL/ALTER lock gate, SQL readonly guard & PII masking MCP with SHA-256 receipts. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 939 | mcp-server Keyword, semantic, hybrid, and SQL retrieval for AI agents, local or on Infino Cloud. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 940 | InfluxDB 3 Official InfluxDB 3 MCP server: query, write and manage Core, Enterprise and Cloud databases. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 941 | mcp-data Tabular data for AI agents — load CSV/JSON/XLSX, query, group-by, stats (no database). | In description database | HOSTEDLOCAL | Open | 1d ago |
| 942 | code-context SuperGrep: retrieval for AI coding agents. find and sql over a local index; search in the cloud. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 943 | Docker MCP Server Docker for AI agents — containers, compose stacks, logs and databases, locally or over SSH. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 944 | Hostim Deploy and manage apps, databases, volumes and domains on Hostim, an EU cloud hosting platform. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 945 | seo-crawler-mcp Crawl and analyse websites for SEO errors using Crawlee with SQLite storage | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 946 | Parfumo Parfumo MCP server: fragrance database, collection, wear log, ratings and reviews. Unofficial. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 947 | MOFi Query MOF database survey metadata and connect a bounded MOFi scientific workspace. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 948 | wherewent Zero-config SQL flight recorder for slow Python/SQLAlchemy jobs: exact call site, count, and fix. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 949 | Facthouse Local AI memory: neuroscience-inspired Data→Information→Knowledge in SQLite you own. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 950 | FactMem A local memory engine. You own the SQLite file. Not Mem0's hosted OpenMemory MCP. | In description sqlite | 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.