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