design-doc-mcp
Gathers local git metadata (branch, status, diff stats, commit log) to provide context for drafting design documents.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
design-doc-mcp
Turn the real technical work you just did in a Claude Code session into a saved, professional design doc — one slash command, no copy-pasting anywhere else, no signup for the free tier.
sequenceDiagram
participant Dev as You
participant Claude as Claude Code (your session)
participant MCP as design-doc-mcp (local)
participant BE as Hosted backend
Dev->>Claude: /design-doc
Claude->>MCP: prepare_design_doc
MCP->>MCP: gather local git context (branch, status, diff --stat, log)
MCP->>BE: fetch section template (mode/tier only - no code)
BE-->>MCP: drafting instructions
MCP-->>Claude: instructions + local context
Claude->>Claude: draft the actual document
Claude->>MCP: save_design_doc
MCP-->>Dev: docs/<title>.md (+ .html if requested)What you get
A properly structured design doc — abstract, problem statement, architecture & flow diagrams, key decisions/trade-offs, risks, and more — drafted from what you actually did, with sections that don't apply automatically left out. No filler.
At least two Mermaid diagrams wherever the session supports it: a static architecture view and a runtime/sequence view, auto-styled for readable font size and spacing.
A table of contents, auto-inserted.
An optional standalone interactive HTML export — themed, light/dark, sticky navigation.
Two other doc shapes, auto-detected from context: a root-cause/bug-investigation doc, and a comparison/decision doc for "which approach" discussions.
Related MCP server: Vibe Coding Documentation MCP (MUSE)
Install
npx design-doc-mcp initRun this inside the project you want to document. It registers the MCP server and installs the /design-doc
skill. Restart Claude Code, do some real work, then run:
/design-docUsage
/design-doc [flags]Flag | What it does |
(none) | Drafts the default design doc for whatever was just discussed |
| Also saves a standalone interactive HTML version |
| Activates a Pro license key |
| Shows usage help |
The doc is saved to docs/<title>.md in your project. Running it again on the same topic later updates that
same file rather than creating a new one.
Your code never leaves your machine
This tool does not read your source files. It only gathers lightweight, read-only git metadata — your current
branch, git status (file paths and change markers, not content), a git diff --stat summary (file names and
line-count totals, not the actual diff), and the last 15 commit subject lines. The document itself is drafted by
Claude, inside your own session, on your own account — this tool never calls an LLM or sends your code anywhere.
The only two things that ever reach a network: a request for the section template (just a mode/tier string, no
code) when drafting, and your license key when you run --activate.
Free vs. Pro
Free: 5 design docs per day, full content depth, HTML export included — no signup required.
Pro: removes the daily cap. That's the only difference right now.
License
MIT — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Persistent, governed institutional memory for Claude Code — specs, decisions, learnings.
Write and revise cloud docs with Claude, ChatGPT and your team. Review and comment from your phone.
Turn calls and notes into process flow diagrams in Claude, ChatGPT, VS Code, Cursor, and Teams.
Your AI writes the doc. People comment. Your AI updates it.
Related MCP Servers
- FlicenseAqualityNot gradedmaintenanceBridges Claude Desktop, Claude Code CLI, and Claude Code for VS Code, enabling developers to plan in Desktop, save specs to project directories, and invoke Claude Code CLI with seamless state sharing across interfaces.4-
- AlicenseBqualityCmaintenanceAutomatically collects, summarizes, and documents code from vibe coding sessions, generating multiple document types (README, DESIGN, TUTORIAL, etc.) and publishing them to platforms like Notion, GitHub Wiki, and Obsidian.15119 npm1MIT
- AlicenseAqualityDmaintenanceAutomatically generates Architecture Decision Records (ADRs) from Claude Code conversations using Claude Opus. Features AI quality review, duplicate detection, and dependency graph.95 npm3MIT
- AlicenseAqualityCmaintenanceTurn markdown into designed PDFs with cover page, table of contents, and code blocks that hold across pages. One command from Claude Desktop, Claude Code, Cursor, Cline, Zed, or any MCP-capable client.290 npm2MIT