Deepest Integration
Claude Code
SourcePrep is purpose-built for Claude Code. Six MCP tools, auto-approve safety, skills integration, and client-aware content delivery.
Why Claude Code + SourcePrep
Claude Code is the most capable AI coding CLI — it reasons, plans, and executes across an entire codebase. But even the best model is limited by what context it can see. SourcePrep gives Claude Code structural codebase intelligence via MCP: the full module graph, import chains, hub files, design decisions, and semantic search. Together, Claude Code doesn't just read files — it understands architecture.
Structural Awareness
Claude sees the full dependency graph, hub files, and import chains — not just flat file contents.
Agent-Native
SourcePrep is designed for autonomous agentic loops — low noise, high signal, source-cited.
Zero Ramp-Up
Call prep once at the start of any task. Structural context lands in seconds.
Six Tools at a Glance
SourcePrep registers six MCP tools with Claude Code. Each is read-only and purpose-built for a specific type of codebase intelligence.
Ambient structural context, no query needed
Semantic search with intent classification (7 intents auto-detected)
Blast radius analysis before changes
Enrich linter findings with structural context
Persistent cross-session memory
Business rationale and design decisions
Auto-Approve & Skills
All six SourcePrep tools are read-only and completely safe to auto-approve. No writes, no side effects, no shell commands. SourcePrep generates the auto-approve config and a skills file for your project automatically — so Claude Code can call SourcePrep without a permission prompt on every invocation.
SourcePrep also generates a .claude/skills/ file that tells Claude Code when and how to call each tool — reducing friction and ensuring tools are used at the right moment in agentic workflows.
AGENTS.md Generation
SourcePrep auto-generates an AGENTS.md file at the root of your project. This file is the bridge between static project knowledge and live queryable intelligence — it tells Claude Code about the MCP tools available, provides a codebase atlas, lists hub files and entry points, and maps the full module structure.
The file is regenerated whenever SourcePrep rebuilds the index. User additions outside the managed block are preserved across regenerations.
Client-Aware Delivery
SourcePrep detects it's talking to Claude Code and tailors content delivery accordingly. Claude Code gets compact, high-density responses optimized for its context window — not the verbose output suited for a human-facing dashboard. Token budgets, response format, and tool instructions are all tuned per-client automatically.
Claude Code
- Compact response format
- Optimized token budgets
- Claude-specific tool instructions
- Skills + auto-approve config generated
Other Clients
- Codex: AGENTS.md-shaped output, mcpServers config
- Cursor: role-based atlas projection
- Windsurf: verbose structural context
- Generic MCP: standard response
