A Model Context Protocol (MCP) server implementing the "think" tool for improving Claude's complex reasoning capabilities.
This MCP server implements the "think" tool as described in Anthropic's
- Structured Thinking Space: Provides Claude with a dedicated place to break down complex problems
- Thought History: Maintains a log of all thoughts with timestamps for reference
- Statistics and Analysis: Offers metadata about thinking patterns
- Clean Slate Option: Allows clearing thought history when starting fresh
Install from PyPI:
pip install mcp-think-tool
To use this tool with Claude in Windsurf, add the following configuration to your MCP config file:
"think": {
"command": "/home/xxx/.local/bin/mcp-think-tool",
"args": [],
"type": "stdio",
"pollingInterval": 30000,
"startupTimeout": 30000,
"restartOnFailure": true
}
The command
field should point to the directory where you installed the python package using pip.
You can install this MCP server with only the Dockerfile
First download the Dockerfile, navigate to its directory, and build the Docker image
docker build -t mcp-think-tool .
Then add the following configuration your MCP config file
"think": {
"command": "docker",
"args": ["run", "--rm", "-i", "mcp-think-tool"]
}
This was tested and working with Claude Desktop and Cursor