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.

"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

Add this MCP server to your facorite agent.

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

## Reference
- Based on: [Anthropic Engineering Blog — The "think" tool](https://www.anthropic.com/engineering/claude-think-tool)

## License
MIT License — see [LICENSE](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

think_mcp-0.1.14.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

think_mcp-0.1.14-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file think_mcp-0.1.14.tar.gz.

File metadata

  • Download URL: think_mcp-0.1.14.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.4

File hashes

Hashes for think_mcp-0.1.14.tar.gz
Algorithm Hash digest
SHA256 c928039e316ea83c3ff78b6d4decde7994a3b44d63275b9b4473ee53c3068f08
MD5 efb5d4d11e2374c7b01f4f26fd19d097
BLAKE2b-256 c08403e8e7f64cdedff09b6ecdbc8cf72352a7391a01b4ea5e01a3ce0321d125

See more details on using hashes here.

File details

Details for the file think_mcp-0.1.14-py3-none-any.whl.

File metadata

File hashes

Hashes for think_mcp-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 a0f527fcacc53f8354d3c2f2066c36fb16cad8290cdd7ee701af2001e543ac8b
MD5 5edd7db4dc9c0986aaec0f7bc789c73d
BLAKE2b-256 b5a8fb12f24fac196196d4cfcedb32d264d25d12a2fa1133afaa6f0390fdb3f6

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