MCP Think
A Model Context Protocol (MCP) server implementing the "think" tool for improving Claude's and other LLMs' 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.
Related MCP server: MCP Python Toolbox
Features
Structured Thinking Space: Provides LLMs with a dedicated place to break down complex problems
Thought History: Maintains a log of all thoughts with timestamps for reference
Multiple Transport Support: Works with both stdio and SSE transports
Installation
Install from PyPI:
Or install from source:
Usage
You can run the MCP server directly:
By default, it uses SSE transport. To use stdio transport:
You can also specify host and port for SSE transport:
Configuration
To use this tool with Claude in Windsurf, add the following configuration to your MCP config file:
For SSE transport (default):
The command field should point to the directory where you installed the python package using pip.
Available Tools
The MCP server provides the following tool:
think: Record a thought with a timestamp
Development
Installation for Development
Running Tests
Code Style
This project uses Black for formatting, isort for import sorting, and flake8 for linting:
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for details.
Changelog
See CHANGELOG.md for a history of changes to this project.
License
This project is licensed under the MIT License - see the LICENSE file for details.