Graphify Ts
About
Local MCP server and context compiler that turns TypeScript/Node workspaces into compact, verifiable context packs for AI coding agents.
Details
- Author
- mohanagy
- Downloads
- 381
- Categories
- Developer Tools, Knowledge Base, Other
Jump to
- Local-first: no cloud required, your code never leaves your laptop.
- Reduces per-session input tokens by up to 5.28× on measured benchmarks.
- Supports PR review via pr_impact and review-compare tools.
- Works with Claude Code, Cursor, Copilot CLI, Gemini CLI, Aider, Codex CLI, and OpenCode.
- Uses tree-sitter AST for TypeScript/JavaScript with framework-aware passes for 9 substrates.
- Offers MCP tools like retrieve, impact, call_chain, and community_overview.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Graphify TsCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install globally with npm install -g @mohammednagy/graphify-ts. Run graphify-ts generate . to build the knowledge graph, then graphify-ts claude install (or the equivalent command for Cursor, Copilot CLI, Gemini CLI, Aider, Codex CLI, OpenCode) to wire the agent via MCP or a context-pack-first profile. Use graphify-ts pack or graphify-ts prompt to produce a provider-ready prompt without MCP.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"graphify ts": {
"graphify-ts": {
"command": "npx",
"args": [
"-y",
"@mohammednagy/graphify-ts@latest",
"serve",
"graphify-out/graph.json"
],
"env": {
"GRAPHIFY_TOOL_PROFILE": "core"
}
}
}
}
}
McpServers
{
"graphify-ts": {
"command": "npx",
"args": [
"-y",
"@mohammednagy/graphify-ts@latest",
"serve",
"graphify-out/graph.json"
],
"env": {
"GRAPHIFY_TOOL_PROFILE": "core"
}
}
}
graphify-ts
Stop making AI agents re-read your repo. A local context plane and context compiler for Claude Code, Codex CLI, Copilot CLI, Cursor, Windsurf, and Aider — turn your TypeScript/Node workspace and PR diffs into compact, verifiable context packs.
---
Demo
<!-- GitHub auto-embeds the user-attachment video below; npm renders it as a link only.
The shields.io button above is the npm-visible affordance back to the inline player on GitHub. -->
https://github.com/user-attachments/assets/a502185f-fa12-4a8f-80d2-172847f209fd
30 seconds: install → graphify-ts generate . on the GoValidate repo (1,048 files) → graphify-ts claude install --profile core → graphify-ts compare "Explain the auth flow End to End". Anthropic-reported on the same Claude Opus run: 31 → 14 turns (2.21× fewer), 170 s → 107 s (1.58× faster), 2,811,682 → 532,021 input tokens (5.28× fewer). Receipts: docs/benchmarks/2026-05-09-govalidate-auth-e2e/.
---
Quickstart
```bash
npm install -g @mohammednagy/graphify-ts
cd your-project
graphify-ts generate . # builds graphify-out/graph.json (no API key, no cloud)
graphify-ts claude install # wires Claude Code to use it via MCP
graphify-ts doctor # checks graph freshness + agent/MCP wiring
graphify-ts status # compact readiness summary + next commands
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





