MCP シンクツールサーバー
Claude の複雑な推論能力を向上させるための「think」ツールを実装する Model Context Protocol (MCP) サーバー。
概要
このMCPサーバーは、Anthropicの「think」ツールを実装しており、複雑な問題解決タスクにおいて、構造化された思考のための専用スペースをClaudeに提供します。Anthropicのブログ投稿で説明されているように、thinkツールは、長いツール呼び出しの連鎖においてポリシーの遵守と推論を必要とする複雑なタスクのパフォーマンスを大幅に向上させることが実証されています。
カスタム指示
思考ツールの使用を最適化するには、Claude に次のカスタム命令を追加します。
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
主なユースケース
- 複雑なツールチェーン: クロードが複雑なツールを呼び出して出力を慎重に分析する必要がある場合
- ポリシー遵守: 詳細なガイドラインに従ってポリシーが重視される環境をナビゲートします
- 逐次的な意思決定:各ステップが前のステップに基づいており、間違いはコストがかかる場合
- 多段階分析:複雑な問題を扱いやすいステップに分解する
インストール
npm install -g @cgize/mcp-think-tool
構成
この構成を MCP 構成ファイルに追加します。
{
"mcpServers": {
"think-tool": {
"command": "npx",
"args": [
"-y",
"@cgize/mcp-think-tool"
],
"type": "stdio",
"pollingInterval": 30000,
"startupTimeout": 30000,
"restartOnFailure": true
}
}
}
構成ファイルの場所:
C:\Users\[username]\AppData\Roaming\Claude\claude_desktop_config.json
グローバルにインストールされている場合は、以下も使用できます。
{
"mcpServers": {
"think-tool": {
"command": "claude-mcp-think-tool",
"args": [],
"type": "stdio",
"pollingInterval": 30000,
"startupTimeout": 30000,
"restartOnFailure": true
}
}
}
利用可能なツール
- 考える:問題解決中の構造化された推論を記録する
- get_thoughts : 記録されたすべての考えを取得する
- clear_thoughts : 思考プロセスをリセットする
- get_thought_stats : 思考パターンを分析する
例のプロンプト
Using the think tool, solve this multi-step problem:
A train travels at a constant speed of 60 km/h. It departs from station A at 9:00 AM and arrives at station B at 11:30 AM. What is the distance between stations A and B?
ライセンス
マサチューセッツ工科大学