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 |
|---|---|---|---|---|---|
| 1001 | dict Look up words in the Azerbaijani explanatory dictionary; downloads its database once (local only). | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1002 | FastrMemory Local-first cognitive agent memory with bi-temporal SQLite, replayable history, hybrid retrieval. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1003 | schemagate Identity-scoped schema selection for text-to-SQL. Returns only the tables the caller may read. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 1004 | Generate Tech Stack Visual tech-stack inventory of any codebase: languages, frameworks, databases, AI SDKs, infra. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 1005 | datalint Audit CSV, Excel, Parquet and SQLite data: missing values, duplicates, outliers, PII. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1006 | Ashlr Stack Provision and connect third-party dev services (Supabase, Vercel, and more) from your coding agent. | In description supabase | HOSTEDLOCAL | Open | 1d ago |
| 1007 | Treant Self-hosted graph memory for AI coding agents: Postgres + pgvector, isolated workspaces. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 1008 | pgops Safe, audited PostgreSQL operations for AI agents: queries, migrations, EXPLAIN, containers | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 1009 | AIMFP Database-driven directives and project tracking for modular functional-procedural AI coding | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1010 | argon MongoDB sandboxes for AI agents, Git for MongoDB underneath: branch, diff, merge, undo over MCP. | In description mongodb | HOSTEDLOCAL | Open | 1d ago |
| 1011 | Sequential Thinking Working Notes Local working notes, decisions, evidence and resumable sessions with SQLite persistence. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1012 | metabrain MCP server giving AI agents persistent SQLite memory that proves which lessons hold. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1013 | Dataparity Cross-database data diff and reconciliation for AI agents, with a portable row hash | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1014 | mosta-net 1 MCP server, 13 databases, zero config. Multi-protocol transport with Auth + RBAC. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 1015 | garmin-local-mcp Local-first Garmin data warehouse: sync once to SQLite, analyze trends and correlations offline. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1016 | Tableau Workbook Auditor Local-only Tableau .twbx audit: lineage, unused fields, duplicate calcs, SQL, version diffs | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 1017 | interactive-terminal MCP server for real interactive terminal sessions — REPLs, SSH, databases, Docker | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 1018 | altr-mcp-server MCP server for ALTR data security: databases, tags, policies, classification, access, audits | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 1019 | Trino Query Trino and inspect or maintain Iceberg tables: catalogs, schemas, SQL, snapshots. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 1020 | myc Task queue, decisions and memory for coding agents. Local SQLite, no network. Requires Bun. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1021 | Akeyless Agentic Runtime Authority Secretless database and cloud access via Akeyless RTA. Credentials never enter the model. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1022 | copilot-datagate Policy-driven, read-only MCP server for safe database access from AI tools. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1023 | Code Index SQLite-backed hybrid (vector + FTS) code search index for Claude Code over MCP. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1024 | Graph Explorer Query graph databases with Cypher over BOLT and see the answer as an interactive graph (MCP Apps) | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 1025 | Lorebase Read and change a governed, versioned knowledge graph on Postgres through typed tools. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 1026 | lean-memory Embedded, local-first agent memory: one SQLite file per namespace, no server, no cloud. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1027 | Lific Local-first, lightweight issue tracker. Single binary, SQLite-backed, MCP-native. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1028 | factstore A fact store for AI agents, on Postgres: registered attributes, every write citing its evidence. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 1029 | repo-memory-mcp Persistent local memory for MCP-compatible AI coding agents, stored per repository in SQLite. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1030 | ContextBridge MCP memory server for AI coding assistants. Windows Service, ONNX embeddings, SQLite vector search. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1031 | tinycontext Token-light local memory with SQLite hybrid retrieval for MCP agents. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1032 | LLMSlim memory Long-term memory and context fitting for agents, with no LLM in the loop. Local SQLite. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1033 | IBM Db2 for i Read-only SQL queries and schema inspection for IBM Db2 for i over ODBC, JT400 or Mapepire (SSH). | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 1034 | claude-amplifier Persistent memory + decision tracking for Claude across sessions. Local SQLite, no cloud. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1035 | chron Timestamped audit log for every AI conversation — stored locally in SQLite, owned by you. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1036 | rekindle MCP session continuity engine: boot reports, PreCompact capture, session-start delivery, SQLite. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1037 | glp1search GLP-1 provider directory, peptide database, and medication comparison tools. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1038 | Secure Schema MCP Read-only MCP server for exposing database schema metadata without row data. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1039 | BackendGen Validate compact backend specs and generate tested NestJS, Prisma, and PostgreSQL repositories. | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 1040 | Shrike Governs what AI agents do: tool calls, SQL, commands, files checked against policy before they run. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 1041 | Infrawise Live AWS, database & Kafka infrastructure context for AI coding assistants via MCP. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 1042 | Memory Engine MCP Local-first graph memory for AI assistants with SQLite, semantic search, and MCP tools. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1043 | PgVouch Safe PostgreSQL migrations: schema drift, lock analysis, safe rewrites, data checksums. Read-only. | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 1044 | SentinelOne MCP Every SentinelOne v2.1 management endpoint, plus an offline SQLite store and cross-entity analytics | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1045 | runZero MCP Every runZero query, plus a local SQLite copy of your whole attack surface that diffs over time | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1046 | Veeam VSPC MCP Sync Veeam Service Provider Console tenants to local SQLite; cross-company backup answers offline. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1047 | Huntress MCP Every Huntress endpoint, plus a local SQLite mirror that delivers fleet-wide incident, coverage | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1048 | Pipedrive MCP Full Pipedrive CRUD plus a local SQLite pipeline copy: stale deals, forecasts, aging, dupes, rep | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1049 | QuickBooks Online MCP Every QuickBooks Online Accounting entity, plus an offline SQLite mirror and AR/AP aging. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 1050 | Tactical RMM MCP Every Tactical RMM endpoint as a typed command, plus an offline SQLite mirror and cross-entity | 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.