List your agent
MCP use case · SQL Querying

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.

1,229 servers520 hosted, nothing to install944 open source6 ready-made AI agents
#ToolRelevanceConnectCodeSeen
851withings-mcp
MCP server for the Withings Health API with OAuth, local SQLite cache, and trend analysis.
In description
sqlite
HOSTEDLOCALOpen14h ago
852agentRamen
Local-first codebase intelligence for coding agents: indexes code and Git history into SQLite.
In description
sqlite
HOSTEDLOCALOpen14h ago
853agentmem
Lightweight persistent memory for AI agents. Hybrid search. 16 tools. One SQLite file.
In description
sqlite
HOSTEDLOCALOpen14h ago
854Life Dashboard
Read-only health and screen time history from the Postgres of a self-hosted Life Dashboard Stack
In description
postgres
HOSTEDLOCALOpen14h ago
855Anamnesis
Cross-machine, file-first memory for Claude Code: markdown + SQLite FTS5, synced with git
In description
sqlite
HOSTEDLOCALOpen14h ago
856GLEIF MCP Server
Access the GLEIF LEI database for company verification, KYC, and ownership research.
In description
database
HOSTEDLOCALOpen14h ago
857sync82
Persistent, structured project memory for AI coding agents, stored locally in SQLite.
In description
sqlite
HOSTEDLOCALOpen14h ago
858MCP Debug Recorder
Record debug sessions, commands, failed attempts, and successful fixes in local SQLite storage.
In description
sqlite
HOSTEDLOCALOpen14h ago
859nuthatch
Query an EVM contract's indexed history with SQL, via a local nuthatch nest and nuthatch dev.
In description
sql
HOSTEDLOCALOpen14h ago
860Local FAISS MCP Server
Local FAISS vector database for RAG with document ingestion, semantic search, and MCP prompts.
In description
database
HOSTEDLOCALOpen14h ago
861IDs-LE
Extract every UUID, ULID, NanoID, ObjectId and Snowflake, and decode the time inside.
In description
snowflake
HOSTEDLOCALOpen14h ago
862Halfnine
PostgreSQL through Halfnine: describe, read-only queries, and changes you approve in the app.
In description
postgresql
HOSTEDLOCALOpen14h ago
863MCP for Primavera P6
Primavera P6 MCP server: critical path, DCMA checks, what-if and safe write-back to the P6 database
In description
database
HOSTEDLOCALOpen14h ago
864mnemon-mcp
Persistent layered memory for AI agents. SQLite FTS5, fact versioning, zero-cloud.
In description
sqlite
HOSTEDLOCALOpen14h ago
865QueryPilot
Safe SQL gateway for AI agents: SELECT-only validation, access policies, masking, audit trail, evals
In description
sql
HOSTEDLOCALOpen14h ago
866mcp-neo4j-aura-manager
MCP server for Neo4j Aura Database Instance Manager.
In description
database
HOSTEDLOCALOpen14h ago
867mcp-neo4j-cypher
A simple Neo4j MCP server that allows you to run Cypher queries against a Neo4j database.
In description
database
HOSTEDLOCALOpen14h ago
868safedb-mcp
A secure MCP server that lets AI agents query databases safely.
In description
databases
HOSTEDLOCALOpen14h ago
869mcp-rs
Rust MCP server for WordPress: posts, pages, media, comments and settings, plus read-only SQL.
In description
sql
HOSTEDLOCALOpen14h ago
870vndb-mcp
Search the Visual Novel Database: visual novels, characters, releases, tags and ratings.
In description
database
HOSTEDLOCALOpen14h ago
871wger-mcp
Exercises, muscles, and workout data from the open wger database. No key required.
In description
database
HOSTEDLOCALOpen14h ago
872tmdb-mcp
Search movies, TV shows, and trending titles from The Movie Database. Free TMDB key required.
In description
database
HOSTEDLOCALOpen19h ago
873pbdb-mcp
Fossil occurrences and taxa from the Paleobiology Database. No key required.
In description
database
HOSTEDLOCALOpen20h ago
874nvd-cve-mcp
Search CVE vulnerability records from the NIST NVD database. No key required.
In description
database
HOSTEDLOCALOpen20h ago
875migration-map-mcp
Find local migration numbering gaps and rollback pairing signals without returning SQL, paths,...
In description
sql
HOSTEDLOCALOpen1d ago
876mac-lookup-mcp
Look up the vendor of a MAC address from the MAC Vendors database. No key required.
In description
database
HOSTEDLOCALOpen1d ago
877leetcode-mcp
LeetCode problem database: list problems by difficulty, search by title.
In description
database
HOSTEDLOCALOpen1d ago
878jpl-sbdb-mcp
Asteroid and comet data from the NASA JPL Small Body Database. No key required.
In description
database
HOSTEDLOCALOpen1d ago
879gamebanana-mcp
GameBanana mods database: search mods by game, browse mod feeds, read mod pages.
In description
database
HOSTEDLOCALOpen1d ago
880ebi-search-mcp
EBI Search API: search EMBL-EBI biomedical databases.
In description
databases
HOSTEDLOCALOpen1d ago
881chembl-mcp
Drug molecules and bioactivity from the ChEMBL database. No key required.
In description
database
HOSTEDLOCALOpen1d ago
882mcp-server-motherduck
SQL analytics and data engineering for AI Assistants and IDEs
In description
sql
HOSTEDLOCALOpen1d ago
883NEPHIS MCP Server
Sub-6ms microVM sandboxes, zero-copy Postgres branching, and fast code execution in ap-south-1.
In description
postgres
HOSTEDLOCALOpen1d ago
884datasaudi-mcp
Saudi economic & social statistics (GASTAT/DataSaudi) in English or Arabic. Keyless, no database.
In description
database
HOSTEDLOCALOpen1d ago
885mcp-plesk-lite
MCP server for Plesk: manage domains, DNS, mail, SSL, backups, databases and WordPress via AI.
In description
databases
HOSTEDLOCALOpen1d ago
886Mneme Memory
Cross-session memory for AI coding agents via six tools; local-first SQLite store.
In description
sqlite
HOSTEDLOCALOpen1d ago
887terminal-mcp
MCP server for interactive terminal sessions — SSH, REPLs, database CLIs, TUI apps
In description
database
HOSTEDLOCALOpen1d ago
888pgvector
Similarity search, hybrid search, and index management for pgvector-backed PostgreSQL tables
In description
postgresql
HOSTEDLOCALOpen1d ago
889microquery-mcp
SQL over real-world data — FDA, SEC, blockchain, genomics, CVEs, and more. No config.
In description
sql
HOSTEDLOCALOpen1d ago
890migrationpilot
112 rules that catch dangerous PostgreSQL migrations, plus a pass/fail gate to call before any DDL.
In description
postgresql
HOSTEDLOCALOpen1d ago
891memtwig
Git-native multi-org Markdown memory layer for AI agents with isolated vaults and SQLite FTS5.
In description
sqlite
HOSTEDLOCALOpen1d ago
892dbboard
Hands AI agents the databases dbboard connects to: reads by default, and never a secret.
In description
databases
HOSTEDLOCALOpen1d ago
893Rowsmith test data
Fake test data (CSV, JSON, SQL) from a schema. Reserved-range identifiers; reproducible by seed.
In description
sql
HOSTEDLOCALOpen1d ago
894MCP TUSS / Rol ANS
Consulta tabelas TUSS da ANS: procedimentos, medicamentos, diárias e taxas via SQLite local.
In description
sqlite
HOSTEDLOCALOpen1d ago
895Airlock RLS
Scan a deployed site for an exposed Supabase service_role key and audit Row Level Security.
In description
supabase
HOSTEDLOCALOpen1d ago
896JavaBytes
80 Java-focused tools for files, MySQL, JavaFX, Spring Boot and JS-to-Java migration, over stdio.
In description
mysql
HOSTEDLOCALOpen1d ago
897mqb · mq-bridge
Move data between 15+ databases, queues and files at high throughput, without it entering context
In description
databases
HOSTEDLOCALOpen1d ago
898Manticore Search
MCP server for Manticore Search — lets AI assistants query and manage search databases.
In description
databases
HOSTEDLOCALOpen1d ago
899mcp-devtools
MCP server giving AI agents safe access to filesystem, databases, processes, and APIs.
In description
databases
HOSTEDLOCALOpen1d 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.