Branch Thinking
STDIOMCP server implementing branch-based thought navigation with multiple branches and cross-references.
MCP server implementing branch-based thought navigation with multiple branches and cross-references.
An MCP server that implements branch-based thought navigation, with support for:
This is based on the sequential-thinking
tool available here:
https://github.com/modelcontextprotocol/servers/tree/main/src/sequentialthinking
list
: Show all branches with their current statusfocus [branchId]
: Switch focus to a specific branchhistory [branchId?]
: Show the history of thoughts in a branchPlace 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" ] }
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.
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.