npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

think-mcp-tool

v1.1.0

Published

An MCP server that provides a 'think' tool for structured reasoning, based on Anthropic's engineering research

Readme

Think Tool MCP Server

npm version License: MIT

Implementation of Anthropic's "think" tool as an MCP server — Dramatically improve AI reasoning capabilities with structured thinking.

What is the Think Tool?

This MCP server implements the "think" tool that Anthropic introduced in their engineering blog post. The Think Tool provides AI assistants with a dedicated space for structured reasoning during complex problem-solving tasks, enabling more thoughtful, accurate, and reliable responses.

Proven Performance Benefits

Anthropic's research demonstrates remarkable improvements when using the "think" tool:

  • 54% improvement in complex customer service tasks
  • Significantly better adherence to detailed policies and guidelines
  • Enhanced consistency across multiple trials of the same task
  • Improved performance on software engineering benchmarks
  • Minimal implementation overhead compared to other enhancement techniques

The "think" tool excels where other approaches fall short:

  • Better than extended thinking for cases requiring complex tool chains
  • More effective than baseline prompting for policy-heavy scenarios
  • Especially powerful when paired with optimized prompting

Quick Install

Via npm (Recommended)

npx think-mcp-tool

For Claude Desktop

Add to your Claude Desktop configuration:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "think-tool": {
      "command": "npx",
      "args": ["think-mcp-tool"]
    }
  }
}

For Cursor

Add to your Cursor MCP settings:

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

For OpenCode

Add to your opencode.json:

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

How It Works

The "think" tool implements the mechanism described in Anthropic's engineering blog. Unlike extended thinking (which happens before the AI starts responding), the "think" tool allows the AI to pause and reflect during its response generation.

Key mechanism: The tool doesn't perform any external actions or retrieve new information — it simply provides a dedicated scratchpad to work through reasoning step-by-step, which dramatically improves performance on complex tasks.

When the AI uses the "think" tool:

  1. It pauses to organize thoughts before continuing a complex reasoning chain
  2. It creates a structured approach to multi-step problems
  3. It verifies policy compliance more thoroughly and consistently
  4. It carefully analyzes tool outputs before deciding next steps
  5. It maintains better context awareness across long interactions

When to Use the Think Tool

The "think" tool is especially valuable when:

  1. Working with other MCP tools — Great for analyzing outputs from databases, filesystems, or APIs
  2. Following complex policies — Perfect for customer service, legal, or compliance scenarios
  3. Making sequential decisions — Ideal for workflows where later steps depend on earlier ones
  4. Processing web search results — Helps synthesize information from multiple sources
  5. Solving coding challenges — Improves success rates on software engineering tasks

System Prompt for Optimal Results

Anthropic's research shows that combining the "think" tool with optimized prompting delivers the strongest performance improvements. For best results, add the following system prompt:

You have access to a "think" tool that provides a dedicated space for structured reasoning. Using this tool significantly improves your performance on complex tasks.

## When to use the think tool

Before taking any action or responding to the user after receiving tool results, use the think tool as a scratchpad to:
- List the specific rules that apply to the current request
- Check if all required information is collected
- Verify that the planned action complies with all policies
- Iterate over tool results for correctness
- Analyze complex information from web searches or other tools
- Plan multi-step approaches before executing them

## How to use the think tool effectively

When using the think tool:
1. Break down complex problems into clearly defined steps
2. Identify key facts, constraints, and requirements
3. Check for gaps in information and plan how to fill them
4. Evaluate multiple approaches before choosing one
5. Verify your reasoning for logical errors or biases

Manual Installation

If you prefer to run the server locally from source:

  1. Clone the repository:

    git clone https://github.com/LeXwDeX/think-mcp-server.git
    cd think-mcp-server
  2. Install dependencies:

    npm install
  3. Build and run:

    npm run build
    npm start

Development

npm run dev    # Hot-reload development mode
npm run build  # Compile TypeScript
npm start      # Run compiled output

License

MIT License