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 |
|---|---|---|---|---|---|
| 801 | thingery Open item database and MCP server for AI agents to list, find, and trade second-hand goods. | In description database | HOSTEDLOCAL | Open | 11h ago |
| 802 | myco-brain Shared, source-backed memory for AI agents on your own Postgres, with an optional document engine. | In description postgres | HOSTEDLOCAL | Open | 11h ago |
| 803 | claude-webcache Cross-session WebFetch cache for Claude Code. Unlimited TTL by default, SQLite, MCP plugin. | In description sqlite | HOSTEDLOCAL | Open | 11h ago |
| 804 | LogBear Local dev server logs for coding agents: errors, runs and diffs as read-only SQL. | In description sql | HOSTEDLOCAL | Open | 11h ago |
| 805 | Memoire Local-first semantic memory for coding agents: SQLite + local embeddings, no hosted service. | In description sqlite | HOSTEDLOCAL | Open | 11h ago |
| 806 | memkeeper Local-first memory for AI agents: on-device hybrid retrieval over a single SQLite file. | In description sqlite | HOSTEDLOCAL | Open | 11h ago |
| 807 | dbx Query databases from AI agents using connections configured in DBX. | In description databases | HOSTEDLOCAL | Open | 11h ago |
| 808 | Warehouse MCP Governed read-only warehouse access for agents: SQL guard, row policies, PII pseudonyms, audit log. | In description sql | HOSTEDLOCAL | Open | 11h ago |
| 809 | UID Generator Snowflake unique-ID issuing MCP server: rollback refusal, worker lease, pure Python. | In description snowflake | HOSTEDLOCAL | Open | 11h ago |
| 810 | Local Memory Persistent local AI memory. SQLite + FTS5 + vector search, knowledge graph. No cloud, no API keys. | In description sqlite | HOSTEDLOCAL | Open | 11h ago |
| 811 | StackQL MCP Server SQL-native query and provisioning engine for cloud infrastructure, served over MCP. | In description sql | HOSTEDLOCAL | Open | 11h ago |
| 812 | MCPDBWizard for MariaDB A MariaDB MCP server built from the procedures, tables and statements you select. No run-sql tool | In description sql | HOSTEDLOCAL | Open | 11h ago |
| 813 | MCPDBWizard An Oracle MCP server built from the PL/SQL, tables and statements you select. No run-sql tool | In description sql | HOSTEDLOCAL | Open | 11h ago |
| 814 | sqemo Design ERDs with your team's naming standards: query/edit entities and relationships, SQL/DBML | In description sql | HOSTEDLOCAL | Open | 11h ago |
| 815 | saga-mcp Jira-like project tracker for AI agents with SQLite, full task hierarchy, and dashboard | In description sqlite | HOSTEDLOCAL | Open | 11h ago |
| 816 | Graphmem Shared local memory for coding agents: SQLite, semantic recall, linked entities, code navigation. | In description sqlite | HOSTEDLOCAL | Open | 11h ago |
| 817 | AlphaFold Sovereign MCP MCP server for AlphaFold and 8 other biomedical data sources with a local SQLite knowledge graph | In description sqlite | HOSTEDLOCAL | Open | 11h ago |
| 818 | Jeero MCP Local Jeero MCP server backed by Mother and SQLite. | In description sqlite | HOSTEDLOCAL | Open | 11h ago |
| 819 | tether Local-first agent memory over SQLite: remember, recall, link, forget. Degrades, never fails. | In description sqlite | HOSTEDLOCAL | Open | 11h ago |
| 820 | Jabali Panel Manage domains, DNS, mail, databases and backups on a Jabali Panel hosting server. | In description databases | HOSTEDLOCAL | Open | 11h ago |
| 821 | 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 | 11h ago |
| 822 | Local Codebase Indexer Trace SQL Server tables to C# callers and Razor pages locally; MCP server and CLI. | In description sql | HOSTEDLOCAL | Open | 11h ago |
| 823 | SAME - Stateless Agent Memory Engine Persistent memory for AI coding agents. Local-first SQLite + vector search. 17 MCP tools. | In description sqlite | HOSTEDLOCAL | Open | 11h ago |
| 824 | 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 | 11h ago |
| 825 | toolsmelt Curated MCP tools from OpenAPI, websites, apps, Postman, cURL or SQL; your agent designs them. | In description sql | HOSTEDLOCAL | Open | 11h ago |
| 826 | Zoomit Products Read-only Zoomit (zoobin) product database: specs, shop prices in Toman, price history, comparisons. | In description database | HOSTEDLOCAL | Open | 11h ago |
| 827 | redash-mcp Connect Redash to Claude -- query data, manage dashboards, and run SQL with natural language. | In description sql | HOSTEDLOCAL | Open | 11h ago |
| 828 | clude Portable agent memory anchored on Solana. Local SQLite + vector recall, open export. | In description sqlite | HOSTEDLOCAL | Open | 11h ago |
| 829 | fabric-dw MCP server for Microsoft Fabric Data Warehouses and SQL Analytics Endpoints | In description sql | HOSTEDLOCAL | Open | 11h ago |
| 830 | schemacrawler-ai Enables natural language schema queries — explore tables, keys, procedures, and get SQL help fast | In description sql | HOSTEDLOCAL | Open | 11h ago |
| 831 | patents-mcp-server Patent intelligence — USPTO Open Data, PTAB, EPO OPS and BigQuery full-text search. | In description bigquery | HOSTEDLOCAL | Open | 11h ago |
| 832 | amu-pgvector Lineage-gated agent memory tools on Postgres + pgvector, enforced by row-level security. | In description postgres | HOSTEDLOCAL | Open | 11h ago |
| 833 | rowstile Check, test, prove and review a rowstile policy: access rules for Postgres row-level security | In description postgres | HOSTEDLOCAL | Open | 13h ago |
| 834 | Showboard Your coding agent answers with dashboards: charts and tables from read-only SQL, Excel and CSV. | In description sql | HOSTEDLOCAL | Open | 13h ago |
| 835 | Rebase Schema, database, document, user and dev-server tools for a Rebase backend project. | In description database | HOSTEDLOCAL | Open | 13h ago |
| 836 | llm-kosh Local-first AI memory cartridge with persistent MCP memory for Claude via SQLite FTS5. | In description sqlite | HOSTEDLOCAL | Open | 13h ago |
| 837 | orionbelt-analytics Ontology-based MCP server for database schema analysis and RDF/OWL ontology generation | In description database | HOSTEDLOCAL | Open | 13h ago |
| 838 | PG Bloat Detective Read-only Postgres bloat verdicts: blockers, timelines, REINDEX proof. | In description postgres | HOSTEDLOCAL | Open | 13h ago |
| 839 | orionbelt-semantic-layer API-first semantic layer MCP server compiling YAML models into dialect-specific SQL | In description sql | HOSTEDLOCAL | Open | 13h ago |
| 840 | 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 | 13h ago |
| 841 | qualien-mcp MCP gateway for QA/SDET work: Playwright, files, GitHub, Jira, Postgres & more in one connection. | In description postgres | HOSTEDLOCAL | Open | 13h ago |
| 842 | junglescout-mcp Jungle Scout MCP server: keyword volumes, product database, sales estimates, share of voice | In description database | HOSTEDLOCAL | Open | 14h ago |
| 843 | pREST Stdio MCP adapter bridging AI clients to pREST’s HTTP /_mcp endpoint for PostgreSQL APIs. | In description postgresql | HOSTEDLOCAL | Open | 14h ago |
| 844 | Databricks MCP Server 263 tools for Databricks: Unity Catalog, SQL, Compute, Jobs, Serving, and more. | In description sql | HOSTEDLOCAL | Open | 14h ago |
| 845 | memex Persistent session memory for Claude Code. Local SQLite, no LLMs, no network. | In description sqlite | HOSTEDLOCAL | Open | 14h ago |
| 846 | pensieve Manually-triggered, self-organising personal memory for AI agents; SQLite, no vector DB. | In description sqlite | HOSTEDLOCAL | Open | 14h ago |
| 847 | pitstop F1 MCP server: live timing, telemetry, standings, news, and a queryable 1950-present database. | In description database | HOSTEDLOCAL | Open | 14h ago |
| 848 | PlatypusDB Your PlatypusDB database connections for AI agents, with the access you give each one. | In description database | HOSTEDLOCAL | Open | 14h ago |
| 849 | pgmcp Read-only Postgres ops/DBA diagnostics: slow queries, EXPLAIN, locks, index and table health. | In description postgres | HOSTEDLOCAL | Open | 14h ago |
| 850 | google-health-mcp MCP server for the Google Health API, with a local SQLite cache and trend analysis. | In description sqlite | HOSTEDLOCAL | Open | 14h 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.