Skip to main content
Glama

CodeCompass MCP

MIT License
1
  • Linux
  • Apple

analyze_codebase

Analyze GitHub repositories to evaluate code structure, architecture, complexity, and design patterns. Gain insights into organization, quality metrics, and reusable components for informed development decisions.

Instructions

🔬 Comprehensive codebase analysis combining structure, architecture, and metrics. Provides unified view of code organization, design patterns, complexity, and quality indicators.

Input Schema

NameRequiredDescriptionDefault
analysis_typesNoTypes of analysis to perform
file_pathsNoSpecific files to analyze (optional - analyzes all code files if not specified)
optionsNo
urlYesGitHub repository URL

Input Schema (JSON Schema)

{ "properties": { "analysis_types": { "default": [ "structure", "architecture", "metrics" ], "description": "Types of analysis to perform", "items": { "enum": [ "structure", "architecture", "metrics", "patterns", "complexity" ], "type": "string" }, "type": "array" }, "file_paths": { "description": "Specific files to analyze (optional - analyzes all code files if not specified)", "items": { "type": "string" }, "type": "array" }, "options": { "properties": { "confidence_threshold": { "default": 0.7, "description": "Minimum confidence score for pattern detection", "type": "number" }, "include_classes": { "default": true, "description": "Include class analysis", "type": "boolean" }, "include_complexity": { "default": true, "description": "Include complexity metrics", "type": "boolean" }, "include_components": { "default": false, "description": "Include reusable component identification", "type": "boolean" }, "include_functions": { "default": true, "description": "Include function analysis", "type": "boolean" }, "include_imports": { "default": true, "description": "Include import/dependency analysis", "type": "boolean" }, "include_patterns": { "default": true, "description": "Include design pattern detection", "type": "boolean" }, "languages": { "description": "Programming languages to analyze", "items": { "type": "string" }, "type": "array" } }, "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