code-atlas-mcp
v0.1.0
Published
MCP server for code visualization with Mermaid diagrams
Maintainers
Readme
code-atlas-mcp
MCP server for code visualization. Generates Mermaid diagrams showing call graphs and control flow for TypeScript, JavaScript, and Python codebases.
Installation
npx code-atlas-mcpOr install globally:
npm install -g code-atlas-mcpUsage with Claude Code
Add to your Claude Code MCP settings:
{
"mcpServers": {
"code-atlas": {
"command": "npx",
"args": ["code-atlas-mcp"]
}
}
}Then ask Claude to analyze your code:
- "Show me the call graph for src/index.ts"
- "What's the control flow of the main function?"
- "Analyze the project structure in ./src"
Available Tools
| Tool | Description |
|------|-------------|
| atlas_discover_files | Find source files matching a pattern |
| atlas_list_functions | List functions in a file with line numbers |
| atlas_analyze_callgraph | Single-file call graph (Mermaid) |
| atlas_analyze_controlflow | Function control flow (Mermaid) |
| atlas_analyze_project | Multi-file call graph (Mermaid) |
Supported Languages
- TypeScript (.ts, .tsx)
- JavaScript (.js, .jsx)
- Python (.py)
Web Viewer
For interactive visualization, use the Code Atlas Viewer. Generate JSON with the CLI and drop it in the viewer.
Related
- Code Atlas Viewer - Interactive web visualization
- Project Page - Full project details
License
MIT
