pg-dash (indiekitai/pg-dash) is an MCP server listed on the M8ven Trust Index. It scores 52 out of 100, grade D. It declares 29 tools. No publisher has claimed this listing.
AI-native PostgreSQL health checker with 26 MCP tools for query analysis, bloat detection, migration safety, and CI integration.
Caution. Specific findings reduced this grade. They are listed on the page. 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
indiekitai
Source: Glama
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.
pg_dash_overviewGet database overview (version, uptime, size, connections)
pg_dash_healthGet health advisor report with score, grade, and issues
pg_dash_tablesList all tables with sizes and row counts
pg_dash_table_detailGet detailed info about a specific table
pg_dash_activityGet current database activity (active queries, connections)
pg_dash_schema_changesGet recent schema changes
pg_dash_fixExecute safe fix(es) — supports batch: multiple VACUUM/ANALYZE/REINDEX statements separated by semicolons
pg_dash_alertsGet alert history
pg_dash_explainRun EXPLAIN ANALYZE on a SELECT query (read-only, wrapped in BEGIN/ROLLBACK)
pg_dash_queryExecute a read-only SELECT query and return results. Auto-adds LIMIT 200 if no LIMIT clause present. Use for ad-hoc data inspection.
pg_dash_batch_fixGet batch fix SQL for issues (optionally filtered by category)
pg_dash_slow_queriesGet top slow queries from pg_stat_statements
pg_dash_table_sizesGet table sizes with data/index breakdown (top 30)
pg_dash_exportExport full health report
pg_dash_diffCompare current health with last saved snapshot
pg_dash_check_migrationAnalyze migration SQL for safety risks (lock tables, missing tables, destructive ops)
pg_dash_analyze_queryDeep analysis of a SQL query: runs EXPLAIN ANALYZE, detects missing indexes, and provides specific optimization recommendations
pg_dash_query_regressionsDetect queries that have gotten significantly slower (>50% degradation) compared to historical baselines
pg_dash_compare_envCompare schema and health between two PostgreSQL environments. Detects missing tables, columns, indexes.
pg_dash_unused_indexesFind unused indexes that waste space and slow down writes
pg_dash_bloatDetect table bloat (dead tuples) that slow down queries
pg_dash_autovacuumCheck autovacuum health — which tables are stale or never vacuumed
pg_dash_locksShow active lock waits and long-running queries blocking the database
pg_dash_config_checkAudit PostgreSQL configuration settings and get tuning recommendations
pg_dash_pgvectorCheck pgvector health — installed version, vector columns, index types (IVFFlat/HNSW), dimension analysis, missing indexes, tuning recommendations
fetch_db_contextGet comprehensive database context for AI agents: table structures, columns, types, primary/foreign keys, indexes, business intent inference, and health summary
pg_dash_query_naturalQuery database using natural language. The LLM converts your question to SQL and returns results. Example: 'show me slow queries last hour', 'find missing indexes', 'what's the health score', 'list all tables with their sizes'
ci_health_summaryGenerate a CI-friendly health summary with AI-powered prioritization. Input: health check result (from pg_dash_health). Output: one-sentence summary + prioritized issue list. Perfect for GitHub Actions/GitLab CI integration.
pg_dash_list_constraintsList all CHECK, UNIQUE, FK, and exclusion constraints on a table. Essential before DROP CONSTRAINT to verify constraint names.
Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.
When Vitest UI server is listening, arbitrary file can be read and executed
Vitest allows Remote Code Execution when accessing a malicious website while Vitest API server is listening
@hono/node-server has authorization bypass for protected static paths via encoded slashes in Serve Static Middleware
Hono JWK Auth Middleware has JWT algorithm confusion when JWK lacks "alg" (untrusted header.alg fallback)
hono: CORS Middleware reflects any Origin with credentials when `origin` defaults to the wildcard
ANTHROPIC_API_KEYGOOGLE_API_KEYMCP_PORT9000 pg-dash-mcp postgres://... --httpOPENAI_API_KEYPG_DASH_BINDPG_DASH_DATA_DIRPG_DASH_LLM_API_KEYPG_DASH_LLM_BASE_URLPG_DASH_LLM_MODELPG_DASH_LLM_PROVIDERPG_DASH_LONG_QUERY_THRESHOLDPG_DASH_QUERY_STATS_INTERVALPG_DASH_RETENTION_DAYSPG_DASH_SNAPSHOT_INTERVALDATABASE_URLPG_DASH_CONNECTION_STRINGTool 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
29/29 tools missing one or more hints — pg_dash_overview (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); pg_dash_health (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); pg_dash_tables (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +26 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 inputs are validated
Only 14/29 tool handlers declare input schemas (48%)
Declare an inputSchema with zod/joi/yup on every tool definition.
Tool test coverage
Only 0/29 tools referenced in tests (0%)
Write tests that reference each tool by name so every tool has at least one test.
Shell command execution
26 child_process calls — runs shell commands
Prefer library functions over shell-outs. If you must shell out, ensure all inputs are properly escaped.
Production dependencies are patched
0 critical, 6 high severity in production deps — @hono/node-server@1.11.0 (high), hono@4.4.0 (high)
Run npm audit fix, or upgrade the affected packages to a non-vulnerable version.
Dev dependencies
4 critical/high in dev-only deps (does not ship to users)
Upgrade dev dependencies when convenient.
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/indiekitai/pg-dash)?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