RPG-Encoder — semantic code graph for AI-assisted code understanding
npm install rpg-encoderCoding agent toolkit for semantic code understanding.
Builds a semantic graph of your codebase. Your coding agent (Claude Code, Cursor, etc.)
analyzes the code and adds intent-level features. Search by what code does, not what it's named.
Add to your MCP config:
``json`
{
"mcpServers": {
"rpg": {
"command": "npx",
"args": ["-y", "-p", "rpg-encoder", "rpg-mcp-server", "/path/to/your/project"]
}
}
}
`bash`
npx -p rpg-encoder rpg-encoder build # Build the graph
npx -p rpg-encoder rpg-encoder search "parse config"
npx -p rpg-encoder rpg-encoder info
Or install globally:
`bash``
npm install -g rpg-encoder
rpg-encoder build
rpg-mcp-server /path/to/project
Full docs at github.com/userFRM/rpg-encoder.