mcp-server-tree-sitter

by wrale
MIT License
33
  • Apple
  • Linux

analyze_complexity

Measure code complexity by analyzing project files and returning detailed complexity metrics using tree-sitter-based code analysis for improved codebase understanding.

Instructions

Analyze code complexity.

Args: project: Project name file_path: Path to the file Returns: Complexity metrics

Input Schema

NameRequiredDescriptionDefault
file_pathYes
projectYes

Input Schema (JSON Schema)

{ "properties": { "file_path": { "title": "File Path", "type": "string" }, "project": { "title": "Project", "type": "string" } }, "required": [ "project", "file_path" ], "title": "analyze_complexityArguments", "type": "object" }
ID: k35mqkr8j9