SQL MCP servers that let AI write and run queries
MCP servers that turn natural language into SQL against Postgres, MySQL, SQL Server, Snowflake, BigQuery, and DuckDB, with schema context included.
What to know about SQL MCP servers
SQL servers are the subset of database servers built around one idea: give the model enough schema context to write correct queries, then run them. They usually expose a small set of tools, such as listing tables, describing columns, sampling rows, and executing a statement, which keeps prompts short and lets the model check its work.
Beyond transactional databases, this topic covers analytical engines. Snowflake, BigQuery, Databricks, ClickHouse, and DuckDB all have SQL-focused servers that suit reporting questions over large tables. DuckDB servers are popular for querying local CSV and Parquet files with SQL, with no database server to run.
Query cost is the hidden risk with warehouses. An agent that scans a large table repeatedly can run up a bill quickly. Prefer servers that support dry runs or byte limits, and give them a warehouse or project with spending controls.
SQL MCP servers
The 12 strongest of 274 matching servers. Servers that name the topic directly come first, then by trust score.
- 67Trust score 67 of 100, Good
AKKO MCP server for Trino
by akko-p · Python
Read-only MCP server for Trino: queries run as the verified user, and Trino's own policies decide.
RegistryLicenseQualityMaintenanceLicense: A. Apache-2.0 is a permissive open source license.Quality: Not graded. No README or tool list has been captured yet.Maintenance: A. Last commit or release 5 days ago. - 62Trust score 62 of 100, Good
Hosted BigQuery MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
RegistryRemoteLicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: Not graded. No README or tool list has been captured yet.Maintenance: A. Last commit or release 28 days ago. - 62Trust score 62 of 100, Good
Hosted SQL Server MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
RegistryRemoteLicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: Not graded. No README or tool list has been captured yet.Maintenance: A. Last commit or release 28 days ago. - 62Trust score 62 of 100, Good
strut-stack-sql
by rzlco666 · Rust
Token-efficient MCP server for MySQL, PostgreSQL, SQLite, DuckDB, SQL Server, and ClickHouse
RegistryLicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: Not graded. No README or tool list has been captured yet.Maintenance: C. Last commit or release 3 months ago.
55Trust score 55 of 100, FairRun SQL queries and inspect database schemas through safe, visible MCP tools.
RegistryLicenseQualityMaintenanceLicense: Not graded. No license is recorded for this server.Quality: Not graded. No README or tool list has been captured yet.Maintenance: Not graded. No commit or release date has been recorded.
55Trust score 55 of 100, FairJam SQL Studio
Unknown author
Lets AI agents query SQL Server, PostgreSQL, MySQL, Oracle and SQLite via the Jam SQL Studio app.
RegistryLicenseQualityMaintenanceLicense: Not graded. No license is recorded for this server.Quality: Not graded. No README or tool list has been captured yet.Maintenance: Not graded. No commit or release date has been recorded.- 55Trust score 55 of 100, Fair
MCP server for SQL Server metadata, parameterized queries, plan analysis, and writes opt-in.
RegistryLicenseQualityMaintenanceLicense: Not graded. No license is recorded for this server.Quality: Not graded. No README or tool list has been captured yet.Maintenance: Not graded. No commit or release date has been recorded. - 55Trust score 55 of 100, Fair
Minimal, read-only, PII-safe MCP server for SQL databases.
RegistryLicenseQualityMaintenanceLicense: Not graded. No license is recorded for this server.Quality: Not graded. No README or tool list has been captured yet.Maintenance: Not graded. No commit or release date has been recorded. - 55Trust score 55 of 100, Fair
Explore and query Microsoft SQL Server read-only: catalogue search, schema and bounded queries.
RegistryLicenseQualityMaintenanceLicense: Not graded. No license is recorded for this server.Quality: Not graded. No README or tool list has been captured yet.Maintenance: Not graded. No commit or release date has been recorded. - 55Trust score 55 of 100, Fair
Format SQL queries into readable layouts locally. No network and no key.
RegistryLicenseQualityMaintenanceLicense: Not graded. No license is recorded for this server.Quality: Not graded. No README or tool list has been captured yet.Maintenance: Not graded. No commit or release date has been recorded. - 52Trust score 52 of 100, Fair
Track expenses, budgets, balances, transfers, and multi-currency reports with OAuth-secured tools.
RegistryRemoteLicenseQualityMaintenanceLicense: Not graded. No license is recorded for this server.Quality: Not graded. No README or tool list has been captured yet.Maintenance: Not graded. No commit or release date has been recorded. - 52Trust score 52 of 100, Fair
64-bit Twitter Snowflake-compatible distributed unique ID generator with clock backwards drift prote
RegistryLicenseQualityMaintenanceLicense: Not graded. No license is recorded for this server.Quality: Not graded. No README or tool list has been captured yet.Maintenance: Not graded. No commit or release date has been recorded.
How to install one
- Compare the shortlist. AKKO MCP server for Trino leads this topic. Open two or three listings and compare their tools, transport, and required API keys.
- Copy the config for your client. Each listing has an install guide, for example Claude Desktop, Claude Code, Cursor, or VS Code. The client guides show where each config file lives.
- Scope credentials, then restart. Use the narrowest token or folder the server needs, restart the client, and check that the new tools appear.
SQL MCP questions
How accurate is AI-generated SQL through MCP?
Accuracy improves sharply when the model can read the schema first, which is what SQL servers provide. Complex joins still benefit from a quick review, and asking the model to explain its query before running it catches most mistakes.
Can MCP servers query Snowflake or BigQuery?
Yes. Both have official and community servers that list datasets, describe tables, and run queries. Set a byte or credit limit on the account the server uses.
Can I run SQL on CSV files with MCP?
DuckDB and SQLite servers can query local CSV, JSON, and Parquet files directly. That is a fast way to explore an export without loading it into a database first.