Favicon of GrapeRoot

GrapeRoot

A local MCP tool that supplies codebase context to Claude Code, Codex and Cursor on macOS, Linux and Windows, with session memory.

Screenshot of GrapeRoot website

GrapeRoot is a local MCP tool for developers who want their AI coding assistant to understand a project's structure without repeatedly searching through files. It builds a graph of the codebase and supplies relevant code before each prompt reaches the assistant. It runs on macOS, Linux and Windows.

The graph connects files and symbols with imports and call chains, so context selection can follow relationships in the code rather than rely only on text matches. GrapeRoot remembers which files the assistant has read, edited or queried and uses that history to select context for later turns. It also stores decisions, tasks and facts across sessions. Per-turn context limits help control how much code enters a prompt, while graph-aware MCP tools let the assistant inspect related code when it needs more detail.

It works with Claude Code, OpenAI Codex CLI, Cursor, Gemini CLI, GitHub Copilot and OpenCode, among other assistants. Its main distinction is automatic context delivery before each turn, paired with memory of earlier work. That approach targets repeated file exploration and the tokens it consumes, particularly during work that spans several parts of a project.

GrapeRoot processes the codebase and stores its graph locally. The launcher scripts are open source under Apache 2.0; the graph engine is proprietary.

Similar to GrapeRoot