{"slug": "how-to-build-a-local-3d-codebase-knowledge-graph-and-sync-llm-context-offline", "title": "How to Build a Local 3D Codebase Knowledge Graph and Sync LLM Context Offline", "summary": "A developer introduced Graphify Companion, an open-source tool that builds a local 3D codebase knowledge graph and syncs LLM context offline. The tool combines Node.js for MCP Server Transport and Python for AST/graph parsing, enabling AI assistants to understand structural code relationships like function calls and imports. The project is available on GitHub and works with LM Studio's local server.", "body_md": "Introduction: Why context windows are expensive and why static folder indexing fails to capture structural relationships (like function calls or imports).\n\nThe Solution: Introducing Graphify Companion.\n\nHow the Architecture Works: Detail the combination of Node.js for the MCP Server Transport and Python for AST/graph parsing.\n\nStep-by-Step Setup:\n\nCloning the repo([https://github.com/sreekanthap89/Graphify-Companion1](https://github.com/sreekanthap89/Graphify-Companion1)).\n\nRunning install.ps1 to configure Python .venv and Git Hooks.\n\nStarting LM Studio's local server.\n\nCopy-pasting the JSON configuration into LM Studio.\n\nPrompting Guide: Teach readers how to write prompts that force the AI to use graph tools (query_graph vs. read_file).\n\nConclusion & Source: Invite readers to star the GitHub repository.", "url": "https://wpnews.pro/news/how-to-build-a-local-3d-codebase-knowledge-graph-and-sync-llm-context-offline", "canonical_source": "https://dev.to/sreekanthap/how-to-build-a-local-3d-codebase-knowledge-graph-and-sync-llm-context-offline-1cdi", "published_at": "2026-06-16 19:42:09+00:00", "updated_at": "2026-06-16 20:17:28.275972+00:00", "lang": "en", "topics": ["developer-tools", "large-language-models", "artificial-intelligence"], "entities": ["Graphify Companion", "Node.js", "Python", "LM Studio", "GitHub", "MCP Server Transport"], "alternates": {"html": "https://wpnews.pro/news/how-to-build-a-local-3d-codebase-knowledge-graph-and-sync-llm-context-offline", "markdown": "https://wpnews.pro/news/how-to-build-a-local-3d-codebase-knowledge-graph-and-sync-llm-context-offline.md", "text": "https://wpnews.pro/news/how-to-build-a-local-3d-codebase-knowledge-graph-and-sync-llm-context-offline.txt", "jsonld": "https://wpnews.pro/news/how-to-build-a-local-3d-codebase-knowledge-graph-and-sync-llm-context-offline.jsonld"}}