sysdesign
Enables Claude to design system architectures and scaffold minimal Python/Docker implementations, with live D3 visualization in the browser.
README
MCP System Design — live architecture + scaffolding
A web app you drive through Claude over MCP. Prompt Claude to design a system → the browser draws the architecture live (interactive D3 nodes & edges). Say "develop" → Claude scaffolds a minimal Python + Docker MVP into a folder.
┌─────────┐ MCP (stdio) ┌───────────────────────┐ SSE ┌─────────┐
│ Claude │ ───────────────▶ │ server.py │ ───────▶ │ Browser │
│ (client)│ visualize_... │ MCP tools + FastAPI │ /events │ D3 UI │
└─────────┘ scaffold_... │ + shared state │ └─────────┘
└───────────────────────┘
│ writes
▼
generated/<project>/ (FastAPI services + Docker)
What's inside
| File | Role |
|---|---|
server.py |
MCP server (stdio) + embedded FastAPI web server + SSE endpoint |
scaffolder.py |
Turns a design into FastAPI services + Dockerfiles + docker-compose |
state.py |
Thread-safe shared state watched by the SSE stream |
web/index.html |
D3 force-graph UI, live via EventSource("/events") |
MCP tools Claude can call
visualize_architecture(title, components, connections)— draw the diagram.components:[{id, label, type?, description?}](typecolors the node:service,queue,db/store,sse,cache,gateway).connections:[{source, target, label?}].scaffold_implementation(project_name, base_port=8001)— generate the MVP from whatever is currently on screen. Writes togenerated/<project_name>/.get_current_design()— return the design currently displayed.
Run it
1. Start the web UI
pip install -r requirements.txt
APP_MODE=web python server.py # UI at http://localhost:8765
or with Docker:
docker compose up --build # UI at http://localhost:8765
2. Connect Claude to the MCP server
Add to your MCP client config (e.g. Claude Desktop claude_desktop_config.json).
This launches the server over stdio; the web UI comes up automatically on 8765.
{
"mcpServers": {
"sysdesign": {
"command": "python",
"args": ["/absolute/path/to/mcp-sysdesign/server.py"]
}
}
}
Note: the MCP client owns stdio, so let it launch
server.py(defaultAPP_MODE=mcpruns MCP and the web UI). Don't also runAPP_MODE=webon the same port, or 8765 will be taken.
3. Use it
Open http://localhost:8765, then in Claude:
"Design a URL crawler system that stores page text keyed by URL, with an SSE monitoring channel."
Claude calls visualize_architecture(...) and the graph appears. Then:
"develop"
Claude calls scaffold_implementation("crawler") and generated/crawler/
appears with runnable services:
cd generated/crawler && docker compose up --build
Notes / MVP scope
- SSE (not WebSocket) powers the live UI: it's a one-way server→browser push, which is exactly what a live diagram needs, and it auto-reconnects.
- The scaffold is a skeleton — each service builds, starts, and can reach its declared dependencies over the Docker network. Business logic is left as TODO.
- State is in-memory (single process). Restarting the server clears the diagram.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.