$npx skillfedfor your agent

mkdocs-kroki-plugin

MkDocs plugin for Kroki-Diagrams

Worth itPyPI DocumentationReleased Apr 202684.3K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — mkdocs_kroki_plugin-1.6.0-py3-none-any.whl
v1.6.0 · released 2026-04-13 · Python >=3.10 · 5 runtime deps: defusedxml, httpx, mkdocs, properdocs, result

Yes. The plugin is actively maintained, has no known vulnerabilities, installs with low friction, and solves a clear problem—embedding diagrams in MkDocs without manual image management. MIT licensing removes legal friction. Install it if you use MkDocs and want to include Kroki diagrams; the only prerequisite is access to a Kroki server and Python 3.10+.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; requires a running Kroki server (public instance at https://kroki.io or self-hosted).
  • Low friction: pure Python wheel with five runtime dependencies (mkdocs, httpx, defusedxml, properdocs, result).
  • Active maintenance with a recent release 123 days ago and ongoing commits.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.

last release 2026-04-13 (123 days) · last repo commit 2026-06-22 · 63 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 84,348 downloads/mo, #14,005 on PyPI

Verify before relying

pip install mkdocs-kroki-plugin

# In mkdocs.yml:
plugins:
  - kroki:
      server_url: 'https://kroki.io'

# In your Markdown:
```kroki-blockdiag
blockdiag {
  A -> B -> C;
}
```
  • Whether the plugin supports all Kroki diagram types equally or if some have known limitations.
  • Performance impact of caching strategies on large documentation builds with hundreds of diagrams.
  • Compatibility with MkDocs themes that use custom HTML rendering or CSS frameworks.
Same gist for agents: .md · .json

What it is and what it does

mkdocs-kroki-plugin bridges MkDocs and Kroki, a universal diagram-rendering service. You write diagram syntax (BlockDiag, BPMN, Mermaid, Excalidraw, and others) inside Markdown code fences tagged with `kroki-`, and the plugin renders them server-side, embedding the results as images or SVG objects in your built documentation. It handles HTTP requests to a Kroki server (public or self-hosted), caches rendered diagrams to speed up rebuilds during local development, and supports configuration for output format, styling, timeouts, and display options like width and alignment.

The plugin depends on mkdocs as its framework, httpx for HTTP requests, and defusedxml for safe XML parsing. It targets modern Python (3.10–3.14) and is in Beta status. Maintenance is active, with recent releases and ongoing commits. No known security vulnerabilities are recorded.

Use it for

  • Embed architecture diagrams, flowcharts, and sequence diagrams directly in API or system documentation without external image files.
  • Generate BPMN process diagrams in technical documentation that stay in sync with your source code repository.
  • Create Mermaid flowcharts and state diagrams in MkDocs sites, leveraging Kroki's rendering instead of client-side JavaScript.
  • Build documentation with theme-aware diagram styling (light/dark mode backgrounds and colors) using the plugin's style configuration.
  • Speed up local documentation builds by caching rendered diagrams, avoiding re-rendering on every file save during `mkdocs serve`.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The plugin is actively maintained, has no known vulnerabilities, installs with low friction, and solves a clear problem—embedding diagrams in MkDocs without manual image management. MIT licensing removes legal friction. Install it if you use MkDocs and want to include Kroki diagrams; the only prerequisite is access to a Kroki server and Python 3.10+.

Install

mkdocs-kroki-plugin on PyPI

Before you install

Low friction: pure Python wheel with five runtime dependencies (mkdocs, httpx, defusedxml, properdocs, result). Active maintenance with a recent release 123 days ago and ongoing commits.

Requires Python 3.10 or later; requires a running Kroki server (public instance at https://kroki.io or self-hosted).

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.

Quickstart

pip install mkdocs-kroki-plugin

# In mkdocs.yml:
plugins:
  - kroki:
      server_url: 'https://kroki.io'

# In your Markdown:
```kroki-blockdiag
blockdiag {
  A -> B -> C;
}
```

Verify before relying

  • Whether the plugin supports all Kroki diagram types equally or if some have known limitations.
  • Performance impact of caching strategies on large documentation builds with hundreds of diagrams.
  • Compatibility with MkDocs themes that use custom HTML rendering or CSS frameworks.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
defusedxmlhttpxmkdocsproperdocsresult
MaintenanceActively maintained 123 days since the last release
Last repo commit
First released
Downloads84,348 / month, #14,005 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaFramework :: MkDocsIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: DocumentationTopic :: Software Development :: Documentation

Evidence: mkdocs_kroki_plugin-1.6.0-py3-none-any.whl

Tags

Capabilities
mkdocs diagram pluginkroki diagram renderingembed diagrams in markdownblockdiag mermaid mkdocsdocumentation diagram generationkroki server integrationmarkdown diagram fence
Topics
diagram-renderingmkdocs-pluginkroki-integration
PyPI keywords
diagramkrokimarkdownmkdocspython

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “kroki diagram rendering”

Give your agent the search over MCP, or paste the wish link into any chat.

More Documentation packages

docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
Sphinx Worth it
PyPI · Software Development · released Dec 2025

Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.

BSD-2-Clausepure Python · 3.12+
91.8Mdownloads / mo
griffe Worth it
PyPI · Software Development · released Jun 2026

Griffe extracts the complete structure and signatures of Python programs to generate API documentation or detect breaking changes in your project's public API.

Install it if you need to programmatically inspect Python code structure, generate API docs, or enforce API stability in CI.

ISCpure Python · 3.10+
32.4Mdownloads / mo
sphinxcontrib-serializinghtml With conditions
PyPI · Utilities · released Jul 2024

A Sphinx extension that outputs documentation in serialized HTML formats (JSON and pickle) alongside standard HTML.

BSD-3-Clausepure Python · 3.9+dormant
30.5Mdownloads / mo
alabaster Worth it
PyPI · Documentation · released Jul 2024

Alabaster is a clean, responsive Sphinx theme for documentation that requires Python 3.10 or newer and Sphinx 6.2 or newer.

BSD-3-Clausepure Python · 3.10+dormant
30.4Mdownloads / mo
sphinxcontrib-htmlhelp With conditions
PyPI · Utilities · released Jul 2024

A Sphinx extension that generates HTML help files from reStructuredText documentation source.

BSD-3-Clausepure Python · 3.9+dormant
27.7Mdownloads / mo

See also mkdocs-drawio · mkdocs-mermaid2-plugin · mkdocs-panzoom-plugin · blockdiag · mkdocs-video · mkdocs-include-markdown-plugin · neoteroi-mkdocs · mkdocs-render-swagger-plugin · markdown-exec · sphinxcontrib-blockdiag