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.
sw-postgres-mcp
by jpka · TypeScript
Safe-write Postgres MCP server with preview-before-execute writes and rollback safety.
Secure access to DBHawk datasources: browse schemas, run governed queries, DBHawk AI text-to-SQL.
MCP Database Doctor
by petrovicistefan · TypeScript
Offline PostgreSQL query, migration and EXPLAIN diagnostics for AI agents.
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.