K

knitbrain

Local-first MCP brain for coding agents: code retrieval, lossless context compression, persistent per-project memory, and a verify-gated closed loop — for Clau…

Developer Tools
Install Command
npx -y knitbrain
Claude Desktop Config
{
  "mcpServers": {
    "knitbrain": {
      "command": "npx",
      "args": [
        "-y",
        "knitbrain"
      ]
    }
  }
}

knitbrain is a community MCP server that connects AI assistants like Claude to local-first mcp brain for coding agents: code retrieval, lossless context compression, persistent per-project memory, and a verify-gated closed loop — for clau…. It runs locally on your machine, keeping your data private and giving you full control over the connection. Developers can use it to bring AI assistance directly into their build and coding environment.

About knitbrain

Overview

Local-first MCP brain for coding agents: code retrieval, lossless context compression, persistent per-project memory, and a verify-gated closed loop — for Claude Code, Cursor, Copilot, and any MCP client.

Links

Topics

mcp, model-context-protocol, mcp-server, claude, claude-code, cursor, copilot, ai-agents, coding-agent, agent-memory, knowledge-graph, code-search, retrieval, token-optimization, context-engineering, prompt-compression, context-window, developer-tools, local-first, llm

Who Should Use knitbrain?

  • 1Search and retrieve information using natural language
  • 2Speed up coding workflows by letting Claude interact with your dev environment
  • 3Run terminal commands, manage processes, and inspect logs via AI
  • 4Integrate AI assistance directly into your build and CI pipelines

How to Install knitbrain

Before you start

You will need Node.js (v18 or later) installed on your machine — download it from nodejs.org if you haven't already.

  1. 1Open a terminal (Terminal on Mac, Command Prompt or PowerShell on Windows).
  2. 2Paste the install command above and press Enter — Node.js will download and run the server automatically.
  3. 3Add the server to your Claude Desktop config file (see the JSON snippet above) and restart Claude.

The Claude Desktop config snippet above can be copied and pasted directly into your claude_desktop_config.json file — no editing required.

How knitbrain Compares

It runs entirely on your local machine, so no data leaves your environment — important for teams with privacy or compliance requirements.
It is distributed as an npm package, making version management and updates straightforward with a single `npm update` command.

Tags

claudeclaude-codecursorcopilotai-agentscoding-agentagent-memoryknowledge-graphcode-searchretrieval

Reviews