{"slug": "i-built-codegraphy-v2-1-a-local-context-intelligence-platform-mcp-server-with-an", "title": "I built CodeGraphy v2.1 - a Local Context Intelligence Platform & MCP Server with an interactive architecture graph that cuts LLM token usage by 85%", "summary": "A developer released CodeGraphy v2.1, a local-first context intelligence platform and MCP server that parses a codebase's AST and imports into an interactive dependency graph. The tool ships a built-in STDIO MCP server with 11 tools for Claude Desktop and Cursor, and uses a hybrid context mode that keeps the target file in full while compressing neighboring modules to AST interface skeletons, which the developer says cuts LLM token usage by roughly 85%. It also adds blast-radius impact analysis, a Git diff overlay, and cycle detection via Tarjan's algorithm.", "body_md": "I built it because every time a codebase grows past 20–30 files, AI assistants either burn through token limits in 3 prompts or suffer from \"lost in the middle\" hallucinations.\n\n**What CodeGraphy v2.1 does:**\n\n- \n**⚡ 1-Click Project Analysis & Living Graph:** Point it at a local folder — it parses AST & imports, groups modules cleanly, and builds a Pure Graphite interactive dependency graph.\n- \n**🔌 Built-in MCP Server (STDIO, 11 Tools):** One-click config for Claude Desktop & Cursor (`get_architecture_summary` ,`build_smart_context` ,`analyze_change_impact` ,`get_architecture_diff` ,`search_symbols` ,`run_impacted_tests` ).\n- 🧬 Smart Hybrid Context (~85% Token Budget): Keeps your target file in Full Mode while compressing connected neighbor modules down to AST interface skeletons, with provenance tracking and automatic secret scrubbing.\n- \n**💥 Blast Radius & Git Architecture Diff Overlay:** Visually see 1-hop and 2-hop impact zones before you refactor, overlay uncommitted Git diffs directly on the graph, and detect cyclic dependencies via Tarjan's $O(V+E)$ algorithm.\n\nIt's 100% local-first. I'd your honest feedback, bug reports, or a ⭐ star on GitHub if you find it useful! [click](https://github.com/Vindettobkb/CodeGraphy-Desktop)", "url": "https://wpnews.pro/news/i-built-codegraphy-v2-1-a-local-context-intelligence-platform-mcp-server-with-an", "canonical_source": "https://dev.to/__0dc2d9e0604a8/i-built-codegraphy-v21-a-local-context-intelligence-platform-mcp-server-with-an-interactive-2knp", "published_at": "2026-11-11 22:10:42+00:00", "updated_at": "2026-11-11 22:22:07.064046+00:00", "lang": "en", "topics": ["ai-tools", "ai-agents", "agent-protocols", "developer-tools", "ai-infrastructure"], "entities": ["CodeGraphy", "CodeGraphy v2.1", "Claude Desktop", "Cursor", "GitHub", "Tarjan"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/i-built-codegraphy-v2-1-a-local-context-intelligence-platform-mcp-server-with-an", "markdown": "https://wpnews.pro/news/i-built-codegraphy-v2-1-a-local-context-intelligence-platform-mcp-server-with-an.md", "text": "https://wpnews.pro/news/i-built-codegraphy-v2-1-a-local-context-intelligence-platform-mcp-server-with-an.txt", "jsonld": "https://wpnews.pro/news/i-built-codegraphy-v2-1-a-local-context-intelligence-platform-mcp-server-with-an.jsonld"}}