two-step-plan
v0.3.0
Published
MCP server that creates and critiques plans using two-step Claude evaluation
Readme
Two-Step Plan MCP
I wanted to try the approach in this tweet so Claude wrote this code. https://x.com/JohnONolan/status/1942889686646521900
How it Works
This MCP server provides a tool that:
- Uses Claude CLI to create an initial detailed plan for a given task
- Has a second Claude CLI instance critique the plan and provide an improved version
- Uses a third Claude CLI instance to read both plans, choose the better one, and delete the other
- Returns the file path to the selected plan
Install MCP
{
"mcpServers": {
"two-step-plan": {
"command": "npx",
"args": ["-y", "two-step-plan"]
}
}
}Requirements
- Node.js v18 or higher
- Claude Code tool installed and configured
Using the Standalone Plan Tool
You can use the plan tool directly without setting up the MCP server:
- Install globally:
npm install -g two-step-plan- Run the tool:
claude-plan "Your task description here"For example:
claude-plan "Design a REST API for a task management system"Development
Run in development mode with auto-reload and MCP inspector:
npm run devBuild the project:
npm run buildWatch for changes and rebuild:
npm run watchInspect the MCP server:
npm run inspect