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 |
|---|---|---|---|---|---|
| 951 | Facthouse Local AI memory: neuroscience-inspired Data→Information→Knowledge in SQLite you own. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 952 | FactMem A local memory engine. You own the SQLite file. Not Mem0's hosted OpenMemory MCP. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 953 | chart-canvas Create interactive visualizations and query data sources (SQLite, CSV, Parquet, JSON) | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 954 | januscope Local MCP proxy for tool restrictions, response redaction, audit logs, and database schema context. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 955 | rentready Is an English rental ready for the landlord database? Deadline, gas/EICR/EPC, fee, checklist. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 956 | ragnarok Local RAG search over Obsidian vaults: SQLite hybrid search with local Ollama embeddings. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 957 | mcp MCP server for Florentine.ai - Natural language to MongoDB aggregations | In description mongodb | HOSTEDLOCAL | Open | 1d ago |
| 958 | Nuzo Memory Local-first, auditable memory for MCP-compatible AI agents with explicit writes and SQLite storage. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 959 | Liquid Connect your AI agent to anything — APIs, databases, and agents; read and write, auto-discovered. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 960 | garmin-mcp Garmin Connect activities, health, training and workouts via a local SQLite cache | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 961 | Chassis Scaffold an Express 5 + TypeScript backend: database, auth, optional Next.js front end. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 962 | mcp-percona-pg Manage Percona PostgreSQL + PgBouncer on Kubernetes — safe-by-default access modes and guards. | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 963 | Open Food Facts Search and contribute to the Open Food Facts database. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 964 | Airtable Read and write access to Airtable database schemas, tables, and records. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 965 | Conarium Governed database access for AI assistants: masking, signed receipts, coverage reconciliation. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 966 | mcp-grafana Search & edit Grafana dashboards, query datasources (PromQL/LogQL/SQL), inspect alerts. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 967 | dagpipe Crash-proof LLM pipelines. Resumes from failure without a database. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 968 | mcpg Production-grade PostgreSQL MCP server — 279 tools for query, tuning & ops, read-only by default. | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 969 | Engraphy Self-hosted MCP memory server: a typed knowledge graph on Postgres 16 and pgvector. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 970 | Patent MCP Server Patent search over 1.4B global records via Google Patents on BigQuery, with CN coverage. | In description bigquery | HOSTEDLOCAL | Open | 1d ago |
| 971 | dbatools-mcp-server MCP server for dbatools — exposes SQL Server management commands as MCP tools | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 972 | delx-memory Local-first persistent memory MCP: shared SQLite key/value store, searchable, TTL-aware, secret-safe | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 973 | Datanotes The engine of your second brain: Markdown notes as database tables, for you and your agents. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 974 | SynaBun Persistent memory MCP server for Claude Code, Codex and OpenCode, stored locally in SQLite | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 975 | tmdb-mcp-server Search, detail, and discovery for movies, TV, and people on The Movie Database (TMDB). | In description database | HOSTEDLOCAL | Open | 1d ago |
| 976 | locksmith Lints PostgreSQL migrations for dangerous locking operations and suggests safe rewrites. | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 977 | WHOOP MCP Sync WHOOP recovery, sleep, strain, and workouts into Postgres and query them from any MCP client. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 978 | MCP Feed Reader RSS/Atom feed reader MCP server with SQLite backend | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 979 | LiteScope Operations toolchain for SQLite, Cloudflare D1 & Turso: inspect, diff, migrate, monitor & repair. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 980 | colabfit-mcp An MCP server that provides access to the ColabFit database | In description database | HOSTEDLOCAL | Open | 1d ago |
| 981 | CloudQuery CloudQuery MCP server for asset inventory data. Supports CLI, PostgreSQL, and Platform modes. | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 982 | awesome-coolify Coolify 4.1.x MCP server — deploy, diagnose, and manage apps, services, and databases | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 983 | freshtrack USDA food shelf-life database, food safety, storage tips, food waste cost calculator. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 984 | Datakeel Local-first workbench for auditable AI datasets, traceable SQL metrics, and approved actions. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 985 | LogCarver Read-only MCP server that finds deleted SQL Server rows from the transaction log (fn_dblog). | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 986 | Monomem Local shared memory for AI coding agents: SQLite notes with writer provenance, undo, search. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 987 | LogCarverGuard Guardrail for AI agents on SQL Server: statement blocking, optional read-only mode and an audit log. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 988 | mcp-loom Stdio MCP proxy: intercepts oversized tool results into a queryable embedded DuckDB. | In description duckdb | HOSTEDLOCAL | Open | 1d ago |
| 989 | hypokrates Pharmacovigilance hypothesis generation from 15 public drug safety databases | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 990 | memwright Embedded memory for AI agents with SQLite, pgvector, and Neo4j graph search. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 991 | dryrun PostgreSQL schema intelligence from a committed snapshot. No connection, no credentials. | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 992 | Boyce Deterministic SQL compiler for AI agents. Your agent stops guessing SQL. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 993 | U2 MCP Server Connect AI assistants to Rocket Universe/UniData MultiValue databases via MCP. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 994 | MCP Superset Apache Superset MCP server — 135+ tools for dashboards, charts, datasets, SQL Lab, and security | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 995 | memory-arbiter-mcp Local SQLite MCP memory: evidence-based recall, advisory conflict notices, authorized governance. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 996 | queryshield Secure SQL proxy for AI agents — NL→SQL, AST safety, per-agent RLS, audit log. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 997 | refcheck Verify academic citations against real databases. Catches hallucinated references, exports BibTeX. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 998 | ČSFD Movies, TV series, creators and user ratings from ČSFD.cz, the Czech-Slovak film database | In description database | HOSTEDLOCAL | Open | 1d ago |
| 999 | Beget Hosting Beget hosting: sites, domains, DNS, MySQL, FTP, cron, backups, mail — 73 tools | In description mysql | HOSTEDLOCAL | Open | 1d ago |
| 1000 | notion-mcp-server Token-auth Notion MCP: pages, databases, blocks, comments, files. Runs headless in CI and agents. | In description databases | 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.