Best MCP servers for SQL querying
1,231 MCP servers in the Official MCP Registry do SQL querying. 521 can be used as a hosted endpoint, with nothing to install, and 945 publish their source code.
| # | Tool | Relevance | Connect | Code | Seen |
|---|---|---|---|---|---|
| 1101 | greptimedb-mcp-server Query GreptimeDB metrics, logs and traces with SQL, TQL and RANGE. Manage pipelines and dashboards. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 1102 | TMDB MCP Server MCP server for The Movie Database (TMDB) with IMDb/Rotten Tomatoes/Metacritic ratings via OMDb. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1103 | GhostPaw Email Email tools with a local SQLite cache and IMAP/SMTP account configuration. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1104 | vault-index Local hybrid keyword + vector search (SQLite FTS5 + sqlite-vec) over markdown vaults and code. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1105 | MCP Memory Local persistent memory for AI agents: SQLite + FTS5 (BM25) lexical search, zero external infra. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1106 | Drizzle MCP Drizzle Studio for agents: explore your database through your Drizzle schema. Read-only by default. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1107 | Fraise Memory database for AI agents: remember and recall over a running Fraise daemon, in FQL. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1108 | brokre AI-safe credential broker for MCP — run saved SSH/MySQL/psql aliases; passwords never reach AI. | In description mysql | HOSTEDLOCAL | Open | 1d ago |
| 1109 | Rowbit Preview, approve and undo AI agents' writes to MariaDB and MySQL | In description mysql | HOSTEDLOCAL | Open | 1d ago |
| 1110 | EnvKit Control the EnvKit local dev stack (PHP, nginx, MySQL, sites). Requires the EnvKit desktop app. | In description mysql | HOSTEDLOCAL | Open | 1d ago |
| 1111 | AVA Load data, inspect schemas, run SQL, analyze datasets, and build charts with AVA via MCP. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 1112 | Memory v2 Local-first memory for AI agents: projects, branches and durable facts in one SQLite file. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1113 | RAG for your documents Search a folder of documents and check answers against them. Offline: no API key or database. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1114 | agent-steward Local-first MCP server for agent orchestration: cron, DAG, matrix and SQLite history. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1115 | agentbuilders Deploy full-stack AI agent apps with database, auth, storage, and Edge AI on one platform. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1116 | crumbtrail Recorded browser sessions, backend spans, and database row diffs as one ranked fix bundle. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1117 | vectorsearch Store and retrieve text in a Qdrant vector database by similarity search. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1118 | pinballdex Pinball database: machines, prices, designers, manuals, places to play and the Hype Index. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1119 | pageworkspace Notion pages, databases and blocks via the REST API, as MCP tools. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 1120 | lootatlas DayZ game data: item database, loot spawns, weapon comparisons, server search and config checks. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1121 | gamedb-port IGDB game database: search games, game details, anticipated releases, and custom queries. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1122 | ftp-ssh-mcp Work with a remote host over FTP/FTPS/SFTP, SSH, and MySQL. | In description mysql | HOSTEDLOCAL | Open | 1d ago |
| 1123 | advisorscope SEC-registered advisor and firm search: profiles, disclosure status, fees and database statistics. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1124 | CPersona Persistent AI memory in one SQLite file: 3-layer hybrid search, confidence scoring, 29 tools. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1125 | FronyBoard Project tracker for AI agents: roadmap, periods, tasks and a validation gate, in one SQLite file | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1126 | Project Memory Local project notes, decision history, and handoffs for AI assistants. Rust and SQLite. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1127 | openchronicle-mcp Memory database for LLM agents — persistent semantic + keyword memory, project namespacing, served o | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1128 | hmem — Humanlike Memory for AI Agents Persistent 5-level hierarchical memory for AI agents. SQLite-backed, lazy-loaded. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1129 | Notion (TUI, CLI & MCP) Notion MCP server, CLI, and TUI in Rust with local SQLite FTS5 sync & Markdown block edits. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1130 | Microsoft Outlook (TUI, CLI & MCP) Microsoft Outlook mail, calendar, and tasks MCP server, CLI, and TUI in Rust with SQLite FTS5. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1131 | Microsoft OneNote (TUI, CLI & MCP) Microsoft OneNote MCP server, CLI, and TUI in Rust with local SQLite FTS5 cache & block edits. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1132 | Microsoft Teams (TUI, CLI & MCP) Microsoft Teams MCP server, CLI, and TUI in Rust with local SQLite FTS5 cache. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1133 | total-recall Persistent, verified, cross-session memory for AI agents. 26 tools. SQLite + sync. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1134 | pgwarden Give AI assistants access to Postgres with per-user permissions and human approval for writes. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 1135 | whoop-mcp Read-only WHOOP v2 data for MCP clients, with local SQLite cache and CSV/JSONL/Parquet exports. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1136 | Memory Kernel Local-first memory for AI agents: SQLite FTS5, deterministic recall, no vector DB, no cloud. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1137 | SchemaBrain The trust and intelligence layer between AI agents and your database. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1138 | Warehouse Context Governed warehouse context for agents: docs, lineage, freshness and read-only, PII-safe SQL. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 1139 | Palace Local-first memory for coding agents: MCP server, single SQLite file, local embeddings | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1140 | PySpark MCP SQL migration, AWS Glue job generation, and PySpark optimization as an MCP server. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 1141 | APC Security Reference Server Reference MCP server for synthetic APC action-security evaluation and local SQLite sandbox testin... | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1142 | india-regulatory-mcp Search RBI & SEBI circulars, master directions and regulations. Offline SQLite index, no API keys. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1143 | nimbo: a Jupyter-style notebook for JavaScript and TypeScript Read, edit, run and debug notebook cells; query outputs with JSONPath, jq or SQL; manage packages. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 1144 | Victauri In-process MCP server for Tauri apps: DOM, IPC with bodies, Rust state, SQLite. Debug builds only. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1145 | Mnemosyne Evidence-tracked local memory MCP server: one SQLite file; corrections retire dependent memories. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1146 | DBCode Query and explore 100+ databases through your DBCode connections. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 1147 | TeamOnly Deploy AI-built internal apps behind your company login, with a database, files and secrets. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1148 | KruschStack Local SQLite control plane for coding agents: persistent memory, Turn-0 grounding, and 2PC safety. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1149 | cli Kanta Verify, Find, and Database: email verification, email finding, and B2B contact search. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1150 | Citadel Encrypted-first embedded database with vector search and agent memory, exposed as MCP tools | In description database | HOSTEDLOCAL | Open | 1d ago |
FAQ
How many MCP servers are there for SQL querying?
Electra Index lists 1,231 active MCP servers for SQL querying from the Official MCP Registry. 521 offer a hosted endpoint and 945 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.