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

Anthropic Open-Sources Claude for Legal: Plugin Suite for Contract Review, NDA Triage, and More
Anthropic released Claude for Legal, a repo of plugins, agents, and MCP connectors for legal workflows including vendor agreement review, NDA triage, and regulatory monitoring.

claude-real-video: Free Tool to Make Claude Watch Videos with Perception Layer
claude-real-video adds a local perception layer so Claude sees camera moves, pacing, gestures, and voice emotion. Demo watches NVIDIA GTC 2026 keynote and narrates screen action. Free version available.

Claude Code Hook Monitors WIP Accumulation in AI Coding Workflows
A developer built a UserPromptSubmit hook for Claude Code that surfaces work-in-progress accumulation across four queues: uncommitted changes over 200 lines, three or more unpushed commits, pushed commits without changeset files, and release PRs open longer than 24 hours.

Fable 5 in Claude Code: Day One Cost Analysis — $210 API-equivalent, $0 Paid
A developer switched to claude-fable-5 in Claude Code and measured token usage across 742 replies. API-equivalent cost: $210.15. Actual paid: $0 during the plan window until June 22.