# graphpilot-oss/graphpilot [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/graphpilot-oss/graphpilot  
**GitHub Stars:** 17  
**npm Downloads (last month):** 198  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/graphpilot-oss-graphpilot

## Description
Structural memory for coding agents. Indexes TypeScript/JavaScript repos and exposes callers, callees, blast-radius impact, and symbol locations over MCP — with file:line@sha evidence anchors and branch-aware differential impact — so agents answer "who calls X?" / "what breaks if I change X?" without re-reading files. Local-only, zero telemetry, Apache-2.0. npx @graphpilot-oss/graphpilot mcp

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "graphpilot": {
    "command": "npx",
    "args": ["-y","@graphpilot-oss/graphpilot"]
  }
}
```

## Documentation

## What graphpilot-oss/graphpilot does

graphpilot-oss/graphpilot is a local CLI and MCP server for indexing TypeScript and JavaScript repositories. The index represents symbols, call relationships, callers, callees, and potential change impact. Coding agents can query this graph instead of repeatedly searching source files for structural relationships.

The graphpilot-oss/graphpilot MCP server exposes four tools: `gp_recall`, `gp_callers`, `gp_impact`, and `gp_index`. These support retrieving indexed symbols, finding callers, examining affected code, and working with index information. Responses include evidence anchors in the form of file, line, and commit SHA data, allowing an agent or developer to verify where a result came from.

## How it works

Run the CLI's index command against a repository to parse its TypeScript and JavaScript files with tree-sitter. GraphPilot extracts symbols and call edges, then stores the resulting graph under `~/.graphpilot/<repo-id>/graph.json`. The MCP command reads this on-disk graph and serves queries to an MCP-capable coding agent over stdio JSON-RPC.

The index is read-only from the MCP server's perspective, so indexing must happen before the agent can use the graph. The `watch` command keeps the graph updated as files change, with incremental updates intended to take less than 10 milliseconds per save. Separate Git worktrees receive separate indexes by default, and indexing from a subdirectory can re-root to the worktree top.

`gp_impact` accepts a `since` commit or branch reference. This limits impact results to files touched by the relevant branch or change range, which is useful for pull-request or refactor analysis.

## Setup and configuration

GraphPilot requires Node.js 20 or newer and a TypeScript or JavaScript repository. Install the package globally with npm or pnpm, or invoke it with `npx`:

```bash
npm install -g @graphpilot-oss/graphpilot
graphpilot index ~/code/my-app
graphpilot mcp
```

Configure the agent to launch `graphpilot mcp` as an MCP server using the command and `mcp` argument. The README names Claude Code, Cursor, Cline, Windsurf, and Continue as supported clients, with client-specific configuration examples available in the repository.

After the initial index, run `graphpilot watch <path>` if the repository is actively changing. The optional `graphpilot init` command can write routing rules for detected editors, including Cursor, Claude Code, Cline, Windsurf, and Continue.

## Tools and capabilities

The graphpilot-oss/graphpilot MCP server is suited to questions such as who calls a symbol, what a symbol calls, where a symbol is defined, and what could be affected by a change. Its results carry file-and-line evidence plus a SHA anchor. Branch-aware impact queries can narrow analysis to files changed relative to a commit or branch.

The CLI also provides indexing, watch, status, and initialization commands. `status` reports graph refresh information and file, symbol, and edge counts. The graph is local-only, with no telemetry or remote calls described in the README.

## Limitations and notes

GraphPilot is marked alpha and requires Node.js 20 or newer. The MCP process does not build the initial graph, so `graphpilot index` must be run first. Keeping results current during development requires the separate watch process or another indexing run.

The MCP interface reads the stored graph rather than mutating source files. If an agent cannot see the tools, the README recommends checking the MCP configuration with `graphpilot doctor` and restarting the agent.

_Full upstream README: https://allmcps.com/mcp/graphpilot-oss-graphpilot/readme_

