List your agent
MCP use case · SQL Querying

Best MCP servers for SQL querying

1,227 MCP servers in the Official MCP Registry do SQL querying. 518 can be used as a hosted endpoint, with nothing to install, and 943 publish their source code.

1,227 servers518 hosted, nothing to install943 open source6 ready-made AI agents
#ToolRelevanceConnectCodeSeen
251MCP DB Connect
MCP server for Oracle, MSSQL, PostgreSQL, MySQL, SQLite, MongoDB, and Qdrant vector search access.
In description
mssql
HOSTEDLOCALOpen11h ago
252warehouse-mcp
Production MCP server for Postgres, Oracle, Snowflake, BigQuery, Redshift, DuckDB, MotherDuck.
In description
postgres
HOSTEDLOCALOpen1d ago
253DBHub
Token-efficient MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse, SQLite
In description
database
HOSTEDLOCALOpen1d ago
254DBHub Analytics
MCP server for Databricks, BigQuery, PostgreSQL, MySQL, SQL Server, SQLite, MariaDB
In description
bigquery
HOSTEDLOCALOpen1d ago
255db-metadata-extractor-mcp
Extract database metadata from PostgreSQL, Snowflake, SQL Server, BigQuery, and Oracle.
In description
database
HOSTEDLOCALOpen1d ago
256universal-db-mcp
Security-first MCP server for PostgreSQL, SQLite, MySQL, DuckDB with SQL injection prevention.
In description
postgresql
HOSTEDLOCALOpen1d ago
257tenantsdb
Multi-tenant database orchestration: isolated Postgres, MySQL, MongoDB, Redis tenants on demand.
In description
database
HOSTEDLOCAL—1d ago
258DBGorilla
Database evidence for AI agents: plans, workload, topology. SQL Server, Postgres, MySQL, Cassandra.
In description
database
HOSTEDLOCAL—1d ago
259Thunderduck
Query Postgres, MySQL, BigQuery, Iceberg and files with DuckDB, with per-query cost checks.
In description
postgres
HOSTEDLOCAL—1d ago
260DB Connect MCP
Multi-database MCP server for PostgreSQL, MySQL, and ClickHouse
In description
database
HOSTEDLOCALOpen8h ago
261NeoSQL MCP
Schemas, SQL, ERDs, and codegen for PostgreSQL, MySQL, Oracle, SQLite, and more via NeoSQL Desktop.
In description
database
HOSTEDLOCALOpen8h ago
262DataLink
MCP server for secure database access (PostgreSQL, MySQL, SQLite)
In description
database
HOSTEDLOCALOpen11h ago
263mcpolyglot
Policy-checked, audited agent access to Postgres, MySQL, SQLite, MongoDB and OpenAPI REST APIs.
In description
postgres
HOSTEDLOCALOpen1d ago
264DB Mastermind
Explore and query PostgreSQL, SQL Server, Oracle, MySQL, SQLite and more. Read-only by default.
In description
postgresql
HOSTEDLOCALOpen1d ago
265DB MCP
Native SQL, schema metadata and query plans for Oracle, PostgreSQL, MySQL, SQLite and SQL Server.
In description
sql
HOSTEDLOCALOpen1d ago
266qh
Query PostgreSQL, MySQL, MariaDB, SQLite and MongoDB with two tools and few tokens.
In description
postgresql
HOSTEDLOCALOpen1d ago
267Universal DB (read-only)
Read-only, guarded SQL access for AI agents: PostgreSQL, MySQL, ClickHouse, Oracle, SQL Server, Db2
In description
sql
HOSTEDLOCALOpen1d ago
268db-access-mcp
MCP server for Postgres/MySQL/Redshift/SQL Server over SSH/SSM tunnels with secret providers.
In description
postgres
HOSTEDLOCALOpen1d ago
269DB Explorer
Read-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advice
In description
sql
HOSTEDLOCALOpen1d ago
270mcp
Build and deploy backends: auth, Postgres/MySQL/vector databases, storage, functions, hosting, CDN
In description
databases
HOSTEDLOCALOpen3h ago
271mcp-server
Query BigQuery, Snowflake, Redshift & Azure Synapse with natural language
In description
bigquery
HOSTEDLOCALOpen8h ago
272AgentSQL
Guard AI agents' PostgreSQL/MySQL access via MCP: SQL audit, auth, masking, write approval
In description
postgresql
HOSTEDLOCALOpen1d ago
273PlainQuery | MCP DB Agent
Query PostgreSQL databases in plain English — LLM-generated, safety-validated SQL.
In description
postgresql
HOSTEDLOCALOpen1d ago
274Served
Hosted SQLite: create databases, run SQL on them, and download the file.
In description
sqlite
HOSTEDLOCAL—1h ago
275Plexivo
Deploy apps from Git and create Postgres or MySQL databases in Mumbai, from your AI assistant.
In description
postgres
HOSTEDLOCAL—8h ago
276DBMigratePro Migrations
Move a database between providers, or convert MySQL to PostgreSQL, with integrity verified.
In description
database
HOSTEDLOCAL—11h ago
277DBMigratePro Backups
Encrypted database backups and restore-to-any-host disaster recovery for MySQL and PostgreSQL.
In description
database
HOSTEDLOCAL—11h ago
278Cloudovňa
Order, configure and deploy Docker containers and PostgreSQL or SQL Server databases in the EU.
In description
postgresql
HOSTEDLOCAL—1d ago
279LordBase
Managed PostgreSQL, Redis and MongoDB: create databases, back up, read metrics and run queries.
In description
postgresql
HOSTEDLOCAL—1d ago
280data
PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.
In description
postgresql
HOSTEDLOCAL—1d ago
281Aderlo Cloud
Manage Aderlo Cloud hosting: files, DNS, MySQL/PostgreSQL databases and WP-CLI over OAuth scopes.
In description
mysql
HOSTEDLOCAL—1d ago
282ExoBench
Benchmark SQL queries, rewrites and indexes on real Postgres, MySQL and SQL Server at scale.
In description
sql
HOSTEDLOCAL—1d ago
283HealthSQL
Your whole Apple Health record as a local SQLite database. Read-only SQL, on your Mac.
In description
sqlite
HOSTEDLOCALOpen1h ago
284dbridge-mcp
Query SQLite, PostgreSQL, and MySQL in plain language - read-only, with column masking and limits.
In description
sqlite
HOSTEDLOCALOpen8h ago
285DataPilot
Read-only SQL exploration, schema discovery and data profiling for SQLite and PostgreSQL
In description
sql
HOSTEDLOCALOpen1d ago
286JDBC MCP Server
Read-only SQL, plans, schema for AI agents: PostgreSQL, Oracle, SQL Server, Firebird, SQLite, JDBC
In description
sql
HOSTEDLOCALOpen1d ago
287Rowbase
Safe, read-only-by-default MySQL, PostgreSQL & SQLite access for AI agents. TOON output.
In description
mysql
HOSTEDLOCALOpen1d ago
288pgport
Read-only SQL queries against a PostgreSQL database.
In description
sql
HOSTEDLOCALOpen1d ago
289pgcloud
Neon Postgres projects, branches, SQL, and migrations from your MCP client.
In description
neon
HOSTEDLOCALOpen1d ago
290Seqora
Inspect database schemas, run read-only SQL, and propose PostgreSQL changes for review in Seqora.
In description
database
HOSTEDLOCAL—1d ago
291Rowsafe
PostgreSQL backups and a safety net for AI agents: check recoverability, set restore points.
In description
postgresql
HOSTEDLOCALOpen8h ago
292Turso MCP by usefulapi
Read databases and usage, run read-only SQL, and create databases and tokens in Turso.
In description
databases
HOSTEDLOCALOpen8h ago
293Quadratic
AI access to Quadratic spreadsheets: open files, run Python/SQL, query connected databases.
In description
sql
HOSTEDLOCALOpen11h ago
294PlanetScale
Connect to PlanetScale databases, branches, schema, query insights, and execute SQL
In description
databases
HOSTEDLOCALOpen11h ago
295MotherDuck
Hosted MotherDuck MCP server: explore data, run DuckDB SQL, and build Dives and Flights.
In description
duckdb
HOSTEDLOCALOpen1d ago
296Mako
Explore your databases, validate SQL, and build & publish data apps in your Mako workspace.
In description
databases
HOSTEDLOCALOpen1d ago
297CMO Studio: deploy and host AI-built apps
Deploy apps from Claude Code or Cursor: hosting, Postgres, email, files. Vercel+Supabase in one.
In description
postgres
HOSTEDLOCALOpen1d ago
298SchemaSketch
Design database diagrams in DBML: create, edit, validate, export SQL, Laravel, Mermaid.
In description
database
HOSTEDLOCALOpen1d ago
299DBA Brain
Open-source DBA tool for AI agents: graded database health checks, SQL, backups proven by restore
In description
database
HOSTEDLOCALOpen1d ago
300WoWSQL
Managed Postgres MCP: projects, SQL, docs search, and storage buckets via OAuth.
In description
postgres
HOSTEDLOCALOpen1d ago

FAQ

How many MCP servers are there for SQL querying?

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

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

Yes. tenantsdb, DBGorilla and Thunderduck 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.