MCP server for depth-packed codebase context

A developer has created an MCP server that packs codebase context at 5 depth levels within a token budget. The tool addresses a specific problem: when Claude Code or other AI coding agents ask questions like "how does auth work?", they typically either load 3 files fully (missing the big picture) or get a flat repository map without actual content.
How it works
The server sits between these extremes, packing 40+ files at graded depth levels. The most relevant files are included at full content, while peripheral files are represented as just paths. This approach provides both breadth and depth within token constraints.
Three search modes
- Keyword mode: Free text search
- Semantic mode: Uses embeddings (~$0.0001 per query)
- Graph mode: Follows import relationships
These modes can be composed together for more sophisticated searches.
Technical implementation
The server uses AST parsing via tree-sitter and supports 14 programming languages. It provides several MCP tools:
packindex_workspaceindex_github_repobuild_embeddingsresolvestats
The tool is available on GitHub at https://github.com/victorgjn/agent-skills. The developer notes they haven't published the skill on skills.sh yet but plan to do so soon.
📖 Read the full source: r/ClaudeAI
👀 See Also

molequla: Continual Learning AI Organism Built from Scratch with ClaudeCode
molequla is a continual learning AI organism implemented from scratch in Go, C, JavaScript, and Rust with a Python orchestrator. Each element is a full transformer implementation with vector autograd, trained on raw text, that grows and develops a personality over time.

Claude-Powered MCP Tool Generates Interactive HTML Components Without Build Tools
A developer built daub.dev, a system where Claude drives an MCP server to produce styled, interactive HTML UI components from natural language descriptions without React, bundlers, or build pipelines.

NervMap: Single Command Server Service Discovery and Diagnostics Tool
NervMap is a Linux tool that discovers Docker containers, systemd services, and bare processes in under 1 second, maps dependencies between them, and diagnoses issues with severity analysis and fix suggestions.

PRECC Tool Cuts Claude Code API Costs with Pre-Tool-Call Compression
A developer built PRECC, an open source tool that intercepts Claude Code tool calls and compresses payloads using RTK (Redundancy-aware Token Kompression), reducing input tokens by 40-66% with no perceptible latency impact.