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

GrapeRoot is a local MCP context tool for developers using AI coding assistants on projects that require repeated file exploration. It selects relevant code before each prompt reaches the assistant and remembers earlier work.
- Codebase relationships. A graph connects files, symbols, imports and call chains so context selection can follow relationships across the project.
- Automatic context. Relevant code enters each prompt before the assistant responds, with per-turn limits on how much context it receives.
- Session memory. The tool tracks files read, edited or queried and stores decisions, tasks and facts across sessions.
- Further inspection. Graph-aware MCP tools let the assistant examine related code when the supplied context isn't enough.
GrapeRoot runs on macOS, Linux and Windows. It supports Claude Code, OpenAI Codex CLI, Cursor, Gemini CLI, GitHub Copilot and OpenCode, among other assistants, and works in editors with a terminal.
Codebase processing and graph storage run locally. Selected code becomes part of the chosen assistant's prompt, so that assistant's connection and data handling still matter. Anonymous crash reporting is on by default and can be disabled; reports exclude code, file paths, project names and prompts. The launcher scripts are open source under Apache 2.0, while the graph engine is proprietary.