Skip to main content

docdiagram-mcp

MCP server exposing the DocDiagram API to any MCP-compatible client (Claude Code, Cursor, Continue, Cody). The same surface area as the Claude Code skills in ../skills/, expressed as typed tool calls.

Install

uvx docdiagram-mcp        # one-shot, recommended
# or
pip install docdiagram-mcp

Configure

Set DOCDIAGRAM_API_KEY or create ~/.docdiagram/config.yaml:

api_key: dd_live_xxxxxxxxxxxxx
server_url: https://app.docdiagram.com   # optional, defaults to prod

Mint a key with the Claude Code plugin: claude /docdiagram:auth.

Tools

Repos

  • repo_upsert - register or refresh a repo (idempotent on host_id)
  • repo_lookup - look up by GitHub node id
  • repo_get - fetch by DocDiagram UUID

Embedded diagrams

  • embedded_diagram_create - bind a new diagram to (repo, docs_path, slot)
  • embedded_diagram_revise - follow-up prompt against an existing binding
  • embedded_diagram_regenerate - re-run the last prompt
  • embedded_diagram_get - fetch a binding by id
  • embedded_diagram_by_sidecar - fetch by (repo, docs_path, slot)
  • embedded_diagram_list_for_repo - cursor-paginated list
  • embedded_diagram_delete - soft-delete
  • embedded_diagram_render_svg - return an SVG URL (bytes not inlined)
  • embedded_diagram_render_png_url - return a PNG URL

Sync (requires GitHub App install per TECH-064)

  • sync_start - open a PR with pending revisions
  • sync_get_status - poll a sync run
  • sync_list - list recent runs

Releasing

See RELEASING.md for the tagged-release publish flow and the registry submission runbook.

License

MIT

Metadata

Release files for docdiagram-mcp 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 docdiagram-mcp 0.4.0
File Size Uploaded Provenance Actions
docdiagram_mcp-0.4.0.tar.gz 22.4 kB With provenance Details for docdiagram_mcp-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 41.9 kB

Release files / docdiagram_mcp-0.4.0.tar.gz

Download URL docdiagram_mcp-0.4.0.tar.gz
Size 22.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e8e95e45c0e5d81c8229dabafaef827ca0337a572648de7bc5caa1d68f63cf20
BLAKE2b-256 checksum
How to use checksums
425d9e5e7b15d47e25f06e707992824a2c237e6030887961c8cd4cc196ffa79f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 4, 2026.

Transparency log

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

Download URL docdiagram_mcp-0.4.0-py3-none-any.whl
Size 19.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c98fab6e4022b635c583931a09ee3ff6b74acd7e5396556dabe9af264fdd2cff
BLAKE2b-256 checksum
How to use checksums
f8db9de1b53fc93cf21c9da547d89135c091addaec33e14539a1d1fc9f7f6332
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 4, 2026.

Transparency log

Security for docdiagram-mcp 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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for docdiagram_mcp-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 4, 2026.

Transparency log

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