
Description
Cartograph is a Claude Code plugin that draws diagrams of a codebase. You run the /visualize command, optionally with a directory to limit the scope. The plugin analyzes modules, imports and relationships, and the skill turns the analysis into Mermaid syntax, which the Mermaid Chart MCP server renders. Seven diagram types are available. Architecture and dependency diagrams use flowcharts, data flow uses sequence diagrams, and workflow shows process steps, pipelines and state machines. Class diagrams show classes, inheritance and composition, call chains show execution paths from entry points, and communities groups architectural clusters using community detection. The codebase-explorer agent performs the analysis, and a single PostToolUse hook triggers diagram generation. The plugin has no separate Python package. Its requirement is the Mermaid Chart MCP server, which the page says is included with Claude Code. The plugin is part of the claude-night-market repository on GitHub, which is public.…
Highlights
- Seven diagram types from one /visualize command
- Architecture and dependency diagrams
- Data flow as sequence diagrams
- Community detection for architectural clusters
- Diagrams rendered with the Mermaid Chart MCP server
Ratings & Reviews
No ratings yet
Be the first to rate cartograph.
People also visit
cartograph FAQ
What does it produce?
Mermaid diagrams of your code: architecture, data flow, dependencies, workflows, classes, call chains and architectural communities.
How do I limit the analysis?
Pass a directory path as the scope, such as plugins/sanctum. Without one it analyzes the current project root.
What do I need to run it?
The Mermaid Chart MCP server, which the page says is included with Claude Code.
How are call chains shown?
As flowcharts of the execution paths that start from entry points in the code.
Is it open source?
It is part of the claude-night-market repository on GitHub, which is public.
What are the best cartograph alternatives?
Popular alternatives to cartograph include diagramming-code, understand-anything-knowledge-graph and pathfinder. See all cartograph alternatives

















