Claude Think Tool
STDIOOfficial implementation of Anthropic's think tool for improving Claude's reasoning capabilities.
Official implementation of Anthropic's think tool for improving Claude's reasoning capabilities.
Official implementation of Anthropic's "think" tool as an MCP server - Dramatically improve Claude's reasoning capabilities with structured thinking.
This MCP server implements the exact "think" tool that Anthropic introduced in their engineering blog post. The Think Tool provides Claude with a dedicated space for structured reasoning during complex problem-solving tasks, enabling more thoughtful, accurate, and reliable responses.
Anthropic's research demonstrates remarkable improvements when using the "think" tool:
The "think" tool excels where other approaches fall short:
npx -y @smithery/cli@latest install @PhillipRt/think-mcp-server --client claude --config "{}"
npx -y @smithery/cli@latest install @PhillipRt/think-mcp-server --client cursor --config "{}"
The "think" tool implements the exact mechanism described in Anthropic's engineering blog. Unlike extended thinking (which happens before Claude starts responding), the "think" tool allows Claude to pause and reflect during its response generation.
Key mechanism: The tool doesn't perform any external actions or retrieve new information - it simply provides Claude with a dedicated scratchpad to work through reasoning step-by-step, which dramatically improves performance on complex tasks.
When Claude uses the "think" tool:
The "think" tool is especially valuable when:
Anthropic's research shows that combining the "think" tool with optimized prompting delivers the strongest performance improvements. For best results, add the following optimized system prompt to your Claude interaction:
You have access to a "think" tool that provides a dedicated space for structured reasoning. Using this tool significantly improves your performance on complex tasks.
## When to use the think tool
Before taking any action or responding to the user after receiving tool results, use the think tool as a scratchpad to:
- List the specific rules that apply to the current request
- Check if all required information is collected
- Verify that the planned action complies with all policies
- Iterate over tool results for correctness
- Analyze complex information from web searches or other tools
- Plan multi-step approaches before executing them
## How to use the think tool effectively
When using the think tool:
1. Break down complex problems into clearly defined steps
2. Identify key facts, constraints, and requirements
3. Check for gaps in information and plan how to fill them
4. Evaluate multiple approaches before choosing one
5. Verify your reasoning for logical errors or biases
Remember that using the think tool has been shown to improve your performance by up to 54% on complex tasks, especially when working with multiple tools or following detailed policies.
To add the Think Tool as a Cursor Rule:
After any context change (viewing new files, running commands, or receiving tool outputs), use the "mcp_think" tool to organize your reasoning before responding.
Specifically, always use the think tool when:
- After examining file contents or project structure
- After running terminal commands or analyzing their outputs
- After receiving search results or API responses
- Before making code suggestions or explaining complex concepts
- When transitioning between different parts of a task
When using the think tool:
- List the specific rules or constraints that apply to the current task
- Check if all required information is collected
- Verify that your planned approach is correct
- Break down complex problems into clearly defined steps
- Analyze outputs from other tools thoroughly
- Plan multi-step approaches before executing them
The think tool has been proven to improve performance by up to 54% on complex tasks, especially when working with multiple tools or following detailed policies.
If you prefer to run the server locally:
Clone the repository:
git clone https://github.com/PhillipRt/think-mcp-server.git cd think-mcp-server
Install dependencies:
npm install
Build and run:
npm run build npm start
Configure Claude Desktop manually:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
{ "mcpServers": { "think-tool": { "command": "node", "args": ["path/to/think-mcp-server/dist/server.js"] } } }