Skip to main content
Glama

CodeAnalysis MCP Server

by 0xjcf

analyze-metrics

Analyze code metrics by specifying a repository path, enabling file-level or function-level insights with the CodeAnalysis MCP Server.

Input Schema

NameRequiredDescriptionDefault
includeFilesNoInclude file-level metrics in the output
includeFunctionsNoInclude function-level metrics in the output
repositoryPathYesPath to the repository to analyze

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "includeFiles": { "default": true, "description": "Include file-level metrics in the output", "type": "boolean" }, "includeFunctions": { "default": false, "description": "Include function-level metrics in the output", "type": "boolean" }, "repositoryPath": { "description": "Path to the repository to analyze", "type": "string" } }, "required": [ "repositoryPath" ], "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