Arc — Claude Code MCP server for architecture diagrams
Arc lets an AI agent create, validate, arrange, compare, and export architecture diagrams. Connect it when you want diagram work available through MCP.
MIT ★ 17 updated 2026-10-28
claude mcp add arc -- npx -y @hudsonkit/arc-mcpWhat Arc does
Arc exposes tools for building diagrams, checking them, arranging nodes, and finding structural changes between versions. It can produce SVG, HTML, terminal art, or a typed TypeScript module. PNG output relies on a local Chrome or Chromium binary; animated exports also need ffmpeg.
The server runs over stdio with npx -y @hudsonkit/arc-mcp and requires Node.js 22 or newer. Live-diagram tools open a session and publish complete, validated revisions to its view. In stdio mode, keep the MCP process active and use the view from that same computer.
What it helps with
- author an architecture diagram as code
- validate a diagram and apply a supported fix
- arrange diagram nodes and connectors automatically
- compare two diagram revisions
- export a diagram as SVG, PNG, or HTML
Example prompts for the agent
- Create an architecture diagram for this service and validate it.
- Compare the current diagram with this revision and show the structural changes.
- Export the diagram as PNG using the local Chrome installation.
How to install Arc
Platform CLI
claude mcp add arc -- npx -y @hudsonkit/arc-mcpPlatform CLI
codex mcp add mcp -- npx -y @hudsonkit/arc-mcpConfig file
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@hudsonkit/arc-mcp"
]
}
}
}Config file
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hudsonkit/arc-mcp"
]
}
}
}Platform CLI
gemini mcp add mcp npx -y @hudsonkit/arc-mcpStep 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 Arc
How do I install Arc in Claude Code?
Run claude mcp add arc -- npx -y @hudsonkit/arc-mcp. Node.js 22 or newer is required.
What does Arc do?
Arc gives an MCP client tools to create, validate, arrange, and compare architecture diagrams. It can also export diagrams in several formats.
What is required for PNG and animation exports?
PNG export requires a local Chrome or Chromium installation. Animation export also requires ffmpeg.