Skip to main content

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

Metadata

Release files for iflow-mcp_think_mcp 0.1.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_think_mcp 0.1.16
File Size Uploaded
iflow_mcp_think_mcp-0.1.16.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_think_mcp 0.1.16
File Interpreter ABI Platform
iflow_mcp_think_mcp-0.1.16-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / iflow_mcp_think_mcp-0.1.16.tar.gz

Download URL iflow_mcp_think_mcp-0.1.16.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3250b29cd76b873cbb5d1095387555dceb051badbee9029211b7f7d1b6592e67
BLAKE2b-256 checksum
How to use checksums
c9a51d00496b7e0417c4a4b70422e1d16481e52f1c46f5947930c2c8d1203f6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release files / iflow_mcp_think_mcp-0.1.16-py3-none-any.whl

Download URL iflow_mcp_think_mcp-0.1.16-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6929b08bf816bcc5e77ceeec25db74a3df3f4bc1751c60e96f1424197d4dbd69
BLAKE2b-256 checksum
How to use checksums
78728b65c47bbbd315f7dcd24d85c0d856bb3a93511c8064328529fc58057764
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release history Release notifications | RSS feed

This release

0.1.16 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page