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_rai220_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_rai220_think_mcp-0.1.16-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iflow_mcp_rai220_think_mcp-0.1.16.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_rai220_think_mcp-0.1.16.tar.gz
Algorithm Hash digest
SHA256 d2a812bcb6f4194376e10b9046e63a1c8a6c85d15f5afc32daf9d8dec1d65899
MD5 6370d29f7317de83ebc07c175e170a71
BLAKE2b-256 99f8999bda671434438a373bc482a52da34ea097dd3258d8f4e39c252231732c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iflow_mcp_rai220_think_mcp-0.1.16-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_rai220_think_mcp-0.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 1a5b3cd013f057dc4ed9d57b337e16269e487aa1ae788369356b4254d91baf4f
MD5 46c3ff2fe7b6fc2970c1ebe5e8aa087c
BLAKE2b-256 7bd26b4b2d5b937def63fb22c29ef9679073bf5afa2b22f355496993236f8a23

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