// "Access cached codebase documentation via MCP. Use when searching for project architecture, agent definitions, skill documentation, or deployment procedures. Provides 90% token savings vs. reading files directly."
| name | mcp-documentation-skill |
| description | Access cached codebase documentation via MCP. Use when searching for project architecture, agent definitions, skill documentation, or deployment procedures. Provides 90% token savings vs. reading files directly. |
| tags | ["mcp","documentation","architecture","reference"] |
Purpose: High-speed documentation lookups using the CodebaseDocumentation MCP server, reducing token usage by 90% per request.
When to Use:
Token Savings: 90-95% per request (vs. reading 40KB+ files)
method: search_docs
params: {query: string}
Example: Search for "deployment"
Returns: Matching documentation sections with context
method: get_docs
params: {section: string}
Example: Get CLAUDE.md or agents/m3-migration-architect.md
Returns: Full section content with metadata
method: get_agents
Returns: All 16 agent definitions with descriptions
method: get_skills
Returns: All 21 skill definitions with descriptions
method: index
Returns: Complete documentation index with statistics
Server: CodebaseDocumentation MCP (documentation-server.py) Startup: <500ms | Response: <50ms | 42 files cached
Cached Resources:
Indexing: Full-text search with inverted word index
Without MCP (Token Cost: 5,000):
User: "What's the deployment process?"
Claude reads: CLAUDE.md (40KB, 5,000 tokens)
Claude reads: Deployment scripts (15 files, 3,000 tokens)
Claude responds (2,000 tokens)
Total: 10,000 tokens
With Documentation MCP (Token Cost: 500):
User: "What's the deployment process?"
Claude: Calls search_docs("deployment")
Claude receives: Indexed results (500 tokens)
Claude responds (500 tokens)
Total: 1,000 tokens
Savings: 90% ✅
Works seamlessly with:
mcp-configuration-skill - For automation scriptsmcp-genkit-flows-skill - For flow documentation