$npx skillfedfor your agent

sphinxcontrib-mermaid

Mermaid diagrams in your Sphinx-powered docs

Worth itPyPI UtilitiesReleased Jul 20266.4M downloads / moBSD-2-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sphinxcontrib_mermaid-2.1.0-py3-none-any.whl
v2.1.0 · released 2026-07-18 · Python >=3.10 · 3 runtime deps: jinja2, pyyaml, sphinx

Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, uses a permissive license, and solves a clear documentation need. It is well-suited for any Sphinx-based project that benefits from embedded diagrams. Install it if you are using Sphinx and want to include Mermaid diagrams without managing separate image files.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; Sphinx must be installed and configured in your documentation project.
  • Low install friction with three straightforward runtime dependencies.
  • Actively maintained with a recent release 27 days ago and ongoing commits; the repository has 409 stars and is not archived.

License · maintenance · safety

BSD-2-Clause (permissive) — BSD-2-Clause is permissive, allowing commercial and private use with minimal restrictions beyond retaining the license notice.

last release 2026-07-18 (27 days) · last repo commit 2026-08-03 · 409 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,384,596 downloads/mo, #1,918 on PyPI

Verify before relying

pip install sphinxcontrib-mermaid

# In conf.py:
extensions = ['sphinxcontrib.mermaid']

# In your .rst file:
.. mermaid::

   graph LR
      A --> B
  • Whether Mermaid JavaScript library is automatically bundled or requires separate installation in the build environment.
  • Support for all Mermaid diagram types (e.g., state diagrams, class diagrams, entity-relationship diagrams) beyond those mentioned in the description.
Same gist for agents: .md · .json

What it is and what it does

sphinxcontrib-mermaid is a Sphinx extension that lets you write Mermaid diagram syntax directly in your reStructuredText or Markdown documentation and have them render as interactive diagrams in the final HTML output. It integrates with Sphinx's build pipeline and depends on Jinja2, PyYAML, and Sphinx itself to process and embed the diagrams.

The extension is useful when you want to include flowcharts, sequence diagrams, Gantt charts, and other visual representations in technical documentation without manually creating image files. You write the diagram definition in plain text using Mermaid's syntax, and the extension handles conversion to rendered graphics during the Sphinx build.

Use it for

  • Add flowcharts and process diagrams to API documentation or architecture guides.
  • Include sequence diagrams in technical specifications or protocol documentation.
  • Embed Gantt charts in project planning or timeline documentation.
  • Create state machine diagrams for explaining system behavior or workflows.
  • Build interactive diagrams that render consistently across all documentation builds.

Worth the install?

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

Worth it

Yes.

The package is actively maintained, has low install friction, carries no known vulnerabilities, uses a permissive license, and solves a clear documentation need. It is well-suited for any Sphinx-based project that benefits from embedded diagrams. Install it if you are using Sphinx and want to include Mermaid diagrams without managing separate image files.

Install

sphinxcontrib-mermaid on PyPI

Before you install

Low install friction with three straightforward runtime dependencies. Actively maintained with a recent release 27 days ago and ongoing commits; the repository has 409 stars and is not archived.

Requires Python 3.10 or later; Sphinx must be installed and configured in your documentation project.

License in practice

BSD-2-Clause is permissive, allowing commercial and private use with minimal restrictions beyond retaining the license notice.

Quickstart

pip install sphinxcontrib-mermaid

# In conf.py:
extensions = ['sphinxcontrib.mermaid']

# In your .rst file:
.. mermaid::

   graph LR
      A --> B

Verify before relying

  • Whether Mermaid JavaScript library is automatically bundled or requires separate installation in the build environment.
  • Support for all Mermaid diagram types (e.g., state diagrams, class diagrams, entity-relationship diagrams) beyond those mentioned in the description.

Package facts

LicenseBSD-2-Clause permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
jinja2pyyamlsphinx
MaintenanceActively maintained 27 days since the last release
Last repo commit
First released
Downloads6,384,596 / month, #1,918 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleEnvironment :: Web EnvironmentFramework :: Sphinx :: ExtensionIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: DocumentationTopic :: Utilities

Evidence: sphinxcontrib_mermaid-2.1.0-py3-none-any.whl

Tags

Capabilities
sphinx mermaid diagramsembed flowcharts in sphinx docssequence diagrams sphinxgantt charts documentationsphinx diagram extensionmermaid sphinx plugindocumentation visualization
Topics
sphinx-extensiondiagram-renderingdocumentation-tooling
PyPI keywords
diagramsdocumentationmermaidsphinx

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 › “sphinx mermaid diagrams”

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

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also mermaid-py · mkdocs-mermaid2-plugin · sphinxcontrib-blockdiag · paracelsus · mermaid-builder · django-diagram · mkdocs-panzoom-plugin · sphinxcontrib-plantuml · sphinx-comments · sphinx-plotly-directive