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 |
|---|---|---|---|---|---|
| 651 | dagpipe Crash-proof LLM pipelines. Resumes from failure without a database. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 652 | Engraphy Self-hosted MCP memory server: a typed knowledge graph on Postgres 16 and pgvector. | In description postgres | HOSTEDLOCAL | Open | 3d ago |
| 653 | Patent MCP Server Patent search over 1.4B global records via Google Patents on BigQuery, with CN coverage. | In description bigquery | HOSTEDLOCAL | Open | 3d ago |
| 654 | dbatools-mcp-server MCP server for dbatools — exposes SQL Server management commands as MCP tools | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 655 | delx-memory Local-first persistent memory MCP: shared SQLite key/value store, searchable, TTL-aware, secret-safe | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 656 | tmdb-mcp-server Search, detail, and discovery for movies, TV, and people on The Movie Database (TMDB). | In description database | HOSTEDLOCAL | Open | 3d ago |
| 657 | locksmith Lints PostgreSQL migrations for dangerous locking operations and suggests safe rewrites. | In description postgresql | HOSTEDLOCAL | Open | 3d ago |
| 658 | MCP Feed Reader RSS/Atom feed reader MCP server with SQLite backend | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 659 | LiteScope Operations toolchain for SQLite, Cloudflare D1 & Turso: inspect, diff, migrate, monitor & repair. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 660 | WHOOP MCP Sync WHOOP recovery, sleep, strain, and workouts into Postgres and query them from any MCP client. | In description postgres | HOSTEDLOCAL | Open | 3d ago |
| 661 | colabfit-mcp An MCP server that provides access to the ColabFit database | In description database | HOSTEDLOCAL | Open | 3d ago |
| 662 | awesome-coolify Coolify 4.1.x MCP server — deploy, diagnose, and manage apps, services, and databases | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 663 | freshtrack USDA food shelf-life database, food safety, storage tips, food waste cost calculator. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 664 | hypokrates Pharmacovigilance hypothesis generation from 15 public drug safety databases | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 665 | mcp-loom Stdio MCP proxy: intercepts oversized tool results into a queryable embedded DuckDB. | In description duckdb | HOSTEDLOCAL | Open | 3d ago |
| 666 | U2 MCP Server Connect AI assistants to Rocket Universe/UniData MultiValue databases via MCP. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 667 | memwright Embedded memory for AI agents with SQLite, pgvector, and Neo4j graph search. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 668 | dryrun PostgreSQL schema intelligence from a committed snapshot. No connection, no credentials. | In description postgresql | HOSTEDLOCAL | Open | 3d ago |
| 669 | Boyce Deterministic SQL compiler for AI agents. Your agent stops guessing SQL. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 670 | memory-arbiter-mcp Local SQLite MCP memory: evidence-based recall, advisory conflict notices, authorized governance. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 671 | MCP Superset Apache Superset MCP server — 135+ tools for dashboards, charts, datasets, SQL Lab, and security | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 672 | refcheck Verify academic citations against real databases. Catches hallucinated references, exports BibTeX. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 673 | ČSFD Movies, TV series, creators and user ratings from ČSFD.cz, the Czech-Slovak film database | In description database | HOSTEDLOCAL | Open | 3d ago |
| 674 | queryshield Secure SQL proxy for AI agents — NL→SQL, AST safety, per-agent RLS, audit log. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 675 | Beget Hosting Beget hosting: sites, domains, DNS, MySQL, FTP, cron, backups, mail — 73 tools | In description mysql | HOSTEDLOCAL | Open | 3d ago |
| 676 | Qdrant MCP MCP server that wraps the Qdrant vector database API as tools. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 677 | notion-mcp-server Token-auth Notion MCP: pages, databases, blocks, comments, files. Runs headless in CI and agents. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 678 | pgops Safe, audited PostgreSQL operations for AI agents: queries, migrations, EXPLAIN, containers | In description postgresql | HOSTEDLOCAL | Open | 3d ago |
| 679 | Generate Tech Stack Visual tech-stack inventory of any codebase: languages, frameworks, databases, AI SDKs, infra. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 680 | aifp Database-driven FP enforcement and project management for AI-maintained codebases | In description database | HOSTEDLOCAL | Open | 3d ago |
| 681 | fasttransfer-mcp MCP server for FastTransfer — high-performance parallel data transfer between databases | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 682 | argon Versioned MongoDB sandboxes for AI agents: branch, time-travel, merge, and undo over MCP. | In description mongodb | HOSTEDLOCAL | Open | 3d ago |
| 683 | metabrain MCP server giving AI agents persistent SQLite memory that proves which lessons hold. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 684 | migratorxpress-mcp MCP server for MigratorXpress — cross-platform database migration with parallel transfer | In description database | HOSTEDLOCAL | Open | 3d ago |
| 685 | fastbcp-mcp MCP server for FastBCP — high-performance parallel database export to files and cloud | In description database | HOSTEDLOCAL | Open | 3d ago |
| 686 | lakexpress-mcp MCP server for LakeXpress — automated database-to-cloud data pipeline as Parquet | In description database | HOSTEDLOCAL | Open | 3d ago |
| 687 | garmin-local-mcp Local-first Garmin data warehouse: sync once to SQLite, analyze trends and correlations offline. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 688 | mosta-net 1 MCP server, 13 databases, zero config. Multi-protocol transport with Auth + RBAC. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 689 | ohmyho.st Operate ohmyho.st hosting from your coding agent: deploy GitHub apps, Postgres, mail, domains. | In description postgres | HOSTEDLOCAL | Open | 3d ago |
| 690 | Tableau Workbook Auditor Local-only Tableau .twbx audit: lineage, unused fields, duplicate calcs, SQL, version diffs | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 691 | interactive-terminal MCP server for real interactive terminal sessions — REPLs, SSH, databases, Docker | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 692 | altr-mcp-server MCP server for ALTR data security: databases, tags, policies, classification, access, audits | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 693 | Akeyless Agentic Runtime Authority Secretless database and cloud access via Akeyless RTA. Credentials never enter the model. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 694 | myc Task queue, decisions and memory for coding agents. Local SQLite, no network. Requires Bun. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 695 | copilot-datagate Policy-driven, read-only MCP server for safe database access from AI tools. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 696 | Code Index SQLite-backed hybrid (vector + FTS) code search index for Claude Code over MCP. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 697 | lean-memory Embedded, local-first agent memory: one SQLite file per namespace, no server, no cloud. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 698 | factstore A fact store for AI agents, on Postgres: registered attributes, every write citing its evidence. | In description postgres | HOSTEDLOCAL | Open | 3d ago |
| 699 | repo-memory-mcp Persistent local memory for MCP-compatible AI coding agents, stored per repository in SQLite. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 700 | tinycontext Token-light local memory with SQLite hybrid retrieval for MCP agents. | In description sqlite | 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.