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 |
|---|---|---|---|---|---|
| 601 | pgvector Similarity search, hybrid search, and index management for pgvector-backed PostgreSQL tables | In description postgresql | HOSTEDLOCAL | Open | 3d ago |
| 602 | microquery-mcp SQL over real-world data — FDA, SEC, blockchain, genomics, CVEs, and more. No config. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 603 | csvql Query CSV files with SQL via MCP. Fast, local, zero-config, read-only, sandboxable with --root. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 604 | MCP TUSS / Rol ANS Consulta tabelas TUSS da ANS: procedimentos, medicamentos, diárias e taxas via SQLite local. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 605 | Manticore Search MCP server for Manticore Search — lets AI assistants query and manage search databases. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 606 | mcp-devtools MCP server giving AI agents safe access to filesystem, databases, processes, and APIs. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 607 | IGDB Games MCP by UnClick Video game database: search games, companies, genres, and platforms via IGDB. By UnClick. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 608 | termdat-mcp MCP server for TERMDAT — the terminology database of the Swiss Federal Administration | In description database | HOSTEDLOCAL | Open | 3d ago |
| 609 | Dev error explainers Offline, deterministic cause and fix for Node, npm, Next.js, CORS and Postgres URL errors. | In description postgres | HOSTEDLOCAL | Open | 3d ago |
| 610 | remem Local-first automatic memory for Claude Code and Codex: capture, distill, recall from SQLite. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 611 | Virtual Filesystem PostgreSQL-backed virtual filesystem for agents: session isolation, shared stores, POSIX ops, RLS. | In description postgresql | HOSTEDLOCAL | Open | 3d ago |
| 612 | mismem Cooperative persistent memory for LLMs: episodes, memories and traits over SQLite (FTS5, Hebbian) | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 613 | skillmem Skill memory for coding agents: learn, recall, reinforce, decay. Local SQLite, no API key. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 614 | memharness Bi-temporal, provenance-carrying long-term memory for AI agents, in one SQLite file. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 615 | memory-fts Long-term memory for Claude Code with SQLite FTS5 search and BM25 ranking | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 616 | LoreConvo Local-first persistent session memory for Claude Code and other agents. SQLite + FTS5, no cloud. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 617 | memtether Cross-client AI memory hub: agents share one SQLite memory.db via file-level pointers. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 618 | Vector DB MCP Assembly-accelerated DuckDB MCP server for code search, indexing, and symbol lookup. | In description duckdb | HOSTEDLOCAL | Open | 3d ago |
| 619 | krimto Memory for AI coding agents — markdown in your own git, not a vendor database. Apache-2.0. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 620 | che-apple-mail-mcp Apple Mail MCP — 44 tools, SQLite millisecond search, .emlx parser, batch ops | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 621 | memex Local MCP memory for coding agents. SQLite on your machine — preferences persist across chats. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 622 | memory-find Local, explainable knowledge base for AI agents: hybrid search with provenance over SQLite. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 623 | Basalt Local SQL workspaces with bounded, recoverable writes for coding agents. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 624 | Sellbase Open source commerce in your own Supabase: catalog, checkout, orders and bookings, run by your AI. | In description supabase | HOSTEDLOCAL | Open | 3d ago |
| 625 | arm-code-mcp MCP server for Arm64 Linux performance: parse perf output, suggest NEON intrinsics, audit deps. | In description neon | HOSTEDLOCAL | Open | 3d ago |
| 626 | memo Memory for AI agents — MLX (Apple Silicon) or CPU (Linux), sqlite-vec + BM25, zero cloud. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 627 | Memory MCP Server SQLite-backed MCP server for persistent memory, full-text retrieval, and graph traversal. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 628 | Archery MCP Read-only MCP server for the Archery SQL audit platform: production schema and release SQL checks | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 629 | mcp-notion Notion for AI agents — search, read pages/blocks, query databases, create pages. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 630 | mcp-server Keyword, semantic, hybrid, and SQL retrieval for AI agents, local or on Infino Cloud. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 631 | InfluxDB 3 Official InfluxDB 3 MCP server: query, write and manage Core, Enterprise and Cloud databases. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 632 | mcp-data Tabular data for AI agents — load CSV/JSON/XLSX, query, group-by, stats (no database). | In description database | HOSTEDLOCAL | Open | 3d ago |
| 633 | code-context Local code search for AI coding agents: hybrid keyword + semantic + SQL over an index in your repo. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 634 | Docker MCP Server Docker for AI agents — containers, compose stacks, logs and databases, locally or over SSH. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 635 | seo-crawler-mcp Crawl and analyse websites for SEO errors using Crawlee with SQLite storage | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 636 | wherewent Zero-config SQL flight recorder for slow Python/SQLAlchemy jobs: exact call site, count, and fix. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 637 | FactMem A local memory engine. You own the SQLite file. Not Mem0's hosted OpenMemory MCP. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 638 | Facthouse Local AI memory: neuroscience-inspired Data→Information→Knowledge in SQLite you own. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 639 | chart-canvas Create interactive visualizations and query data sources (SQLite, CSV, Parquet, JSON) | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 640 | januscope Local MCP proxy for tool restrictions, response redaction, audit logs, and database schema context. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 641 | GeoLens Read-only access to a self-hosted GeoLens spatial catalog: datasets, features, maps, sandboxed SQL. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 642 | mcp MCP server for Florentine.ai - Natural language to MongoDB aggregations | In description mongodb | HOSTEDLOCAL | Open | 3d ago |
| 643 | Nuzo Memory Local-first, auditable memory for MCP-compatible AI agents with explicit writes and SQLite storage. | In description sqlite | HOSTEDLOCAL | Open | 3d ago |
| 644 | Liquid Connect your AI agent to anything — APIs, databases, and agents; read and write, auto-discovered. | In description databases | HOSTEDLOCAL | Open | 3d ago |
| 645 | Chassis Scaffold an Express 5 + TypeScript backend: database, auth, optional Next.js front end. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 646 | Conarium Governed database access for AI assistants: masking, signed receipts, coverage reconciliation. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 647 | Airtable Read and write access to Airtable database schemas, tables, and records. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 648 | mcp-grafana Search & edit Grafana dashboards, query datasources (PromQL/LogQL/SQL), inspect alerts. | In description sql | HOSTEDLOCAL | Open | 3d ago |
| 649 | Open Food Facts Search and contribute to the Open Food Facts database. | In description database | HOSTEDLOCAL | Open | 3d ago |
| 650 | mcp-percona-pg Manage Percona PostgreSQL + PgBouncer on Kubernetes — safe-by-default access modes and guards. | In description postgresql | 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.