Skip to main content

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:

{
  "mcpServers": {
    "umlforge": {
      "command": "uvx",
      "args": ["umlforge"],
      "env": { "UMLFORGE_API_KEY": "your-api-key" }
    }
  }
}

Cursor / Windsurf — add the same block to your MCP settings.

Get your API key at umlforge.dev.

Tools included

Tool Description
umlforge_suggest Start here. Describe your goal in plain English — returns the right tool and a ready-to-run call
umlforge_reverse_engineer Class, sequence, and state diagrams from a codebase or GitHub URL
umlforge_api_sequence Sequence diagrams for request flows across services
umlforge_erd_schema Entity-relationship diagrams from domain descriptions or SQL schemas
umlforge_state_machine State diagrams from entity lifecycles and business rules
umlforge_frontend_components Component hierarchy and interaction diagrams for UI features
umlforge_deployment Infrastructure and CI/CD pipeline diagrams
umlforge_threat_model STRIDE threat model + attack surface diagram
umlforge_event_driven Event flow and pub/sub architecture diagrams
umlforge_ai_agent Agent topology and tool-call flow diagrams for LLM pipelines
umlforge_stakeholder_arch C4 context diagrams for investors, CTOs, and non-technical stakeholders
umlforge_living_docs Update existing diagrams to reflect sprint or PR changes
umlforge_onboarding Day-one knowledge-transfer package for new team members
umlforge_legacy_migration Legacy structure + modern architecture diagrams and 6-phase migration roadmap from COBOL, Fortran, ABAP, RPG, and other legacy languages
umlforge_get_result Retrieve a generation that was still running (see Long-running generations)

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.

Metadata

Release files for umlforge 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for umlforge 0.4.0
File Size Uploaded Provenance Actions
umlforge-0.4.0.tar.gz 736.2 kB Without provenance Details for umlforge-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for umlforge 0.4.0
File Interpreter ABI Platform Actions
umlforge-0.4.0-py3-none-any.whl Python 3 none any Details for umlforge-0.4.0-py3-none-any.whl

Total release size: 762.4 kB

Release files / umlforge-0.4.0.tar.gz

Download URL umlforge-0.4.0.tar.gz
Size 736.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a3daa6ba8df53691aa2892484f5cc99fcc068e15a97ee6ea5f7b07c005d92bba
BLAKE2b-256 checksum
How to use checksums
5a8692761cfeb28c062e3f4abef307b64bda46e7788dd6d2db709d1de3c9066e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Release files / umlforge-0.4.0-py3-none-any.whl

Download URL umlforge-0.4.0-py3-none-any.whl
Size 26.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
451c00de112a0b1750382325ac6c6bb13699eb1008e1c45caea205083440177d
BLAKE2b-256 checksum
How to use checksums
761b46998e6caf111a839d23a80eb5c34e532eb1ed6150bf307aabf72c4747b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Security for umlforge 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page