Skip to content
Tool

explain_plan

3 published MCP servers declare explain_plan. sw-postgres-mcp, dbhawk, and MCP Database Doctor have the highest trust scores right now. Servers describe it as: run EXPLAIN (FORMAT JSON) for a candidate read statement and return the planner's estimated cost and rows without executing it. A cheap pre-check before running something potentially expensive. The order is the public trust score. Nobody can pay to move up the list. Open a server for its install config and the rest of its tools.

3 servers
Trust score 61 of 100, Good

sw-postgres-mcp

by jpka · TypeScript

Safe-write Postgres MCP server with preview-before-execute writes and rollback safety.

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: A. 90/100 for listing completeness. Lost points: short summary, no docs link.Maintenance: B. Last commit or release 2 months ago.
0 stars56/wk weekly downloads18 tools
Trust score 56 of 100, Fair

dbhawk

by datasparc · JavaScript

Secure access to DBHawk datasources: browse schemas, run governed queries, DBHawk AI text-to-SQL.

Registry
LicenseQualityMaintenanceLicense: Not graded. No license is recorded for this server.Quality: B. 83/100 for listing completeness. Lost points: 8 of 22 tools barely described, short summary, no docs link.Maintenance: A. Last commit or release 27 days ago.
0 stars53/wk weekly downloads22 tools
Trust score 40 of 100, Fair

Offline PostgreSQL query, migration and EXPLAIN diagnostics for AI agents.

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: C. 58/100 for listing completeness. Lost points: no README, 3 of 5 tools barely described, short summary.Maintenance: A. Last commit or release yesterday.
0 stars90/wk weekly downloads5 tools

FAQ

What is the explain_plan MCP tool?
explain_plan is a tool name MCP servers declare. A description they publish is: run EXPLAIN (FORMAT JSON) for a candidate read statement and return the planner's estimated cost and rows without executing it. A cheap pre-check before running something potentially expensive.
Which MCP servers provide explain_plan?
3 published servers declare explain_plan. Highest in the current trust order: sw-postgres-mcp, dbhawk, and MCP Database Doctor.
How do I use explain_plan?
Install a server that declares explain_plan, then call it from Claude, Cursor, or VS Code. Each server page has the config for that client and the other tools that server exposes.