Usage
Quick start
MCP commands
Start the MCP server in a directory.
Code graph commands
The CLI provides several commands to analyze and navigate code relationships.Index the code in a directory.
Show the status of the index.
Find functions with a given name in the project.Returns a list of file paths containing the function in JSON format.
Analyze a function with a given name in the project.Returns code graph information about the function in JSON format.
License commands
Activate Nuanced with a license key,
Graph Schema
Node Types
Each node in the graph represents a module or function. Nodes are uniquely identified by fully qualified names.Node Attributes
Function nodes in the graph returned by thenuanced analyze-function
command have the following attributes:
Name | Description | Empty if |
---|---|---|
callees | A list of fully qualified function names uniquely identifying functions that are invoked by the function | Function has no callees |
filepath | The relative path to the file where the function is defined | N/A |
start | The starting line:column position of the function definition | N/A |
end | The ending line:column position of the function definition | N/A |
Architecture
Nuanced Typescript code graph builds upon Jelly’s core call graph generation, extending it with a specialized focus on AI tooling integration. In jellycg, our fork of Jelly, we export the functions that allow us to run the analysis and interact with the results to form the Nuanced code graph. We chose Jelly because it provides:- Accurate resolution of function definitions and calls across files
- Full understanding of TypeScript syntax and type annotations
- Reliable handling of imports, exports, and module boundaries
- Support for modern JavaScript/TypeScript features