Branch Thinking MCP Server

by m-siles

Branch Thinking

An MCP server that implements branch-based thought navigation, with support for:

  • Multiple branches of thought
  • Branch navigation (list, focus, history)
  • Cross-references between related thoughts
  • Insight generation from key points
  • Branch priority tracking

This is based on the sequential-thinking tool available here: https://github.com/modelcontextprotocol/servers/tree/main/src/sequentialthinking

Features

  • Branch Management: Create and navigate between different lines of thought
  • Cross References: Link related thoughts across branches with typed relationships
  • Insights: Automatically generate insights from key points in thoughts
  • Priority Tracking: Track branch priorities based on confidence and connections

Commands

  • list: Show all branches with their current status
  • focus [branchId]: Switch focus to a specific branch
  • history [branchId?]: Show the history of thoughts in a branch

Installation

Place this project in your custom MCP tool directory.

npm install npm run build

Add to your claude_desktop_config.json:

"branch-thinking": { "command": "node", "args": [ "/your-custom-mcp-dir-here/branch-thinking/dist/index.js" ] }

Tips

Claude often will not use tools unless explicitly prompted to do so.

If you want to use this tool without being prompted, add to either your Claude Profile Settings (or a system prompt) something like so:

If I ask you to "think step by step," "think before you respond," or "use chain of thought," that means use the branch-thinking tool. Don't hesitate to use the branch-thinking tool on your own if you think your response would benefit from multiple steps.

Credits

I can't pretend that I wrote most of this code. Most of it was generated by Claude. The concept was my own, and so were testing, fixes, and implementation.

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

An MCP server for navigating thought processes using branches, supporting thought cross-references and priority tracking to enhance insight generation and structured idea exploration.

  1. Features
    1. Commands
      1. Installation
        1. Tips
          1. Credits

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              An adaptation of the MCP Sequential Thinking Server designed to guide tool usage in problem-solving. This server helps break down complex problems into manageable steps and provides recommendations for which MCP tools would be most effective at each stage.
              Last updated -
              1
              360
              125
              TypeScript
              MIT License
            • -
              security
              -
              license
              -
              quality
              An MCP server implementing the Unified Cognitive Processing Framework for advanced problem-solving, creative thinking, and cognitive analysis through structured tools for knowledge mapping, recursive questioning, and perspective generation.
              Last updated -
              6
              TypeScript
            • -
              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

            View all related MCP servers

            ID: i9a4t5f68z