yggdrasil-mcp
Reasoning orchestration MCP server — Tree of Thoughts with deep planning, branching, and revision. Drop-in replacement for sequential-thinking with critical Claude Code string coercion fix. Works with Claude Code, Claude Desktop, and any MCP client.
Install / Use
claude mcp add henrychong-ai -- npx -y github:henrychong-ai/yggdrasil-mcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AI & Machine LearningSupported Platforms
Tags
Our assessment of yggdrasil-mcp
yggdrasil-mcp scores 83/100 on our quality scale, 678th of 956 AI & Machine Learning skills we index.
Its MCP Server is 16 KB long, well organised into 54 sections with 15 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 6 days ago, so yggdrasil-mcp is actively maintained.
- Our last check on 2026-09-26 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
yggdrasil-mcp compared with similar skills
All 4 of these similar skills score higher than yggdrasil-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| yggdrasil-mcp (this skill)by henrychong-ai | 83 | 3 | 6d ago | MCP Server |
| claude-memby thedotmack | 100 | 98.1k | 1d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 93.9k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 85.6k | 2d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.7k | today | CLAUDE.md |
Frequently asked questions
- How do I install yggdrasil-mcp?
- Run
claude mcp add henrychong-ai -- npx -y github:henrychong-ai/yggdrasil-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does yggdrasil-mcp work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is yggdrasil-mcp safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is yggdrasil-mcp still maintained?
- The repository was last updated 6 days ago, so yggdrasil-mcp is actively maintained.
Skill content
View source on GitHubYggdrasil MCP
<p align="center"> <img src="https://assets.henrychong.com/yggdrasil/yggdrasil-mcp-logo-readme.png" alt="Yggdrasil MCP Logo" width="600" /> </p>Reasoning orchestration MCP server — Tree of Thoughts with multi-agent evaluation.
A fork of Anthropic's @modelcontextprotocol/server-sequential-thinking with critical bug fixes and an ambitious roadmap for advanced reasoning capabilities.
Why Yggdrasil?
In Norse mythology, Yggdrasil is the World Tree connecting all realms. This MCP embodies that metaphor:
- Branches = Different reasoning paths through possibility space
- Roots = Deep foundational analysis (first principles)
- Connections = Links between thoughts, revisions, and evaluations
Key Features
Current (v1.1.0)
- 6 MCP tools —
sequential_thinking,deep_planning,list_plans,get_plan,promote_plan,archive_plans - Descriptive plan naming — Optional
planNameparameter generatesdp-YYYYMMDD-{name}session IDs with duplicate detection - Plan lifecycle management — Promote Claude Code orphan plans, archive old plans, unified discovery across both systems
- deep_planning tool — Structured multi-phase planning sessions (init → clarify → explore → evaluate → finalize)
- Session resumption — Resume planning sessions by ID with JSONL persistence
- Hybrid persistence — JSONL event log + Markdown plan export with JSON index
- String coercion fix — Fixes Claude Code bug #3084 where MCP parameters are incorrectly serialized as strings
- Oxlint + Biome — 50-100x faster linting, zero-config formatting
- Break down complex problems into manageable steps
- Revise and refine thoughts as understanding deepens
- Branch into alternative paths of reasoning
- Adjust the total number of thoughts dynamically
- Generate and verify solution hypotheses
Roadmap
See the CLAUDE.md for details:
- Mermaid diagram export
- Thought history retrieval
- Self-evaluation tools
- Multi-agent evaluation (cross-model verification)
- n8n workflow integration
Installation
Claude Desktop (recommended — one-click install)
Yggdrasil ships as a Claude Desktop Extension (.mcpb):
- Download the latest
.mcpb:packages.henrychong.com/yggdrasil-mcp/yggdrasil-mcp-latest.mcpb - Double-click the file — Claude Desktop opens an install dialog → click Install
- Restart Claude Desktop
Requires Claude Desktop 1.8000 or later (bundles Node.js 24+).
Optionally verify integrity by comparing the SHA256 against SHA256SUMS:
shasum -a 256 ~/Downloads/yggdrasil-mcp-*.mcpb
Older versions remain available at packages.henrychong.com/yggdrasil-mcp/yggdrasil-mcp-{version}.mcpb.
Claude Cowork / Claude Code (plugin ZIP)
For Cowork / Code, install the plugin ZIP:
# Claude Code — local install
claude --plugin-dir https://packages.henrychong.com/yggdrasil-mcp/yggdrasil-mcp-latest.zip
For Cowork org admins (Teams / Enterprise): upload the ZIP via Organization settings → Plugins → Add plugins → Upload a file. All team members get the tools without further action.
Teams / Enterprise org admins
If your Claude workspace is on a Teams or Enterprise plan, an Owner can distribute Yggdrasil organisation-wide:
| Surface | Where | Artefact |
|---|---|---|
| Claude Desktop | Organization settings → Connectors → Desktop → Add custom extension | .mcpb |
| Claude Cowork | Organization settings → Plugins → Add plugins → Upload a file | .zip |
Both surface artefacts are attached to every GitHub Release. Mobile / browser-only Cowork remain out of scope (stdio MCP architecturally cannot reach those surfaces).
Claude Code
claude mcp add --scope user yggdrasil "npx -y yggdrasil-mcp"
Or add to ~/.claude.json:
{
"mcpServers": {
"yggdrasil": {
"command": "npx",
"args": ["-y", "yggdrasil-mcp"]
}
}
}
Claude Desktop
Add to your Claude Desktop config:
{
"mcpServers": {
"yggdrasil": {
"command": "npx",
"args": ["-y", "yggdrasil-mcp"]
}
}
}
Local Development
{
"mcpServers": {
"yggdrasil": {
"command": "node",
"args": ["/path/to/yggdrasil-mcp/dist/index.js"]
}
}
}
Recommended: CLAUDE.md Configuration
After installing the MCP server, add the following to your ~/.claude/CLAUDE.md (global instructions) to unlock quick-access triggerwords and ensure Claude Code can load the tools correctly.
Why this matters
Yggdrasil tools are deferred tools in Claude Code — their full schemas are not loaded until explicitly fetched. Without the configuration below, Claude Code won't know how to invoke the tools or respond to shorthand triggers. Adding this block enables:
- Shorthand triggers (
s1,s2,s3) for instant reasoning at different depth levels - Automatic ToolSearch so Claude Code loads the tool schema before first use
- Correct thought calibration based on problem complexity
Add to ~/.claude/CLAUDE.md
Copy the following block into your ~/.claude/CLAUDE.md file:
## Structured Reasoning (Yggdrasil MCP)
### sequential_thinking — Reflective Problem-Solving
**MANDATORY Trigger:** When `s1`, `s2`, or `s3` appears ANYWHERE in user input:
1. Load via `ToolSearch` query `select:mcp__yggdrasil__sequential_thinking`
2. Invoke with appropriate `totalThoughts`
3. Complete the full chain before responding
**This is NOT optional internal reasoning — you MUST call the external MCP tool.**
| Trigger | totalThoughts | Use Case |
|---------|---------------|----------|
| **s1** | 3-5 | Quick analysis, simple decisions |
| **s2** | 6-10 | Detailed analysis, multi-factor problems |
| **s3** | 12-20 | Comprehensive analysis, complex systems |
### deep_planning — Multi-Phase Planning Sessions
Use for structured planning that needs to track state across phases:
`init → clarify → explore → evaluate → finalize`
Best for: Architecture decisions, multi-approach evaluation, implementation planning with scored trade-offs.
Both tools are deferred — load via `ToolSearch` before first use.
ToolSearch (Recommended)
Yggdrasil tools are registered as deferred tools in Claude Code. This means their parameter schemas are not available until fetched via ToolSearch. The CLAUDE.md configuration above handles this automatically for the s1/s2/s3 triggers, but if you want to invoke the tools directly, use:
ToolSearch query: "select:mcp__yggdrasil__sequential_thinking"
ToolSearch query: "select:mcp__yggdrasil__deep_planning"
This fetches the full schema and makes the tool callable for the rest of the session.
Verification
After setup, test by typing s1 followed by a question in Claude Code. You should see Claude Code automatically invoke ToolSearch and then call sequential_thinking with 3-5 thoughts.
Tool: sequential_thinking
Facilitates a detailed, step-by-step thinking process for problem-solving and analysis.
Parameters
Required
| Parameter | Type | Description |
| ------------------- | ------- | -------------------------------------- |
| thought | string | The current thinking step |
| nextThoughtNeeded | boolean | Whether another thought step is needed |
| thoughtNumber | integer | Current thought number (≥1) |
| totalThoughts | integer | Estimated total thoughts needed (≥1) |
Optional
| Parameter | Type | Description |
| ------------------- | ------- | -------------------------------------- |
| isRevision | boolean | Whether this revises previous thinking |
| revisesThought | integer | Which thought is being reconsidered |
| branchFromThought | integer | Branching point thought number |
| branchId | string | Branch identifier |
| needsMoreThoughts | boolean | If more thoughts are needed |
Output
{
"thoughtNumber": 3,
"totalThoughts": 5,
"nextThoughtNeeded": true,
"branches": ["branch-a"],
"thoughtHistoryLength": 3
}
Tool: deep_planning
Structured planning tool that manages multi-phase planning sessions. Complements sequential_thinking by tracking state while the LLM reasons deeply between phases.
Workflow
init → clarify* → explore+ → evaluate+ → finalize → done
Parameters
| Parameter | Type | Phases | Description |
| ----------------- | ------ | ---------------- | ---------------------------------------------------- |
| phase | enum | All | init, clarify, explore, evaluate, finalize |
| problem | string | init | Problem statement |
| planName | string | init | Descriptive name → dp-YYYYMMDD-{name} session ID |
| context | string | init | Additional background |
| constraints | string | init | JSON array of constraint strings |
| question | string | clarify | Clarifying question |
| answer | string | clarify | Answer to the question |
| branchId | string | explore/evaluate | Unique approach identifier |
| name | string | explore | Short approach name |
| description | string | explore | Detailed approach description |
| pros/cons | string | explore | JSON arrays of strings |
| feasibility | number | evaluate | Score 0-10 |
| completeness | number | evaluate | Score 0-10 |
| coherence | number | evaluate | Score 0-10 |
| risk | number | evaluate | Score 0-10 (lower is better) |
| rationale | string | evaluate | Reasoning for scores |
| recommendation | string | evaluate | pursue, refine, or abandon |
| selectedBranch | string | finalize | Branch ID of chosen approach |
| steps | string | finalize | JSON array of step objects |
| risks | string | finalize | JSON array of risk objects |
| assumptions | string | finalize | JSON array of strings |
| successCriteria | string | finalize | JSON array of strings |
| format | string | finalize | markdown (default) or json |
Output
{
"sessionId": "dp-abc123",
"phase": "explore",
"status": "ok",
"approachCount": 2,
"evaluationCount": 0,
"validNextPhases": ["explore", "evaluate", "clarify"],
"message": "Approach recorded..."
}
Plan Manag
Truncated for display — read the full file on GitHub.
Related Skills
claude-mem
98.1kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
93.9kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Understand-Anything
85.6kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
74.7kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
