Claude Think MCP

by DJBuildIt

Integrations

  • Required runtime environment for the MCP server, needed to execute the thinking mode functionality

Cursor & Claude Think MCP

This MCP (Model Context Protocol) tool enables Claude's explicit thinking mode in Cursor, allowing you to see Claude's step-by-step reasoning process.

Prerequisites

  • Node.js (v14.0.0 or higher)
  • Cursor (v0.9.0 or higher)
  • Basic knowledge of terminal commands

How It Works

When you type "think [your question]" in Cursor's chat, Claude will:

  1. Enter an explicit reasoning mode
  2. Show its step-by-step thinking process
  3. Provide a final answer after the reasoning section

Installation

Project-Level Installation (Current Project Only)

The tool is already installed for this project. The configuration is in .cursor/mcp.json.

Global Installation (All Projects)

To make this tool available in all your Cursor projects:

  1. Create the directory for global MCP configuration:
    mkdir -p ~/.cursor
  2. Copy the tool and configuration:
    # Create the destination directory mkdir -p ~/claude-think-tool # Copy the tool cp src/think-tool.js ~/claude-think-tool/ # Make it executable chmod +x ~/claude-think-tool/think-tool.js # Create the global MCP configuration with absolute path (more reliable) echo "{\"mcpServers\":{\"claude-think-tool\":{\"command\":\"node\",\"args\":[\"$HOME/claude-think-tool/think-tool.js\"]}}}" > ~/.cursor/mcp.json
  3. Restart Cursor to apply the changes (required)

Windows Installation

For Windows users:

  1. Create the Cursor configuration directory:
    mkdir -p $env:USERPROFILE\.cursor
  2. Copy the tool:
    mkdir -p $env:USERPROFILE\claude-think-tool copy src\think-tool.js $env:USERPROFILE\claude-think-tool\
  3. Create the global MCP configuration:
    echo "{\"mcpServers\":{\"claude-think-tool\":{\"command\":\"node\",\"args\":[\"$env:USERPROFILE\\claude-think-tool\\think-tool.js\"]}}}" > $env:USERPROFILE\.cursor\mcp.json
  4. Restart Cursor to apply the changes (required)

Usage

In any Cursor chat, simply type:

think What is the computational complexity of quicksort?

Important Usage Notes:

  • The word "think" must be at the beginning of your message followed by a space
  • Everything after "think " will be processed by Claude in its special thinking mode
  • The tool will not activate if "think" appears elsewhere in your message
  • No formatting or special characters are needed - just start with "think "

Examples

See the examples directory for sample use cases:

  • Complex problem solving
  • Mathematical proofs
  • Decision making processes
  • Code algorithm analysis

Troubleshooting

If the tool doesn't appear to be working:

  1. Make sure Cursor has been restarted after installation
  2. Check that Node.js is installed by running node --version in your terminal
  3. Verify that the path in the MCP configuration is correct and points to the script
  4. Ensure the script is executable (chmod +x on Unix systems)
  5. Look for any errors in the Cursor Developer Console

For Windows users, ensure PowerShell or CMD is running with appropriate permissions.

How It Works Technically

This tool uses the Model Context Protocol to:

  1. Intercept when you type "think" in the chat
  2. Format your question with special ::::thinking tags
  3. Return the formatted prompt to Claude
  4. Claude recognizes these tags and enters explicit reasoning mode

The <thinking> tags signal to Claude to show its reasoning process explicitly.

Security Considerations

  • The tool doesn't access or transmit any sensitive information
  • It runs locally on your machine and only processes the text you send to Claude
  • See SECURITY.md for vulnerability reporting guidelines

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

License

This project is licensed under the terms in LICENSE. ::::

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Enables Claude's explicit thinking mode in Cursor, allowing you to see Claude's step-by-step reasoning process when you type 'think [your question]'.

  1. Prerequisites
    1. How It Works
      1. Installation
        1. Project-Level Installation (Current Project Only)
        2. Global Installation (All Projects)
        3. Windows Installation
      2. Usage
        1. Examples
          1. Troubleshooting
            1. How It Works Technically
              1. Security Considerations
                1. Contributing
                  1. License

                    Related MCP Servers

                    • -
                      security
                      A
                      license
                      -
                      quality
                      Enhances Claude's reasoning capabilities by integrating DeepSeek R1's advanced reasoning engine, allowing Claude to tackle complex multi-step reasoning tasks with greater precision.
                      Last updated -
                      Python
                      MIT License
                      • Apple
                    • -
                      security
                      A
                      license
                      -
                      quality
                      An MCP server that implements the 'think' tool, providing Claude with a dedicated space for structured thinking during complex problem-solving tasks to improve reasoning capabilities.
                      Last updated -
                      48
                      Python
                      MIT License
                      • Linux
                      • Apple
                    • A
                      security
                      F
                      license
                      A
                      quality
                      Official implementation of Anthropic's 'think' tool that provides Claude with a dedicated space for structured reasoning, improving performance by up to 54% on complex tasks requiring multi-step problem solving.
                      Last updated -
                      1
                      525
                      37
                      TypeScript
                      • Apple
                    • A
                      security
                      A
                      license
                      A
                      quality
                      Implements Anthropic's 'think' tool for Claude, providing a dedicated space for structured reasoning during complex problem-solving tasks that improves performance in reasoning chains and policy adherence.
                      Last updated -
                      4
                      105
                      5
                      JavaScript
                      MIT License

                    View all related MCP servers

                    ID: sru3ls7xfm