Maximize Your AI Agent's Context Window
An MCP server that enables AI agents to read, navigate, and edit codebases through compact structural context while preserving source-level names.
From Source Tree to Compact MCP Results
Below is a progressive visual sequence demonstrating how Project Graph compiles structure contexts.
- PHASE 1
Source Tree
Identify code files in your workspace, imports, and dependencies.
- PHASE 2
AST Parser
Parse files to produce structural facts like classes and functions.
- PHASE 3
Compact Skeleton
Create an AI-efficient structure substituting long names with short symbols.
- PHASE 4
Focus Zone
Isolate code changes in your git diff or target focus area.
- PHASE 5
MCP Result
Deliver optimized structured context straight to the AI agent.
Identify code files in your workspace, including imports and dependency relations.
Core Capabilities
AST Skeletons
Compact structural maps provide file profiles and legends for exported symbols.
Compact Mode
Keep source-level names while delivering compact structural context and reversible edits.
Multi-Language Support
Parse JavaScript ASTs through Acorn and use custom adapters for TypeScript, Python, and Go.
Custom Rules Analysis
Run project-specific style and pattern checks selected from package dependencies.