Skip to main content
Glama

Houtini-lm

by houtini-ai

find_pattern_usage

Analyze code across multiple files to identify specific pattern usage with regex support and context analysis for understanding complex code and technical debt assessment.

Instructions

Find usage of specific patterns across multiple files in a project. Supports regex patterns with intelligent context analysis.

WORKFLOW: Perfect for understanding complex code, identifying issues, and technical debt assessment TIP: Use Desktop Commander to read files, then pass content here for analysis SAVES: Claude context for strategic decisions

Input Schema

NameRequiredDescriptionDefault
analysisDepthNoLevel of analysis detaildetailed
analysisTypeNoType of analysis to performcomprehensive
codeNoThe code to analyze (for single-file analysis)
filePathNoPath to single file to analyze
filesNoArray of specific file paths (for multi-file analysis)
includeContextNoNumber of context lines to include (0-10)
languageNoProgramming languagejavascript
maxDepthNoMaximum directory depth for multi-file discovery (1-5)
patternsYesPatterns to search for (regex supported)
projectPathNoAbsolute path to project root directory

Input Schema (JSON Schema)

{ "properties": { "analysisDepth": { "default": "detailed", "description": "Level of analysis detail", "enum": [ "basic", "detailed", "comprehensive" ], "type": "string" }, "analysisType": { "default": "comprehensive", "description": "Type of analysis to perform", "enum": [ "patterns", "security", "comprehensive" ], "type": "string" }, "code": { "description": "The code to analyze (for single-file analysis)", "type": "string" }, "filePath": { "description": "Path to single file to analyze", "type": "string" }, "files": { "description": "Array of specific file paths (for multi-file analysis)", "type": "array" }, "includeContext": { "default": 3, "description": "Number of context lines to include (0-10)", "type": "number" }, "language": { "default": "javascript", "description": "Programming language", "type": "string" }, "maxDepth": { "description": "Maximum directory depth for multi-file discovery (1-5)", "type": "number" }, "patterns": { "description": "Patterns to search for (regex supported)", "type": "array" }, "projectPath": { "description": "Absolute path to project root directory", "type": "string" } }, "required": [ "patterns" ], "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/houtini-ai/lm'

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