70 MCP Tools
for AI-Powered Code Analysis
Complete toolkit for code discovery, LSP intelligence, and architecture management. Built for Claude Desktop, Cline, and any MCP-compatible AI agent.
Code Discovery
scan
Scan a codebase directory and build the code graph database
{
"path": "/path/to/project",
"config": {
"include": ["src/**/*.rs"],
"exclude": ["tests/", "target/"]
}
}search_functions
Search for functions by name pattern across the codebase
search_classes
Search for classes/types by name pattern
fuzzy_search
Fuzzy search for any code entity with approximate matching
semantic_search
Search code by semantic meaning using vector embeddings
Code Analysis
get_entity_details
Get detailed information about a specific code entity
{
"entity_id": "func:123",
"include_relationships": true
}get_relationships
Get relationships for an entity (calls, inherits, imports)
get_context
Get surrounding context for any code location
analyze
Run code analysis with multiple analyzers
{
"path": "src/main.rs",
"analyzers": ["dead_code", "complexity", "clones", "smells"],
"config": {
"max_complexity": 15,
"min_clone_lines": 5
}
}get_call_graph
Generate a call graph for functions starting from an entry point
get_architectural_patterns
Detect architectural patterns in the codebase
get_code_statistics
Get comprehensive code statistics and metrics
Context Management
add_context_note
Add a structured note to the context graph
{
"file_path": "src/auth.rs",
"note_type": "TODO",
"content": "Refactor authentication to use JWT",
"tags": ["refactor", "auth"]
}get_context_notes
Retrieve context notes for files or the entire project
search_context
Search through context notes and memories
How to Use MCP Tools
MCP tools are invoked through the Model Context Protocol. Here are some common patterns.
Tool Invocation
// Call an MCP tool
const result = await mcpClient.callTool(
"search_functions",
{
pattern: "handle.*request",
language: "rust"
}
);Context Graph
// Add context to remember decisions
await mcpClient.callTool(
"add_context_note",
{
file_path: "src/auth.rs",
note_type: "ADR",
content: "Using JWT for auth..."
}
);Works with Any MCP Client
All 70 tools are available through the Model Context Protocol, compatible with Claude Desktop, Cline, Roo Code, and any other MCP-compatible agent.