Branchable LLM history DAG + encrypted context capsules agents can save, restore, and crypto-shred.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Treat your AI conversation history like a Git repository β capture every call, branch from any turn, and diff outcomes side by side. All on your machine.
Try in 10s Β· Features Β· Install Β· Quick start Β· MCP Β· Capsules

What you're seeing: the conversation DAG with a fork off the debug turn, the node inspector (request/response, tokens, provenance), and the β Compare view diffing two branches with per-token deltas. The green β streaming badge shows live capture β nodes appear as they're recorded.
ForkMind captures every LLM call into a local .forkmind/ directory, visualizes
the conversation as a Directed Acyclic Graph (DAG), and lets you branch,
diff, and replay from any point in the history. Works with any
OpenAI-compatible API, defaulting to free, open-source models via
Ollama β also Anthropic, Groq, OpenRouter, Together,
vLLM, and LM Studio.

Debugging agentic / tool-calling flows means re-running the same prompt with tiny tweaks over and over, then scrolling through terminal logs to see what changed. ForkMind records each run as a node in a conversation tree, so instead of re-reading logs you see the whole history, branch from any turn, and compare outcomes visually.
Everything is plain JSON on disk. No database, no account, no telemetry β nothing leaves your machine except the LLM call you were already making.
.forkmind/. Works from any language via an OpenAI-compatible proxy;
streaming responses are reconstructed (text and fragmented tool-call args)..forkmind/ history mid-task (recall
what they tried, trace how they got somewhere, self-correct).forkmind demo β one command opens the dashboard on a pre-seeded sample
DAG, zero setup and zero API key.No API key, no setup: the dashboard opens with a pre-seeded conversation DAG β a coding-agent debug session that forks into a failed fix and a winning fix, plus an archived context capsule. Everything lives in a throwaway temp directory; your project is never touched. If a local Ollama is running, Fork from here works live against your local model.
Once you're in, try:
No npm registry needed either β ForkMind runs straight from the git link, and the dashboard builds automatically on install:
ForkMind ships a Claude Code plugin (skill + /forkmind command) so Claude knows
when and how to drive it β same install flow as any marketplace plugin:
The plugin bundles:
forkmind skill β Claude reaches for ForkMind whenever you ask it to debug
a prompt, compare models, branch from a past turn, or regression-test a call./forkmind command β start / branch / test / mcp on demand.forkmind-debugger agent β runs model/prompt comparisons in an isolated
context and returns a compact verdict instead of dumping transcripts..forkmind/ history
(recall attempts, trace lineage, self-correct) with zero manual config.The CLI is still what runs the proxy + dashboard; the plugin is the glue that teaches Claude to use it.
Run the full example:
The SDK wrapper is convenience, not a requirement. ForkMind's proxy speaks the
OpenAI-compatible wire protocol, so capture works from any language: set
your client's base URL to http://localhost:4500/v1 and you're recorded. Chain
turns into a tree by passing back the x-forkmind-node-id from the previous
response as the next request's x-forkmind-parent header (the JS wrapper just
automates this).
Go, Ruby, Rust, Java β same deal: base URL + the two headers. The dashboard, branching, MCP, and regression testing all work regardless of source language.
ForkMind ships thin adapters for the two biggest JS LLM ecosystems. Both route through the same proxy, so capture, branching, the dashboard, MCP, and regression all work unchanged β no model-class swap, no callbacks.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/forkmind)<a href="https://allmcps.com/mcp/forkmind"><img src="https://allmcps.com/api/badge/forkmind?style=directory" alt="Forkmind on AllMCPs" /></a>