Think Toolのロゴ

Think Tool

コミュニティ
abhinav-mangla

MCP Think Tool Server

公開者abhinav-mangla
リポジトリthink-tool-mcp
言語TypeScript
フォーク
3
スター
16
利用可能なツール
1
通信方式stdio, streamable-http
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Think Toolは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 1個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには16件のスターと3件のフォークがあります。

MCP Think Tool Server

npm version license TypeScript MCP

A Model Context Protocol (MCP) server that implements the "think" tool for enhancing complex reasoning capabilities in Large Language Models (LLMs). This tool provides LLMs with a dedicated space for structured thinking during problem-solving tasks, significantly improving performance in complex scenarios requiring policy adherence and multi-step reasoning.

🧠 Overview

The Think Tool MCP server is based on Anthropic's research demonstrating that providing LLMs with a dedicated "thinking space" dramatically improves performance on complex tasks. This tool allows any compatible LLM (Claude, GPT-4, and others) to:

  • Break down complex problems into manageable steps
  • Perform structured reasoning and analysis
  • Verify policy compliance during decision-making
  • Process and synthesize information from multiple tool calls
  • Maintain context and logical flow in long reasoning chains

As described in Anthropic's blog post, the think tool has shown significant improvements in tasks requiring complex reasoning and policy adherence across different language models.

✨ Features

  • 🔧 Structured Thinking Space: Provides LLMs with a dedicated environment for complex reasoning
  • 📝 Memory Aid: Helps maintain context during long chains of tool calls
  • 🎯 Policy Verification: Enables careful policy adherence checking
  • 🔍 Problem Decomposition: Supports breaking down complex problems into steps
  • ⚡ Lightweight: Minimal overhead with efficient MCP implementation
  • 🔌 Easy Integration: Simple setup with popular AI platforms (Cursor, Claude Desktop, etc.)
  • 🛠️ TypeScript: Built with TypeScript for type safety and better development experience
  • 🌐 Universal Compatibility: Works with any LLM that supports the Model Context Protocol

🚀 Platform Configuration

Cursor IDE

Requirements: Cursor version 0.45.6 or higher

  1. Open Cursor Settings (Cmd/Ctrl + ,)
  2. Navigate to Features → MCP Servers
  3. Click "+ Add New MCP Server"
  4. Configure the server:
    • Name: think-tool-mcp (or your preferred name)
    • Type: command
    • Command: npx -y think-tool-mcp
  5. Save and restart Cursor

Claude Desktop

Add to your claude_desktop_config.json:

json
{
  "mcpServers": {
    "think-tool": {
      "command": "npx",
      "args": ["-y", "think-tool-mcp"]
    }
  }
}

Config file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Other MCP-Compatible Platforms

This server works with any platform supporting the Model Context Protocol. Refer to your platform's documentation for MCP server configuration.

📊 Performance Analysis

Extensive research by Anthropic has demonstrated significant performance improvements when LLMs use the think tool. The following results showcase the measurable impact across different benchmarks and use cases.

τ-Bench (Tau-Bench) Results

τ-Bench is a comprehensive benchmark designed to test LLM tool usage in realistic customer service scenarios. It evaluates the ability to navigate complex conversations, follow detailed policy guidelines, and maintain consistency across multiple task trials.

Airline Domain Performance

The airline domain represents a complex policy-heavy environment where precise adherence to detailed rules is critical.

Configurationk=1k=2k=3k=4k=5
Think + Optimized Prompt0.5840.4440.3840.3560.340
Think Tool Alone0.4040.2540.1860.1400.100
Extended Thinking0.4120.2900.2320.1920.160
Baseline (No Think Tool)0.3320.2060.1480.1160.100

Key Findings:

  • 54% relative improvement in pass^1 metric (0.584 vs 0.370 baseline)
  • Optimized prompting with examples dramatically enhanced performance
  • Improvements maintained across all trial consistency levels (k=1 to k=5)

Retail Domain Performance

The retail domain has simpler policies, allowing the think tool to show benefits even without extensive prompting.

Configurationk=1k=2k=3k=4k=5
Think Tool (No Prompt)0.8120.7350.6850.6500.626
Extended Thinking0.7700.6810.6230.5810.548
Baseline0.7830.6950.6430.6070.583

Key Findings:

  • 3.7% improvement in pass^1 metric without additional prompting
  • Demonstrates effectiveness across varying complexity levels
  • Consistent performance gains maintained across multiple trials

SWE-Bench Results

SWE-Bench evaluates coding performance on real-world software engineering tasks. The think tool contributed to Claude 3.7 Sonnet achieving state-of-the-art performance.

Performance Impact:

  • Baseline Score: 62.3% (without think tool)
  • With Think Tool: 64.9% (estimated based on 1.6% improvement)
  • Statistical Significance: Welch's t-test: t(38.89) = 6.71, p < .001, d = 1.47
  • Sample Size: 30 samples with think tool, 144 samples without

Performance Insights

When Think Tool Excels

  1. Policy-Heavy Environments: Up to 54% improvement when complex rule adherence is required
  2. Sequential Decision Making: Significant gains when each action builds on previous ones
  3. Tool Output Analysis: Enhanced performance when processing results from multiple tool calls
  4. Complex Domain Navigation: Greater benefits in challenging domains (airline vs. retail)

Optimization Factors

  1. Domain-Specific Prompting: Examples tailored to specific use cases dramatically improve effectiveness
  2. Complexity Correlation: More complex domains benefit more from structured thinking
  3. Consistency Improvements: Benefits maintained across multiple trial runs, indicating robustness
  4. Error Reduction: Helps LLMs handle edge cases and unusual scenarios more effectively

Comparative Analysis

ApproachAirline Domain (k=1)Retail Domain (k=1)Implementation Effort
Baseline0.3320.783None
Extended Thinking0.412 (+24%)0.770 (-1.7%)Platform-dependent
Think Tool0.404 (+22%)0.812 (+3.7%)Minimal
Think + Optimized Prompt0.584 (+76%)N/ALow

Key Takeaway: The think tool provides substantial performance improvements with minimal implementation overhead, making it an excellent choice for enhancing LLM capabilities in complex reasoning scenarios.

📦 Installation

Quick Start with npx (Recommended)

The fastest way to get started:

bash
npx -y think-tool-mcp

Global Installation

For persistent usage across projects:

bash
npm install -g think-tool-mcp

Local Development Installation

For contributing or local development:

bash
git clone https://github.com/abhinav-mangla/think-tool-mcp.git
cd think-tool-mcp
npm install
npm run build
npm start

🎯 Usage Examples

Complex Problem Solving

Human: Help me optimize our company's supply chain with 5 warehouses and 12 retail locations.

LLM: I'll help you optimize your supply chain. Let me think through this systematically.

[Uses think tool]
Thought: This is a complex optimization problem requiring:
1. Analysis of warehouse-retail location distances
2. Shipping cost calculations between all pairs
3. Delivery time constraints evaluation
4. Inventory capacity considerations
5. Demand pattern analysis

I need to formulate this as a linear programming problem and consider both cost minimization and delivery time constraints...

[Proceeds with structured solution based on analysis]

Policy Adherence

Human: Can I return this opened product after 45 days without a receipt?

LLM: Let me carefully check our return policy.

[Uses think tool]
Thought: Analyzing this return request:
- Item: 45 days old (exceeds standard 30-day window)
- No receipt available
- Package opened

Policy considerations:
- Standard returns require 30 days + receipt
- Store credit might be possible with purchase verification
- Product category affects policy (electronics vs. clothing)
- Loyalty members may have extended windows
- Manager override possibilities

[Provides policy-compliant response with available options]

Multi-Tool Analysis

Human: Find inactive premium users (60+ days) and create a re-engagement campaign.

LLM: I'll search the database and create a targeted campaign.

[Runs database queries]
[Uses think tool]
Thought: Query results show 342 inactive premium users. Key patterns:
- 45% are in 6-12 month subscription cohort
- 72% last activity was "viewed dashboard"
- Only 8% used newest features
- 28% had support tickets before going inactive

Campaign strategy:
- Segment users by usage patterns
- Highlight unexplored features
- Address support-related pain points
- Personalize incentives based on history

[Creates targeted email campaign based on analysis]

🔧 API Reference

Available Tools

think

Provides LLMs with a dedicated space for complex reasoning and analysis.

Parameters:

  • thought (string, required): The thought process, reasoning, or analysis to record

Description: The think tool accepts any structured thinking that an LLM needs to perform. This can include:

  • Step-by-step problem analysis
  • Policy verification workflows
  • Multi-criteria decision making
  • Information synthesis from multiple sources
  • Complex reasoning chains

Usage Pattern: LLMs will automatically use this tool when they need to engage in complex reasoning. The tool does not retrieve new information or make changes—it simply provides a space for structured thinking.

🏗️ Development

Project Structure

think-tool-mcp/
├── src/
│   ├── index.ts          # CLI entry point
│   └── server.ts         # MCP server implementation
├── examples/
│   └── example_usage.md  # Usage examples
├── dist/                 # Compiled JavaScript
├── package.json
├── tsconfig.json
└── README.md

Building from Source

bash
# Install dependencies
npm install

# Build the project
npm run build

# Run in development mode
npm run dev

# Start the built server
npm start

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📋 Requirements

  • Node.js: Version 16 or higher
  • npm: Comes with Node.js
  • MCP-compatible platform: Cursor, Claude Desktop, or other MCP-supporting applications

🔍 Troubleshooting

Common Issues

Server not starting:

  • Ensure Node.js 16+ is installed
  • Check that the command path is correct in your MCP configuration
  • Verify no port conflicts exist

Tool not appearing in AI platform:

  • Confirm MCP server is properly configured
  • Restart your AI platform after configuration changes
  • Check platform-specific MCP documentation

Permission errors:

  • On Unix systems, ensure the binary is executable
  • Try using npx instead of global installation

Debug Mode

For development and debugging:

bash
npm run dev

This runs the server with TypeScript directly and provides more detailed error information.

📚 Learn More

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

👤 Author

Abhinav Mangla

🙏 Acknowledgments

  • Anthropic for the think tool research and methodology
  • The Model Context Protocol team for the excellent framework
  • The open-source community for contributions and feedback

インストール

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "think-tool": {
      "command": "npx",
      "args": [
        "-y",
        "think-tool-mcp"
      ]
    }
  }
}

利用可能なツール

  • think

    Use this tool to think about something. It will not obtain new information or change anything. Use it when complex reasoning is needed.

      Args:
      thought: A thought to think about. This can be structured reasoning, step-by-step analysis, policy verification, or any other mental process that helps with problem-solving.
    

Think ToolのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Think Toolに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 お使いのデバイス上でMCPをローカル実行することも、リモートMCPサーバーのURLに接続することもできます。

方法1:ローカルコネクタを使用

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Think Toolをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Think ToolのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "think-tool": {
      "command": "npx",
      "args": [
        "-y",
        "think-tool-mcp"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてThink ToolのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Think ToolのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Think Toolを使ってこのタスクを手伝ってもらえますか?
Think Tool
はい、読みました。
Think Toolで調べた結果をお伝えします。

方法2:MCPサーバーのURLを追加

Think Toolがすでにリモートでホストされている場合や、チームの複数のユーザーで1つのコネクタを共有したい場合は、この方法を使います。

1

MCPコネクタを開く

TypingMindで「プラグイン」に移動し、「MCPコネクタ」を開いて「URLを追加」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 「プラグイン」に移動してください。
  3. 「MCPコネクタ」を開いてください。
  4. 「URLを追加」をクリックします。
TypingMindの「カスタムMCPサーバーURLを追加」フォーム
2

サーバーURLを貼り付け

「サーバーURL」欄にお使いのサーバーURLを入力してください。サーバーで必要とされる場合は、接続名、説明、アイコン、カスタムHTTPヘッダー、OAuthクライアント設定を追加してください。

  1. 「サーバーURL」欄にお使いのサーバーURLを貼り付けてください。
  2. Think Toolの接続名を入力してください。
  3. 接続を識別しやすくするには、説明とアイコンを追加してください。
  4. サーバーで認証が必要な場合は、カスタムHTTPヘッダーまたはOAuthクライアントの詳細情報を追加してください。
3

接続を作成

「接続を作成」をクリックし、プラグイン一覧に戻って、新しいMCP接続が有効になっていることを確認してください。

  1. 「接続を作成」をクリックします。
  2. MCPコネクタの一覧に戻ってください。
  3. Think Toolの接続が「有効」と表示されていることを確認してください。
  4. 接続がすぐに表示されない場合は、プラグイン一覧を更新してください。
4

再接続せずにモデルを切り替え

お好みのモデルでチャットを開始し、「プラグイン」でThink Toolのツールを有効にしてください。必要に応じて別のモデルに切り替えられます。MCP接続は、TypingMindのワークスペースで引き続き利用できます。

  1. TypingMindで新しいチャットを開始してください。
  2. 使用するAIモデルを選択してください。
  3. 「プラグイン」でThink Toolのツールを有効にしてください。
  4. 必要に応じて、ツールを使うようモデルに依頼してください。
  5. 別のAIモデルに切り替えて、同じMCP接続を再利用してください。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Think Toolを使ってこのタスクを手伝ってもらえますか?
Think Tool
はい、読みました。
Think Toolで調べた結果をお伝えします。

よくある質問

Think Tool MCPサーバーは何に使いますか?

Think Toolは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでThink Tool MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでThink Toolを利用できます。

TypingMindでThink Tool MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Think Toolを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Think Tool MCPをTypingMindに接続するにはどうすればよいですか?

Think Toolは、ローカルMCPコネクタを使うか、リモートMCPサーバーのURLを追加することでTypingMindに接続できます。サーバーがデバイス上のファイル、アプリ、プライベートリソースにアクセスする必要がある場合はローカルコネクタを、MCPサーバーがリモートでホストされている場合はサーバーURLを使用してください。

TypingMindでThink Tool MCPのどのようなツールを利用できますか?

Think Toolは1個のMCPツールを提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Think Tool MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Think Toolで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇