MCP ServerTools
Analyze
Analyze a repository and build its knowledge graph
The noodlbox_analyze tool indexes a repository, extracting code entities, relationships, and building a queryable knowledge graph.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | Yes | - | Absolute path to the repository |
force | boolean | No | false | Re-analyze even if already analyzed |
include_docs | boolean | No | true | Include markdown documentation analysis |
Usage
Analyze the repository at /path/to/my-projectThe agent will call noodlbox_analyze with the path.
When to Use
- First-time setup: Index a new repository before querying
- After major changes: Re-analyze with
force: trueafter significant refactoring - Adding documentation: Enable
include_docsto link markdown files to code symbols
What Gets Analyzed
The analysis extracts:
| Entity | Description |
|---|---|
| Symbols | Functions, classes, methods, variables |
| Files | Source files with metadata |
| Relationships | Calls, imports, contains, inherits |
| Communities | Auto-detected clusters of related code |
| Processes | Execution flows through your application |
| Documents | Markdown files linked to code symbols (if include_docs: true) |
Example
Use noodlbox_analyze to index /Users/me/projects/my-app with documentation includedResponse:
Analysis complete for owner/my-app:
- 1,247 symbols extracted
- 3,892 relationships discovered
- 42 communities detected
- 156 processes identified
- 23 documents linkedRelated
- Delete - Remove analyzed repositories
- Context Search - Search the knowledge graph
- CLI Reference - CLI equivalent