List your agent
MCP use case · SQL Querying

Best MCP servers for SQL querying

1,221 MCP servers in the Official MCP Registry do SQL querying. 514 can be used as a hosted endpoint, with nothing to install, and 939 publish their source code. First by relevance and readiness: strut-stack-sql, sqlike-mcp and database.

1,221 servers514 hosted, nothing to install939 open source6 ready-made AI agents
#ToolRelevanceConnectCodeSeen
1strut-stack-sql
Token-efficient MCP server for MySQL, PostgreSQL, SQLite, DuckDB, SQL Server, and ClickHouse
In name
sql
HOSTEDLOCALOpen4h ago
2sqlike-mcp
Lints SQL and checks rewrites return the same rows. Postgres, MySQL, MariaDB, SQLite, MSSQL, DuckDB
In name
sql
HOSTEDLOCALOpen5h ago
3database
Query and modify PostgreSQL, MySQL, SQL Server, Oracle or MongoDB databases.
In name
database
HOSTEDLOCALOpen17h ago
4sqlize.online
Run SQL on 30+ real database engines: MySQL, PostgreSQL, SQL Server, Oracle, SQLite and more.
In name
sql
HOSTEDLOCAL—2h ago
5Dataset to Postgres, Supabase & MySQL (Database Push)
Push rows from a dataset, file or Google Sheet into a Postgres, Supabase, Neon or MySQL table.
In name
postgres
HOSTEDLOCAL—18h ago
6fastmcp-sqltools
A MCP server provides SQL database access with support for PostgreSQL, MySQL, and SQLite.
In name
sql
HOSTEDLOCALOpen18h ago
7MCP Database Server
MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.
In name
database
HOSTEDLOCALOpen18h ago
8sqlfmt-mcp
Deterministic SQL formatting across 19 dialects (postgres, mysql, snowflake, bigquery, etc.).
In name
sql
HOSTEDLOCALOpen18h ago
9DataClawe — Database as a Utility
AI-native database utility. Talk to your DB in plain language. No SQL. MySQL & PostgreSQL.
In name
database
HOSTEDLOCALOpen19h ago
10mcp-sql-rust
Token-efficient MCP server for MySQL, PostgreSQL, and SQLite
In name
sql
HOSTEDLOCALOpen4h ago
11custom-mcp-database
Run alias-based queries against PostgreSQL, MySQL, MongoDB and Oracle without exposing credentials.
In name
database
HOSTEDLOCALOpen4h ago
12database-mcp
MCP server for database connectivity with PostgreSQL, MySQL and SQLite.
In name
database
HOSTEDLOCALOpen18h ago
13ROUA: read-only database accounts
Create and audit read-only database accounts for AI agents: PostgreSQL, MySQL, SQL Server and more.
In name
database
HOSTEDLOCALOpen18h ago
14Raw SQL MCP
Execute raw SQL queries against SQL Server, SQLite, PostgreSQL, MySQL, and MariaDB.
In name
sql
HOSTEDLOCALOpen18h ago
15Jam SQL Studio
Lets AI agents query SQL Server, PostgreSQL, MySQL, Oracle and SQLite via the Jam SQL Studio app.
In name
sql
HOSTEDLOCAL—19h ago
16Snowflake MCP by usefulapi
List databases and tables, describe columns and run SQL statements in Snowflake.
In name
snowflake
HOSTEDLOCALOpen2h ago
17Speak To Your Database
Odoo MCP server, plus PostgreSQL and MySQL: ask your business data in ChatGPT or Claude. Read-only.
In name
database
HOSTEDLOCALOpen19h ago
18Neon
Official Neon MCP server for managing Neon projects and Lakebase Postgres databases.
In name
neon
HOSTEDLOCALOpen19h ago
19datamcp — Hosted Model Context Protocol for Databases, APIs, and Agent Memory
PostgreSQL, MySQL, OpenAPI/Swagger, and shared Agent Memory with scoped access.
In name
databases
HOSTEDLOCAL—17h ago
20AI2SQL
Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema
In name
sql
HOSTEDLOCAL—18h ago
21AI for Database
Ask your databases questions in plain English, run read-only SQL and set up data alerts.
In name
database
HOSTEDLOCAL—19h ago
22postgres-mcp
PostgreSQL MCP server with 15 tools (SQL, EXPLAIN, health, indexes) plus a Gradio UI with LLM chat.
In name
postgres
HOSTEDLOCALOpen2h ago
23Databases (read-only, switchable)
Read-only SQL, MongoDB, Redis and Elasticsearch access, switchable mid-conversation.
In name
databases
HOSTEDLOCALOpen2h ago
24postgres
PostgreSQL MCP — query databases, inspect schemas, explain queries.
In name
postgres
HOSTEDLOCALOpen5h ago
25Database for Holon
Give each Holon app a private PostgreSQL store with atomic SQL batches and retry keys.
In name
database
HOSTEDLOCALOpen17h ago
26mcp-postgres
PostgreSQL schema exploration, read-only SQL & governed changes for AI agents.
In name
postgres
HOSTEDLOCALOpen18h ago
27database-admin
Database admin MCP: schema inspection, query optimization for PostgreSQL and MySQL
In name
database
HOSTEDLOCALOpen18h ago
28RattleCheck for Supabase migrations
Review local Supabase SQL migrations for PostgreSQL row-level security (RLS) and column grants.
In name
supabase
HOSTEDLOCALOpen18h ago
29postgres-scout-mcp
Scout your PostgreSQL databases with AI - safety features, monitoring, and data quality
In name
postgres
HOSTEDLOCALOpen18h ago
30database-mcp-libsql
MCP server for SQLite databases. Read-only by default, row caps, statement timeouts.
In name
database
HOSTEDLOCALOpen18h ago
31PostgreSQL
MCP server for PostgreSQL: local, Docker, RDS, Neon, Supabase, or behind an SSH bastion.
In name
postgresql
HOSTEDLOCALOpen18h ago
32Postgres Secured (Aegis Zero-Trust)
Enterprise PostgreSQL MCP secured by Aegis Zero-Trust to block unauthorized SQL injections.
In name
postgres
HOSTEDLOCALOpen18h ago
33no2sql
No2SQL MCP server for inferring SQL schema and ER diagrams from MongoDB databases.
In name
sql
HOSTEDLOCALOpen18h ago
34DBConvert Streams (Federated SQL)
Read-only SQL across your PostgreSQL, MySQL, S3 buckets and local data files, in one query.
In name
sql
HOSTEDLOCALOpen19h ago
35read-only-local-postgres-mcp-server
MCP server for read-only PostgreSQL database queries in Claude Desktop
In name
postgres
HOSTEDLOCALOpen19h ago
36Supabase MCP by usefulapi
Check project health and advisors, run read-only SQL, manage Edge Function secrets in Supabase.
In name
supabase
HOSTEDLOCALOpen2h ago
37Diogenes Database Intelligence & SQL Engine MCP
Database intelligence, AST SQL injection auditing, query optimization & schema guards.
In name
database
HOSTEDLOCALOpen2h ago
38Percona Database Service
Manage Percona databases and environments from an AI agent
In name
database
HOSTEDLOCALOpen5h ago
39Supabase
Your Supabase account in natural language: run SQL, apply migrations, manage tables, storage, edge f
In name
supabase
HOSTEDLOCALOpen17h ago
40Forge — Supabase RLS & Debugging MCP Server
Supabase Edge Functions MCP server with allowlisted tools and PostgreSQL RLS.
In name
supabase
HOSTEDLOCALOpen17h ago
41Neon Zero-Trust Gateway
Zero-Trust MCP gateway securing internal database tools behind an API key firewall.
In name
neon
HOSTEDLOCALOpen18h ago
42Vericto: database guardrails for AI agents
Database guardrails for AI agents: check SQL against your Vericto rules before it runs.
In name
database
HOSTEDLOCALOpen19h ago
43Veto — SQL Safety & Cost Oracle
Deterministic safety, correctness & cost gate that vets Postgres SQL before your AI agent runs it.
In name
sql
HOSTEDLOCALOpen19h ago
44wgong-sqlite-mcp-server
Explore, query, and inspect SQLite databases with ease. List tables, preview results, and view det…
In name
sqlite
HOSTEDLOCALOpen19h ago
45MisterSandFR-supabase-mcp-selfhosted
Manage Supabase projects end to end across database, auth, storage, realtime, and migrations. Moni…
In name
supabase
HOSTEDLOCALOpen19h ago
46afgong-sqlite-mcp-server
Explore your Messages SQLite database to browse tables and inspect schemas with ease. Run flexible…
In name
sqlite
HOSTEDLOCALOpen19h ago
47Ekwo OS — open source accounting: ledger, invoices and VAT on your own Supabase or Postgres
Double-entry books an agent keeps as the user: invoices, VAT returns, 178 country packs.
In name
postgres
HOSTEDLOCALOpen19h ago
48sqlai.dev SQL Verifier
Executes SQL in a real ephemeral database: rows, typed errors with suggestions, plans, diffs.
In name
sql
HOSTEDLOCAL—18h ago
49hypequery ClickHouse
Governed ClickHouse analytics for agents: named datasets and metrics as tools, never raw SQL.
In name
clickhouse
HOSTEDLOCALOpen41m ago
Page 1 / 25Next →

FAQ

What is the best MCP server for SQL querying?

By relevance and readiness, strut-stack-sql, sqlike-mcp and database come first: the use case appears in their name. Check each page for how to connect and what keys it needs.

How many MCP servers are there for SQL querying?

Electra Index lists 1,221 active MCP servers for SQL querying from the Official MCP Registry. 514 offer a hosted endpoint and 939 publish their source code.

Is there a hosted MCP server for SQL querying, with nothing to install?

Yes. sqlize.online, Dataset to Postgres, Supabase & MySQL (Database Push) and DataClawe — Database as a Utility declare a remote endpoint you add to your assistant's MCP settings.

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.