Skip to main content
Glama

CodeAnalysis MCP Server

by 0xjcf

analyze-repository

Analyze repository code for dependencies, complexity, and specific file patterns. Customize depth and focus areas to optimize insights into code structure and behavior.

Input Schema

NameRequiredDescriptionDefault
depthNoAnalysis depth - higher values analyze more deeply but take longer (1-5)
includeComplexityNoInclude complexity metrics in the results
includeDependenciesNoInclude dependency analysis in the results
repositoryUrlYesURL of the repository to analyze (e.g., 'https://github.com/username/repo')
specificFilesNoSpecific files to analyze, can include glob patterns (e.g., ['src/*.ts', 'lib/utils.js'])

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "depth": { "default": 2, "description": "Analysis depth - higher values analyze more deeply but take longer (1-5)", "type": "number" }, "includeComplexity": { "default": true, "description": "Include complexity metrics in the results", "type": "boolean" }, "includeDependencies": { "default": true, "description": "Include dependency analysis in the results", "type": "boolean" }, "repositoryUrl": { "description": "URL of the repository to analyze (e.g., 'https://github.com/username/repo')", "type": "string" }, "specificFiles": { "description": "Specific files to analyze, can include glob patterns (e.g., ['src/*.ts', 'lib/utils.js'])", "items": { "type": "string" }, "type": "array" } }, "required": [ "repositoryUrl" ], "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/0xjcf/MCP_CodeAnalysis'

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