Skip to main content

MCP server providing a 'think' tool for structured reasoning, inspired by Anthropic's Claude 'think' tool. Enables agentic LLMs to pause, log thoughts, and improve multi-step tool use.

Project description

Think MCP Tool

Think MCP is an implementation of an MCP (Model Context Protocol) server that provides a "think" tool for structured reasoning in agentic AI workflows. This project is inspired by the Anthropic engineering article: The "think" tool: Enabling Claude to stop and think in complex tool use situations.

According to the referenced article, adding the think tool can lead to improved evaluation metrics by enabling reasoning capabilities even in models that do not natively possess advanced reasoning skills.

alt text

What is the "think" tool?

The "think" tool allows an AI agent to pause and record an explicit thought during complex reasoning or multi-step tool use. It does not change the environment or database, but appends the thought to the log, helping the agent process information, backtrack, or comply with detailed policies.

This approach is especially useful for:

  • Tool output analysis (processing results of previous tool calls)
  • Policy-heavy environments (verifying compliance with guidelines)
  • Sequential decision making (where each step builds on previous ones)

Features

  • Implements the "think" tool as described in Anthropic's research
  • Minimal, standards-based MCP server using mcp[cli]
  • Ready for integration with Claude or other agentic LLMs

Usage

MCP server configuration

Add this MCP server to your facorite agent.

"mcpServers": {
    "think-mcp": {
        "command": "uvx",
        "args": ["think-mcp"],
        "enabled": true
    }
}

Tool definition

The "think" tool is defined as:

  • Input: thought (string) — A thought to think about.
  • Behavior: Appends the thought to the log for structured reasoning.

Advanced mode

Adds aditional tools for your agent:

  • criticize
  • plan
  • search
"mcpServers": {
    "think-mcp": {
        "command": "uvx",
        "args": ["think-mcp", "--advanced"],
        "enabled": true,
        "env": {
            "TAVILY_API_KEY": ... YOUR TAVILY API KEY HERE ...
        }
    }
}

Reference

License

MIT License — see LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_think_mcp-0.1.16.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iflow_mcp_think_mcp-0.1.16-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file iflow_mcp_think_mcp-0.1.16.tar.gz.

File metadata

File hashes

Hashes for iflow_mcp_think_mcp-0.1.16.tar.gz
Algorithm Hash digest
SHA256 3250b29cd76b873cbb5d1095387555dceb051badbee9029211b7f7d1b6592e67
MD5 a6e6a6513231209926ee555f739a3d80
BLAKE2b-256 c9a51d00496b7e0417c4a4b70422e1d16481e52f1c46f5947930c2c8d1203f6c

See more details on using hashes here.

File details

Details for the file iflow_mcp_think_mcp-0.1.16-py3-none-any.whl.

File metadata

File hashes

Hashes for iflow_mcp_think_mcp-0.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 6929b08bf816bcc5e77ceeec25db74a3df3f4bc1751c60e96f1424197d4dbd69
MD5 112758359159ea952b4235a32ed29d1d
BLAKE2b-256 78728b65c47bbbd315f7dcd24d85c0d856bb3a93511c8064328529fc58057764

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page