Skip to main content
MCP server CX Codex

AWS Diagram — Claude Code MCP server: Python-driven diagrams

AWS Diagram — a server that turns Python code into AWS, sequence, flow, and class diagrams using the diagrams package. Fits when schemas should live in the repo next to the code.

Apache-2.0 ★ 9,939 updated 2026-10-23

Open on GitHub

What AWS Diagram does

AWS Diagram takes Python written in the diagrams DSL and renders it as a picture. Four kinds are supported: AWS infrastructure, sequence, flow, and class. You describe the layout in code, the agent runs it, and the server produces the diagram.

Python plus the diagrams package are required. The server is open source, Apache-2.0, maintained by awslabs in awslabs/mcp alongside other AWS MCP servers. No Python on the machine means no diagrams.

It connects to Claude Code, Codex, Cursor, GitHub Copilot, Windsurf, Cline, Zed, and Gemini CLI. For architecture docs or code review, code-generated schemas replace dragging boxes around.

What it helps with

  • Draw an AWS architecture from Python code
  • Generate a sequence diagram for service interactions
  • Produce a flow diagram without a visual editor
  • Describe classes and relations in a class diagram
  • Version diagrams alongside the project code

Example prompts for the agent

  • Describe the AWS architecture in Python and render the diagram
  • Build a sequence diagram: order, payment, delivery
  • Create a flow diagram for the user signup process

How to install AWS Diagram

Install

The MCP registry has no launch command for it: see the repository README

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about AWS Diagram

What does AWS Diagram do?

It renders four diagram types — AWS, sequence, flow, and class — from Python code written in the diagrams DSL. The schema is code, the server draws it.

What do I need to run AWS Diagram?

Python and the diagrams package. The server is Apache-2.0, source in awslabs/mcp.

Which platforms does AWS Diagram support?

Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, and Gemini CLI.

Similar MCP servers

All MCP servers for Cloud: AWS, Azure, GCP →
aws-architecture-diagram vidanov Generates AWS architecture diagrams as native .drawio files. It writes mxGraphModel XML with official AWS Architecture Icons and can export the result to PNG, SVG, or PDF via the draw.io CLI. CX Codex +1 872installs aws-drawio-architecture-diagrams Giuseppe Trisciuoglio aws-drawio-architecture-diagrams — a Claude Code skill that produces AWS architecture .drawio files using the official aws4 icon library. Describe your infrastructure and the agent writes valid XML ready to open in diagrams.net. CX Codex +1 ★ 372repo stars aws-diagrams Eraser Labs aws-diagrams turns CloudFormation templates, AWS CLI output or a plain description into an AWS architecture diagram. Useful when you need to show infrastructure instead of drawing it by hand. CX Codex +1 1,200installs architecture-diagram Cocoon-AI Generates architecture diagrams for systems, cloud infrastructure, microservices, and network topology as self-contained HTML files with a dark theme. CX Codex +1 2,200installs drawio-diagram-forge yamapan (https://github.com/aktsmm) drawio-diagram-forge builds editable draw.io diagrams from text, images, or Excel. Use it for architecture views, flowcharts, sequence diagrams, and image conversion. CX Codex +1 118installs aws-well-architected-framework-review aws-samples aws-well-architected-framework-review is a Claude Code skill that assesses AWS workloads against the Well-Architected Framework. It examines code and IaC, then reports evidence-backed findings and remediation priorities. CX Codex +1 339installs

From the same set36

The whole set →
Amazon Location Service Connects coding assistants to Amazon Location Service for geocoding, place lookups, and route optimization. Useful when an agent needs real geographic coordinates or road routes. CX Codex +1 ★ 9,939repo stars AWS IoT SiteWise Hooks your coding agent up to AWS IoT SiteWise: industrial assets, models, telemetry, gateways and S3 metadata transfers. CX Codex +1 ★ 9,939repo stars AWS HealthOmics Connects AI assistants to AWS HealthOmics to launch genomic workflows, validate WDL or CWL code, track tasks, and query CloudWatch OpenTelemetry metrics. CX Codex +1 ★ 9,939repo stars AWS Documentation This MCP server lets an agent search, read, and inspect AWS documentation. Use it when AWS service details need to stay close to the coding task. CX Codex +1 ★ 9,939repo stars AWS Data Processing AWS Data Processing connects coding assistants to AWS Glue, Amazon EMR, and Amazon Athena to manage data catalogs, coordinate ETL pipelines, and run SQL queries. CX Codex +1 ★ 9,939repo stars AWS Core AWS Core is an entry point to AWS MCP servers for AI coding tools. Use it when an agent needs AWS context or external tools. CX Codex +1 ★ 9,939repo stars AWS CDK Puts AWS CDK knowledge in front of your coding agent: infrastructure-as-code patterns and CDK Nag security checks. CX Codex +1 ★ 9,939repo stars AWS Bedrock Data Automation AWS Bedrock Data Automation — an MCP server to inspect documents, images, video recordings, and audio files via Amazon Bedrock. CX Codex +1 ★ 9,939repo stars

Project sponsors

Companies that keep this analytics open