Synapse

•
7
•

Transforms codebases into a persistent, on-device AST knowledge graph to enhance AI coding agents with deep, structured understanding.

Synapse is a free, 100% local MCP server that acts as a structural brain for AI coding agents. It converts your entire codebase into a persistent, on-device Abstract Syntax Tree (AST) knowledge graph, enabling agents like Claude, Cursor, and Copilot to perform with senior engineer-level understanding. By providing exact caller trees, semantic search, and zero-hallucination refactoring, Synapse drastically reduces token spend and exploration time, allowing AI agents to act directly and efficiently. It ensures privacy by keeping all code and data on your local machine, with zero cloud dependencies or data egress.

主要功能

01100% Local & Private: The knowledge graph is built and stored entirely on your machine, ensuring zero data egress.
02Sub-millisecond Graph Queries: Instant responses from the local in-memory store eliminate network latency for agent requests.
03Safe Atomic Writes: Simulate edits in memory, map blast radius, write atomically, and auto-rollback on lint failure to prevent broken files.
04SmartCrusher Compression: Automatically minifies responses by 30-60% through short keys, stripped nulls, and relativized paths, reducing token cost.
050 GitHub stars
06Transitive Caller Graph: Understand the full blast radius of any function with direct and transitive caller analysis, configurable depth, and confidence scores.

使用案例

01Accelerating AI coding assistants with deep, structured codebase understanding to reduce token usage and improve accuracy.
02Ensuring privacy and security for sensitive or proprietary code by keeping all code intelligence operations strictly local.
03Automating advanced development tasks such as code review impact analysis, crash resolution, and refactoring with graph-based insights.