ForkMind
@Medhovarsh
About ForkMind
π§ Local-first LLM state branching & debugging. Capture, visualize, branch, and regression-test LLM calls as a DAG. Free & local via Ollama, any OpenAI-compatible API, MCP for agents. Zero config.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"forkmind": {
"command": "npx",
"args": [
"-y",
"forkmind",
"mcp"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is ForkMind?
ForkMind is a local-first LLM state branching and debugging tool that treats AI context windows like a Git repository. It captures every LLM call into a local .forkmind/ directory, visualizes the conversation as a Directed Acyclic Graph (DAG), and lets you branch alternative prompts or model parameters from any point in historyβall on your machine with no cloud or account. It works with any OpenAI-compatible API, defaulting to free open-source models via Ollama, and also supports Anthropic and hosted free tiers (Groq, OpenRouter, Together, vLLM, LM Studio).
How to use ForkMind?
Install ForkMind via npm (npx forkmind init, npx forkmind start) or globally (npm install -g forkmind). Quick start: install Ollama, pull a model, run the CLI to start a proxy on http://localhost:4500, then point your code at that proxy. ForkMind provides a drop-in SDK for Node.js (ForkMindOpenAI), adapters for LangChain.js and Vercel AI SDK, and a Claude Code plugin. Any language can capture calls by setting the clientβs base URL to http://localhost:4500/v1 and passing the x-forkmind-upstream and x-forkmind-parent headers.
Key features of ForkMind
- Local-first LLM state branching and debugging.
- Conversation visualized as a Directed Acyclic Graph.
- Branch from any point with alternative prompts or models.
- Compatible with any OpenAI-compatible API or Anthropic.
- MCP server for AI agents to query their own history.
- Plain JSON storage, no database or telemetry.
Use cases of ForkMind
More AI & Agents MCP servers
MCP-LLM Bridge
patruffBridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools
mcp-hfspace MCP Server π€
evalstateMCP Server to Use HuggingFace spaces, easy configuration and Claude Desktop mode.
π GPT Researcher
assafelovicAn autonomous agent that conducts deep research on any data using any LLM providers
Just Prompt - A lightweight MCP server for LLM providers
dislerjust-prompt is an MCP server that provides a unified interface to top LLM providers (OpenAI, Anthropic, Google Gemini, Groq, DeepSeek, and Ollama)
Solon Ai
opensolonJava AI application development framework (supports LLM-tool,skill; RAG; MCP; Agent-ReAct,Team-Agent). Compatible with java8 ~ java25. It can also be embedded in SpringBoot, jFinal, Vert.x, Quarkus, and other frameworks.
Comments