Create Architecture Diagrams
Generate system architecture diagrams showing components, services, databases, and their connections.
Render Mermaid, PlantUML & more
Render diagrams from text source code in Mermaid, PlantUML, Graphviz DOT, D2, C4-PlantUML, ERD, DBML, and more. Returns SVG or PNG plus a permanent URL for embedding. Great for architecture, flowcharts, and sequence diagrams.
Render a diagram from text source code. Accepts Mermaid, PlantUML, Graphviz DOT, D2, C4-PlantUML, ERD, DBML, and more. Returns a rendered image file plus a permanent URL for embedding.
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
-d '{
"tool": "diagram-generator",
"skill": "generate_diagram",
"input": {
"source": "graph TD\n A[Push Code] --> B[Run Tests]\n B --> C{Tests Pass?}\n C -->|Yes| D[Deploy to Staging]\n C -->|No| E[Fix & Retry]\n D --> F[Deploy to Production]",
"type": "mermaid"
}
}' \
https://api.toolrouter.com/v1/tools/callclaude mcp add --transport stdio \
--env TOOLROUTER_API_KEY=YOUR_API_KEY \
toolrouter -- npx -y toolrouter-mcpcurl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
-d '{"tool":"diagram-generator","skill":"generate_diagram","input":{}}' \
https://api.toolrouter.com/v1/tools/callGenerate system architecture diagrams showing components, services, databases, and their connections.
Create flowcharts that visualize processes, decision trees, and workflows with clear branching logic.
Find relevant academic papers on any research topic across millions of scholarly publications.
Convert street addresses into precise latitude and longitude coordinates for mapping and spatial analysis.
`generate_diagram` supports Mermaid, PlantUML, Graphviz DOT, D2, C4-PlantUML, ERD, DBML, and similar text-based diagram formats.
You get a rendered SVG or PNG plus a permanent shareable URL, so the diagram can be embedded or downloaded after it is generated.
Pass the source code and the format type, and use `mermaid` if you want the default. SVG is the default output format for scalable diagrams.
Yes. It is built for architecture diagrams, flowcharts, sequence diagrams, and other structured visuals where text source is easier to version than pixels.