SynapseCode — AI skill for Claude Code
Ultra-fast Code Graph & AST Pruning MCP Server for LLMs.
How to install SynapseCode
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open nosleepman1/SynapseCode and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What SynapseCode does
Ultra-fast Code Graph & AST Pruning MCP Server for LLMs. Reduces context token consumption by 75%-90% in Claude, Cursor & AI Coding Agents.
Alternatives in AI
- Jcodemunch MCP — Cut AI token costs 95%+ on code exploration 2.6k ★
- Nocturne Memory — A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents 1.3k ★
- Empryo — Empryo issue tracker + SoulForge (v2) 1.1k ★
README
SynapseCode
**High-Performance AST Code Graph & Context Optimization Engine for Large Language Models**
SynapseCode reduces context token consumption by 75% to 90% when interacting with LLMs such as Claude 3.5 Sonnet, GPT-4, and autonomous coding agents via the Model Context Protocol (MCP).

[](https://golang.org) [](https://modelcontextprotocol.io) [](LICENSE) [](https://github.com/nosleepman1/SynapseCode/actions)
1. Problem Statement
When using AI code assistants, injecting full raw source files or dumping repository trees consumes tens to hundreds of thousands of tokens per prompt.
This creates three critical engineering bottlenecks:
- Financial Cost: High token consumption multiplies API usage bills.
- Latency: Time-to-first-token (TTFT) degrades significantly with large prompt payloads.
- Context Degradation: Unnecessary implementation details dilute the attention of the model, increasing hallucination rates (Lost in the Middle phenomenon).
2. Technical Solution
SynapseCode continuously analyzes your codebase into an in-memory directed dependency graph:
- AST Extraction: Extracts symbol declarations, types, interfaces, and signatures without full function bodies.
- Multi-Edge Dependency Graph: Maps relations including
CALLS,IMPORTS,DEFINES,IMPLEMENTS, andEXTENDS. - Personalized PageRank (PPR): Calculates centrality and relevance scores seeded by user task terms.
- Knapsack Token Budgeting: Selects target implementations and direct 1-hop dependency skeletons under a strict token budget (e.g.,
Related Skills
CodeContext OS
Task-aware code intelligence for Claude Code and AI coding agents — combining AST structure, hybrid BM25 + FAI
Context Engineering MCP
Context Engineering is a MCP server that gives AI agents perfect understanding of your codebase. Eliminates co
Rustygrep
Fast grep with token-compressed, AI-native output for LLM coding agents. --llm cuts context-window tokens 60-9
Fast File Search
Ultra-fast file search toolkit for AI agents, Neovim, and code editors. MCP server for Claude Code/Cursor/Code
Micro Actinf
⚡ Ultra-fast O(1) Active Inference & Bayesian Cognitive Governor for AI Agents (Antigravity, Claude, Cursor) &
Laya Fast Router
A lightweight decision routing model designed to replace slow, expensive LLMs for simple classification and co
Related Agents
Engineering Rapid Prototyper
Specialized in ultra-fast proof-of-concept development and MVP creation using efficient tools and frameworks
Generated Artifact Determinism Reviewer
Use this agent when a PR touches generated artifacts (/llms.txt, /llms-full.txt, /generated-schemas.ts, infras
Wlroots Expert
wlroots C API expert — scene graph, listener wiring, surface lifecycle, seat/cursor invariants, xdg-shell + xw