Diagram an existing codebase or system
No company's docs show a full fit yet. The listings below do the job with a limit, or not at all.
What counts as done
An architecture, flow or sequence diagram whose every box maps to a named file, service or resource in the source and whose every edge to a call or dependency there, with nothing invented, as editable source plus an image.
How agents ask for it: diagram how this service works
, draw the architecture of this repo
, show the request flow from this code
, diagram what this Helm chart deploys
Does the job, with a limit 14
It does the job, but something in the docs or a user's account will get in an agent's way. The limit is named in each row.
| Listing | Why |
|---|---|
| AI Diagram Maker MCP E AI Diagram Maker (Rajasekar Elango) | Code or JSON can be passed as content and the service draws an architecture diagram, but by AI from the text sent, so boxes aren't guaranteed to map to real files, and credits run out quickly (acc-25). source |
| Cloudviz API F SIA Cloudviz Solutions | GET /aws/accounts/{id}/{region}/{format} syncs a live AWS region and returns SVG, PNG, PDF, draw.io or JSON, with every box drawn from real resources. AWS only, one region per call, 202 while large accounts finish, and API needs the Team plan. source |
| D2 B The Hack Foundation (Hack Club), fiscal sponsor of the D2 project | acc-07 had an LLM one-shot good D2 from a Helm chart and acc-08 uses it for SQL tables. Icons are any URL, with a free set at icons.d2lang.com but no search tool, and fetched at render time. source |
| Diagrams.so API + MCP B RedHold LLC | The vendor describes turning Terraform into diagrams, but the tools take a prompt and generate by AI, so mapping every box to a real resource depends on the prompt; draw.io XML on paid only. source |
| draw.io + MCP B draw.io Ltd | The agent reads the code; draw.io supplies exact shapes, ELK layout and an editable file, and acc-01 found Claude's code-to-process diagrams work well in draw.io. Images still need draw.io Desktop. source |
| Eraser API + MCP F Eraser Labs, Inc. | Architecture syntax with cloud icons on any node, and cloud diagrams can be drawn from a scanned AWS or GCP data source in the app. The data-source route is in-app AI chat, not an MCP tool, and REST needs a paid plan. source |
| ExcaliClaw D ExcaliClaw | create_architecture_from_files reads docker-compose, wrangler and package.json files and returns the evidence for every piece and what it didn't infer. Other infrastructure files and languages aren't covered, and the icon set is three built-in sketches plus the user's library. source |
| Excalidraw C Excalidraw s.r.o. | create_diagram takes semantic nodes and edges laid out by the server, and acc-14 has Claude Code write Excalidraw files directly. No provider icon library; images come only by URL or upload. source |
| Kroki C Yuzu tech, a French software firm. No registered legal form found | Renders whatever text the agent writes from the code (PlantUML, D2, Structurizr and others), giving source plus image, but has no icon search; icons come only from each format's own libraries. source |
| Lucid API + MCP B Lucid Software Inc. | The agent writes Mermaid or Standard Import JSON from what it read and gets an editable document plus export. No icon search was found in the REST reference. source |
| Mermaid Chart MCP F Mermaid Chart Inc. | acc-10 finds Claude Code and Cursor diagram a repo's logic flow consistently well in Mermaid; the server renders and stores it. No icon library or search is documented. source |
| PlantUML B No legal entity found. Copyright Arnaud Roques | The agent writes sequence, component or deployment diagrams from code, with stdlib sprites for AWS and Azure via !include. No icon search; sprite names come from the stdlib pages. source |
| Structurizr + MCP B Structurizr Limited | The agent models containers and components from the code in DSL, and validate and inspect check it, with images through export. Icons and layout depend on themes and the renderer; the tools don't read code themselves. source |
| Whimsical MCP D Whimsical, Inc. | The agent can draw architecture diagrams and flowcharts from what it read, kept editable, with PNG through fetch. No provider icon library is documented, and source isn't kept as text. source |
Doesn't do this job 3
Listings in the category that do something else, with the reason.
| Listing | Why |
|---|---|
| Mumble F ours tiny space | Not aimed at code: inputs are transcripts and spoken or typed changes, with no repository or infrastructure reading. source |
| Mural MCP F Tactivos, Inc. (d/b/a Mural) | Not aimed at diagramming code; the page describes research synthesis and workshop boards. source |
| tldraw SDK + MCP C tldraw, Inc. | Not aimed at this: no text source or icon library, and drawing goes through editor JavaScript in a host widget. source |
What stops agents finishing
- diagram looks plausible but misses the system's real structure
- cloud icons need a search tool the setup lacks
Around it
Before: code.read-repo, cloud.list-resources. After: docs.write, diagramming.revise-diagram.
Where this comes from
Weight 17 of 100 in Diagramming: 8 of 37 accounts; the job behind most 'Claude drew my architecture' comments, and the one where acc-13 says accuracy fails
The same as data: /api/v1/use-cases/diagramming.code-to-diagram.json, or the MCP tool get_use_case with id diagramming.code-to-diagram. Other jobs in this category: /api/v1/niches?category=diagramming.
For companies
Do agents find, use and choose your tools?
An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.