deepsql (DeepSQLAI/deepsql) is an MCP server listed on the M8ven Trust Index. It scores 39 out of 100, grade F. It declares 45 tools. No publisher has claimed this listing.
The database agent for Postgres and MySQL - Point it at PostgreSQL or MySQL and ask questions in plain English — schema exploration, query generation, slow query analysis, index recommendations, generated dashboards. Self-hosted and air-gapped.
Warning. Serious findings were identified. Review the full report before connecting. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.
How we verified
Verified is a snapshot. Live keeps it current, and builds your track record.
⚡ Connect GitHub → continuous verification on every pushwhy connect →Who stands behind it
DeepSQLAI
Source: github_repo_search
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →
Install from
The grade above is for the source repository. Registries can serve a different version, so we mark the ones we were not able to read.
These names and descriptions are the publisher's own, read from the source code. We print them as written. Our assessment is the findings above, not this list.
list_connectionsget_schemaFetch cached schema metadata for a DeepSQL connection.
get_database_objectsFetch tables, views, functions, and procedures for a DeepSQL connection.
get_brain_contextlist_business_rulesList active business rules and SQL guardrails for a connection. Optional `question` filters to rules applicable to that question.
get_relationshipsGet inferred and validated foreign-key relationships for a connection (source/target table+column with confidence and inference method).
get_anti_patternsGet DeepSQL-detected anti-patterns. `kind=table` returns table/schema-level anti-patterns; `kind=query` returns query-level anti-patterns (with optional limit).
list_brain_recommendationssave_brain_notelist_brain_notesList knowledge already saved to the connection's brain (the notes that ground answers). Optionally filter by tableName and/or columnName — a trained connection can hold thousands of notes, so filtering is recommended. Use this to check whether a fact is already remembered before saving a new one wit…
apply_index_recommendationget_index_recommendationsGet DeepSQL's pre-computed top index recommendations for a connection. Recommendations are workload-weighted (Σ calls × mean_exec_time, the pganalyze / Microsoft DTA 'total time' ROI metric) and aggregated across many slow-query log fetches over a configurable lookback (default 30 days). Column orde…
analyze_slow_queriesAnalyze recent slow queries for a connection over the last 24 hours, returning fingerprints, durations, and example statements.
get_slow_query_timelineget_query_regressionslist_tracked_queriesget_slow_query_customersget_query_samplesget_slow_query_insightsoptimize_slow_queryget_table_growthget_growth_anomaliesexecute_sqlanalyze_query_plananalyze_migrationget_current_usertest_connectionshow_connectionreinit_connection_brainget_latest_digestlist_digestsget_digest_by_idget_missing_indexesget_index_healthget_unused_indexesget_duplicate_indexesget_table_index_usagelist_index_recommendationsrefresh_index_recommendationsdismiss_index_recommendationget_latest_slow_query_analysislist_slow_query_historyacknowledge_growth_anomalyget_growth_configset_growth_configDEEPSQL_API_BASE_URLhttps://customer-deepsql.example.com/api/DEEPSQL_AUTH_TOKENdsql_mcp_…DEEPSQL_CALLER_AGENTclaude-codeDEEPSQL_CONFIG_DIRDEEPSQL_CONNECTIONEDITORSUDO_USERVISUALXDG_CONFIG_HOMETool annotations
No tools have read-only/destructive annotations
Add readOnlyHint or destructiveHint annotations to every tool so hosts can warn users before invoking.
All four hints declared on every tool
45/45 tools missing one or more hints — list_connections (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_schema (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_database_objects (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +42 more. OpenAI's directory rejects tools where any of the four hints are missing or non-boolean.
For every tool, set all four hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to explicit true/false values that match the handler’s actual behaviour.
Tool test coverage
32/45 tools referenced in tests (71%)
Write tests that reference each tool by name so every tool has at least one test.
No access to sensitive paths
Reads sensitive paths: /etc/passwd
Remove reads of sensitive system paths. If you genuinely need them, document why in the README.
No arbitrary install scripts
Has postinstall/preinstall script — runs arbitrary code on npm install
Remove postinstall/preinstall hooks unless they’re essential.
Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.
[](https://m8ven.ai/mcp/deepsqlai/deepsql)?variant=verified from the URL.Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.
https://m8ven.ai/api/mcp/tool-check