Skip to main content
Glama

CodeCompass MCP

MIT License
1
  • Linux
  • Apple

explain_code

Generates human-readable code explanations, tutorials, and architectural insights from GitHub repositories, tailored to specific files and audience expertise levels.

Instructions

📚 AI-powered code explanation generating human-readable documentation, tutorials, and architectural insights. Transforms technical analysis into accessible explanations.

Input Schema

NameRequiredDescriptionDefault
explanation_typeNoType of explanation to generateoverview
file_pathsNoSpecific files to explain (optional - explains key files if not specified)
optionsNo
urlYesGitHub repository URL

Input Schema (JSON Schema)

{ "properties": { "explanation_type": { "default": "overview", "description": "Type of explanation to generate", "enum": [ "overview", "detailed", "architecture", "tutorial", "integration" ], "type": "string" }, "file_paths": { "description": "Specific files to explain (optional - explains key files if not specified)", "items": { "type": "string" }, "type": "array" }, "options": { "properties": { "ai_model": { "default": "auto", "description": "AI model to use for explanation (OpenRouter models). Use \"auto\" for intelligent model selection", "type": "string" }, "focus_on_patterns": { "default": true, "description": "Focus on design patterns and architecture", "type": "boolean" }, "include_diagrams": { "default": true, "description": "Include ASCII diagrams where helpful", "type": "boolean" }, "include_examples": { "default": true, "description": "Include code examples in explanations", "type": "boolean" }, "target_audience": { "default": "intermediate", "description": "Target audience for explanation", "enum": [ "beginner", "intermediate", "advanced" ], "type": "string" } }, "type": "object" }, "url": { "description": "GitHub repository URL", "type": "string" } }, "required": [ "url" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TheAlchemist6/codecompass-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server