branch-thinking
MCP tool to allow multiple chains of thought
Documentation
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 buildAdd 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.
Frequently asked questions
What is branch-thinking?
branch-thinking is MCP tool to allow multiple chains of thought
How do I install branch-thinking?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is branch-thinking open source?
Yes — it is hosted on GitHub at https://github.com/m-siles/branch-thinking and has 40 stars.
Related MCP tools
🍒 Cherry Studio is a desktop client that supports for multiple LLM providers. Built for the Model Context Protocol to enhance AI capabilities.
Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini...
FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, ...
Composio equips your AI agents & LLMs with 100+ high-quality integrations via function calling for the Model Context Protocol. Enhance AI assistants with powerf
📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Lan...
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Ag...
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP