
UML Forge
io.github.dave1362Published by GitHub account dave1362v0.4.0Updated Oct 28, 2026
Architecture intelligence, security analysis, and living docs. 15 tools, Mermaid output.
Overview
UML Forge gives a coding agent 15 tools to generate UML and architecture diagrams, threat models and living docs from code, schemas or descriptions.
- What you can do
- Suggest the right diagram tool from a plain-English goal and return a ready-to-run call
- Generate class, sequence and state diagrams by reverse-engineering a codebase or GitHub URL
- Produce ERDs from domain descriptions or SQL schemas, plus state machines from business rules
- Draw frontend component, deployment and CI/CD, event-driven and AI agent topology diagrams
- Create STRIDE threat models, C4 stakeholder context diagrams, onboarding packages and legacy migration roadmaps
- Update existing diagrams for sprint or PR changes, optionally with a written analysis report, and fetch results of long-running jobs
- When to use it
- Useful when you want architecture and design diagrams produced from an existing repository, database schema or written description without drawing them by hand, or when you need security threat models, stakeholder-facing context diagrams or migration plans for legacy systems.
- Requirements
- Runs locally as a Python package (Python 3.11+) launched via uvx. Requires a UML Forge API key supplied in the UMLFORGE_API_KEY environment variable; a free tier is available. Network access to the UML Forge service is implied. UMLFORGE_WAIT_SECONDS can optionally adjust the wait time.
Installation
In SourceWeft
- Open UML Forge in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
UML Forge MCP Connector
Architecture intelligence, security analysis, and living documentation — inside your coding agent.
UML Forge gives Claude Code, Cursor, Windsurf, and any
MCP-compatible coding agent a suite of 15 tools (14 diagram tools plus umlforge_get_result) for producing
professional UML diagrams from your codebase, schema, or architecture
descriptions.
Quick start
Claude Code:
Cursor / Windsurf — add the same block to your MCP settings.
Get your API key at umlforge.dev.
Tools included
All diagram tools accept report_mode=True to generate a written analysis report
alongside the diagram. Leave report_mode unset to follow your account's saved
preference (the dashboard toggle); report_mode=False forces diagrams only.
Long-running generations
A detailed diagram can take a minute or two, and some MCP clients cancel any tool
call after about 60 seconds. UML Forge tools therefore wait up to 45 seconds for the
result. If a diagram is still generating, the tool replies with a job id and
umlforge_get_result retrieves it when it is ready (results are kept for one hour).
Clients with longer timeouts can wait longer by setting UMLFORGE_WAIT_SECONDS
(5-200) in the env block of your MCP configuration.
Requirements
- Python 3.11+
- An API key from umlforge.dev (free tier available)
License
MIT — see LICENSE.
Source: README.md at commit fbb4675
Tools
0Version history
3- v0.4.0LatestOct 17, 2026
- v0.3.0Oct 16, 2026
- v0.2.2Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts