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 |
|---|---|---|---|---|---|
| 501 | PG Bloat Detective Read-only Postgres bloat verdicts: blockers, timelines, REINDEX proof. | In description postgres | HOSTEDLOCAL | Open | 2d ago |
| 502 | Nexus MCP Search Notion and Supabase through one safety-focused MCP server. | In description supabase | HOSTEDLOCAL | Open | 3d ago |
| 503 | LogCarverGuard Guardrail for AI agents on SQL Server: statement blocking, optional read-only mode and an audit log. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 504 | thingery Open item database and MCP server for AI agents to list, find, and trade second-hand goods. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 505 | Datanotes The engine of your second brain: Markdown notes as database tables, for you and your agents. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 506 | monacloud-mcp Buy .vn/intl domains in VND, deploy apps, Postgres, email, VietQR pay — Vietnam MCP for AI agents | In description postgres | HOSTEDLOCAL | Open | 3d ago |
| 507 | cli Deploy and monetize agent-built apps: login, database, usage billing, and end-user-pays. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 508 | codex-supervisor-mcp Parallel Codex CLI workers from any MCP client: one git worktree each, state in SQLite, web board. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 509 | GWAS Bioinformatics MCP Server Access 30+ bioinformatics tools from 14 databases. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 510 | TeamMemory Team experience database - let AI accumulate, retrieve and apply team knowledge across chats. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 511 | statecore-mcp Auditable memory for coding agents: evidence chains, supersession history, keyless embedded SQLite | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 512 | BioMCP-TS Biomedical MCP server: genes, variants, trials, literature, patents, optional SQL/R/biowasm tools. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 513 | mini-app-mcp Agent-First CRUD store MCP server — 1 daemon per table, schema.yaml driven, SQLite backend | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 514 | db-compare Read-only MCP to diff SQL Server/Azure SQL schema, procs, views, and tables between environments. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 515 | agent-memory-mcp Markdown memory for AI agents. Files you can read, edit, grep, and commit. Not a database. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 516 | th-memory-mcp Local long-term memory MCP server (SQLite) for AI coding agents — OpenCode, Claude Code, Cursor | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 517 | Pantry Relay Local SQLite pantry planner with six MCP tools for meals, stock and shopping. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 518 | w8s-astro-mcp Natal charts, transits, history, ingress forecasting, aspects, composite & Davison charts — SQLite. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 519 | cvinbio Search professional profiles from the CVin.Bio talent database. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 520 | mcp-server Manage Upstash databases and resources through the Upstash Developer API. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 521 | Websupport Manage a Websupport account: DNS, FTP, hosting, databases, mailboxes, VPS and invoices. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 522 | patents-mcp Patent search and prior art discovery via Google Patents on BigQuery | In description bigquery | HOSTEDLOCAL | Open | 3d ago |
| 523 | mindpm Persistent project memory for LLMs via SQLite. Never re-explain your project again. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 524 | TypeDB Execute TypeQL queries and manage databases and users on a TypeDB server. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 525 | mcp-trino MCP server for Trino distributed SQL query engine access | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 526 | mcp-server-digitalocean MCP server for DigitalOcean — manage Droplets, databases, domains, and more | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 527 | Tribal Self-hosted semantic memory over MCP for an engineering team's tacit knowledge. Needs Postgres. | In description postgres | HOSTEDLOCAL | Open | 3d ago |
| 528 | tdai-memory-mcp Local-first MCP memory server for coding agents. No API key, no cloud. SQLite + FTS5 + sqlite-vec. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 529 | Tiger MCP Provides programmatic access to Tiger Cloud services, databases, and documentation. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 530 | remem-mcp — Local-first MCP Memory + CodeGraph + Wiki Local-first memory for AI coding agents. Memory + CodeGraph + Wiki in one SQLite file. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 531 | myco-brain Self-hosted, source-traceable memory layer and MCP server for AI agents, on your own Postgres. | In description postgres | HOSTEDLOCAL | Open | 3d ago |
| 532 | claude-webcache Cross-session WebFetch cache for Claude Code. Unlimited TTL by default, SQLite, MCP plugin. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 533 | memkeeper Local-first memory for AI agents: on-device hybrid retrieval over a single SQLite file. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 534 | dbx Query databases from AI agents using connections configured in DBX. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 535 | open-memex Local-first memory for AI coding agents — Markdown + SQLite FTS5, shared across editors via MCP. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 536 | Local Memory Persistent local AI memory. SQLite + FTS5 + vector search, knowledge graph. No cloud, no API keys. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 537 | StackQL MCP Server SQL-native query and provisioning engine for cloud infrastructure, served over MCP. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 538 | sqemo Design ERDs with your team's naming standards: query/edit entities and relationships, SQL/DBML | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 539 | MCPDBWizard An Oracle MCP server built from the PL/SQL, tables and statements you select. No run-sql tool | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 540 | saga-mcp Jira-like project tracker for AI agents with SQLite, full task hierarchy, and dashboard | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 541 | Graphmem Shared local memory for coding agents: SQLite, semantic recall, linked entities, code navigation. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 542 | Jeero MCP Local Jeero MCP server backed by Mother and SQLite. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 543 | tether Local-first agent memory over SQLite: remember, recall, link, forget. Degrades, never fails. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 544 | Mi Fitness Data Bridge Local-first bridge: export your own Mi Fitness (Xiaomi) health data to SQLite/JSON/CSV and MCP. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 545 | SAME - Stateless Agent Memory Engine Persistent memory for AI coding agents. Local-first SQLite + vector search. 17 MCP tools. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 546 | cds-db-nlquery-mcp MCP server for natural-language queries against SAP CAP db-layer entities via real CQN/SQL JOINs. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 547 | redash-mcp Connect Redash to Claude -- query data, manage dashboards, and run SQL with natural language. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 548 | clude Portable agent memory anchored on Solana. Local SQLite + vector recall, open export. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 549 | FPL Context Fantasy Premier League stats (SQL) and BBC/Guardian press and injury news search for AI agents. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 550 | fabric-dw MCP server for Microsoft Fabric Data Warehouses and SQL Analytics Endpoints | In description sql | 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.