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 |
|---|---|---|---|---|---|
| 351 | health4ai Query your Apple Health data from your own Supabase/Postgres via local MCP. | In description supabase | HOSTEDLOCAL | Open | 1d ago |
| 352 | engram-server Durable memory for AI agents: fact extraction, hybrid retrieval, temporal graph. SQLite/Postgres. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 353 | ERP Report Engine Read-only MCP for the SQL database behind an ERP: provably read-only guard, public benchmark. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 354 | simpliq-server Simpliq Data Proxy MCP Server - Connects LLMs to SQL Databases via Semantic Mapping | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 355 | Data Studio Unified MCP server for SQL and NoSQL databases, powered by dockit and sqlkit desktop apps | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 356 | PDQ Deploy An MCP server for read-only access to the PDQ Deploy SQLite database. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 357 | metabase-ai-assistant MCP Server for Metabase - 111 tools for SQL generation, dashboards & PostgreSQL | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 358 | Lomberk Postgres gateway for AI agents: blocks destructive SQL, holds risky writes, undoes applied ones. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 359 | dbmole PostgreSQL and MySQL with connections managed at runtime by the agent, SSH tunnels, readonly. | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 360 | OwnPG PostgreSQL DBA tools over MCP, scoped to one database and one schema. | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 361 | mcp-data-pipeline-connector Universal data connector for CSV, Postgres, and REST APIs via DuckDB | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 362 | mcp-psycopg2 MCP server exposing psycopg2 PostgreSQL database adapter functionality | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 363 | Knowledge Graph RDBMS A label property graph on SQLite/Postgres with multi-ontology routing and a gated MCP server. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 364 | codeDB Lens Read-only health checks and data questions for SQL Server and PostgreSQL, with your saved profiles. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 365 | MultiDB MCP MCP server for Dameng (DM8), SQL Server, and MySQL — read-only by default, granular write perms | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 366 | RetentionCheck Pull churn from Stripe, Postgres, MySQL, or pasted feedback. AI-ranked drivers + fixes. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 367 | mongo-scout-mcp Scout your MongoDB databases with AI - safety features, live monitoring, and data quality | In description mongodb | HOSTEDLOCAL | Open | 1d ago |
| 368 | b1-mcp-server for SAP B1 MCP server for SAP Business One database (HANA / MS SQL) and Service Layer operations | In description database | HOSTEDLOCAL | Open | 1d ago |
| 369 | Leteo Persistent memory for AI coding agents: one Rust binary, one local SQLite database. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 370 | SafeSelect MCP Fail-closed, read-only PostgreSQL and MongoDB access for AI agents over MCP. | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 371 | SupaForge Diff, sync and clone Supabase and Postgres: schema, data, RLS, grants, storage, auth and more. | In description supabase | HOSTEDLOCAL | Open | 1d ago |
| 372 | a2db Safe, read-only database access for AI agents. 5 databases, batch queries, SQLGlot. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 373 | SynapCores AI-native database: SQL, vector search, Cypher graph, AutoML and LLM tools over MCP. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 374 | SQLX Run SQL on 30+ databases through saved, encrypted connections; credentials stay local. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 375 | oraclemcp Engine-free, governed Oracle Database MCP server with a fail-closed SQL guard (unofficial). | In description database | HOSTEDLOCAL | Open | 1d ago |
| 376 | The Nothing Mr. Decoupler: a private seam between AI and any database. No SQL, only views you approve. | In description databases | HOSTEDLOCAL | Open | 1d ago |
| 377 | Spreadsheet DB SQLite-authoritative entity database with an async Google Sheets projection for AI agents. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 378 | pgmoat Governed, read-only Postgres access for AI agents: SQL safety, RLS, budgets, tamper-evident audit. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 379 | AdoMcp Database MCP server for schema discovery, comments, and SQL queries. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 380 | Sabor Recipes, meal plans and shopping lists with SQLite by default; Mealie and Postgres optional. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 381 | mcp Provision Postgres databases + webhooks from AI coding agents in one HTTP call. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 382 | RE-call MCP Memory Server Agent memory on SQLite or Postgres that flags superseded facts and abstains below its threshold. | In description postgres | HOSTEDLOCAL | Open | 1d ago |
| 383 | slowplan Find why a PostgreSQL query is slow from its EXPLAIN output, without a database connection. | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 384 | zotero-bridge MCP Server for Zotero SQLite Database - collection, tagging, PDF reading and more. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 385 | litebase SQLite database access for agents: query, write, create and describe tables, record insights. | In description sqlite | HOSTEDLOCAL | Open | 1d ago |
| 386 | docbase MongoDB tools: query, aggregate, index, and administer collections and databases. | In description mongodb | HOSTEDLOCAL | Open | 1d ago |
| 387 | databridge-kit Execute SQL and inspect tables, views, schemas and more on a configured database. | In description sql | HOSTEDLOCAL | Open | 1d ago |
| 388 | appbase Supabase projects, tables, SQL, migrations, and storage from your MCP client. | In description supabase | HOSTEDLOCAL | Open | 1d ago |
| 389 | analyticbase Query ClickHouse over HTTP: list databases and tables, run SELECT. | In description clickhouse | HOSTEDLOCAL | Open | 1d ago |
| 390 | cfgit Git-style history, diffs, drift checks and rollback for live MongoDB and Postgres config records. | In description mongodb | HOSTEDLOCAL | Open | 1d ago |
| 391 | ArcadeDB Multi-Model database with built-in MCP server for SQL, Cypher, Gremlin, and GraphQL. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 392 | Tabellum MCP bridge to the Tabellum database client: schema, reads, SQL drafts; writes approved in the app. | In description database | HOSTEDLOCAL | Open | 1d ago |
| 393 | CubiBase Operate CubiBase PostgreSQL backends: projects, schema, rows, SQL, storage, functions, logs, docs. | In description postgresql | HOSTEDLOCAL | Open | 1d ago |
| 394 | Seedfast Generates relationally valid test data in a PostgreSQL database from its live schema. | In description postgresql | HOSTEDLOCAL | — | 8h ago |
| 395 | mcpbus Local Windows gateway that controls what AI agents can do in SQL Server and PostgreSQL. | In description sql | HOSTEDLOCAL | — | 9h ago |
| 396 | mcp-schema-designer Design database schemas from natural language, validate SQL, generate migrations and types | In description database | HOSTEDLOCAL | — | 9h ago |
| 397 | Audit AI Finds authorization holes in Next.js + Supabase apps and live Supabase databases. No API key. | In description supabase | HOSTEDLOCAL | — | 1d ago |
| 398 | DataRunner Query, monitor and schedule SQL across your databases: schemas, read-only SQL, alerts, hosts. | In description sql | HOSTEDLOCAL | — | 1d ago |
| 399 | Render MCP by usefulapi Read services, deploys, logs and databases, and trigger deploys in Render. | In description databases | HOSTEDLOCAL | Open | 1h ago |
| 400 | SashiDo Backend for AI-built apps: database, auth, realtime, push, files and cloud code on Parse Server. | In description database | HOSTEDLOCAL | Open | 2h 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. Render MCP by usefulapi and SashiDo 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.