Stellarion provides 12 specialized MCP (Model Context Protocol) tools that extend Claude Code with powerful code analysis capabilities. These tools are automatically available when you install Stellarion and work seamlessly with Claude Code's natural language interface.
When you ask Claude Code a question about your code, Stellarion's tools are invoked automatically based on your request. You can also invoke tools directly using the MCP function call syntax:
mcp__stellarion__<tool_name> parameter:value parameter:value
For example:
mcp__stellarion__analyze_quality type:complexity path:src/ threshold:15
Tools for finding code in your codebase using different search strategies.
| Tool | Purpose | Example Command |
|---|---|---|
| search_semantic | AI-powered natural language search | mcp__stellarion__search_semantic query:"error handling logic" |
| search_pattern | Regex-based pattern matching | mcp__stellarion__search_pattern pattern:"TODO|FIXME" path:src/ |
| get_code_element | Extract specific functions or classes | mcp__stellarion__get_code_element name:UserService type:class |
Tools for understanding code structure, quality, and dependencies.
| Tool | Purpose | Example Command |
|---|---|---|
| analyze_structure | Dependency and coupling analysis | mcp__stellarion__analyze_structure type:dependencies path:src/index.ts |
| analyze_quality | Complexity and code health metrics | mcp__stellarion__analyze_quality type:complexity threshold:15 |
| analyze_impact | Change risk assessment | mcp__stellarion__analyze_impact path:src/core/engine.ts |
Tools for managing and understanding your project as a whole.
| Tool | Purpose | Example Command |
|---|---|---|
| index_project | Index codebase for semantic search | mcp__stellarion__index_project forceReindex:true |
| project_info | Project metadata and structure | mcp__stellarion__project_info includeLanguages:true |
Tools for generating comprehensive reports and finding improvement opportunities.
| Tool | Purpose | Example Command |
|---|---|---|
| generate_report | Quality and architecture reports | mcp__stellarion__generate_report reportType:quality outputFormat:markdown |
| find_refactoring | Identify refactoring opportunities | mcp__stellarion__find_refactoring focus:complexity includePriority:true |
Specialized tools for specific use cases.
| Tool | Purpose | Example Command |
|---|---|---|
| extract_endpoints | Extract REST API endpoints | mcp__stellarion__extract_endpoints framework:express outputFormat:openapi |
| batch_analyze | Bulk file analysis | mcp__stellarion__batch_analyze pattern:"src/**/*.ts" operations:["complexity","quality"] |
Simply describe what you want in plain English. Claude Code will select the appropriate tool automatically:
"Find all error handling code in this project"
→ Stellarion uses search_semantic
"What's the complexity of my codebase?"
→ Stellarion uses analyze_quality
"Which files would be affected if I change auth.ts?"
→ Stellarion uses analyze_impact
"Find functions with more than 5 parameters"
→ Stellarion uses find_refactoring with focus:interfaces
When you need precise control over tool parameters:
Use mcp__stellarion__analyze_quality with type:complexity, path:src/services/, threshold:20, groupBySeverity:true
Run mcp__stellarion__find_refactoring with focus:duplication, includeEffort:true, outputFormat:markdown
Tools work together for comprehensive analysis. For example, a complete code quality assessment might use:
project_info - Understand the project structureindex_project - Enable semantic searchanalyze_quality - Measure complexity and find issuesfind_refactoring - Identify improvement opportunitiesgenerate_report - Create documentation of findingsWhen invoking tools directly, use this format:
parameter:value or parameter:"value with spaces"parameter:15parameter:true or parameter:falseparameter:["item1","item2"]Explore individual tool documentation for detailed parameters, examples, and use cases.