mcp-think-tool
by: DannyMac180
An MCP server implementing the think tool for Claude
📌Overview
Purpose: To enhance complex reasoning capabilities of the Claude model through structured thinking.
Overview: The MCP Think Tool Server is designed to implement the "think" tool that enables Claude to engage in structured problem-solving. This tool facilitates improved reasoning and adherence to policies during complex tasks by allowing for a systematic approach to thinking.
Key Features:
-
Structured Thinking Space: Creates a dedicated environment for Claude to analyze and decompose intricate problems systematically.
-
Thought History: Logs all cognitive processes with timestamps, providing a historical reference for analysis and review.
-
Statistics and Analysis: Generates metadata regarding thinking patterns to evaluate reasoning trends.
-
Clean Slate Option: Empowers users to reset thought history, enabling a fresh start when needed.
MCP Think Tool Server
A Model Context Protocol (MCP) server implementing the "think" tool for improving Claude's complex reasoning capabilities.
Overview
This MCP server implements the "think" tool as described in Anthropic's blog post, which provides Claude with a dedicated space for structured thinking during complex problem-solving tasks. The think tool has been shown to significantly improve performance in complex tasks requiring policy adherence and reasoning in long chains of tool calls.
Features
- 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
Installation
Install from PyPI:
pip install mcp-think-tool
Configuration
Windsurf
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.
Docker
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 to your MCP config file:
"think": {
"command": "docker",
"args": ["run", "--rm", "-i", "mcp-think-tool"]
}
This was tested and is working with Claude Desktop and Cursor.