mkdocs-llmstxt
MkDocs plugin to generate an /llms.txt file.
Decision gist · record as of 2026-08-14
Yes. The plugin solves a real problem—making your MkDocs documentation discoverable and usable by LLMs—with low install friction, active maintenance, no security issues, and a permissive license. Install it if you want LLMs and AI tools to have better access to your documentation.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; site_url must be configured in mkdocs.yml for the plugin to work.
- Low friction install with four straightforward runtime dependencies.
- The project is actively maintained with a recent release and no known vulnerabilities.
License · maintenance · safety
ISC (permissive) — ISC permissive license allows commercial and private use with minimal restrictions.
last release 2025-11-20 (267 days) · last repo commit 2026-08-14 · 129 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 417,865 downloads/mo, #6,806 on PyPI
Alternatives
Verify before relying
pip install mkdocs-llmstxt
Then in mkdocs.yml:
plugins:
- llmstxt:
markdown_description: Long description of my project.
sections:
Usage documentation:
- file1.md: Description of file1
- file2.md- Whether the plugin handles complex MkDocs themes or custom CSS that might affect HTML-to-Markdown conversion quality.
- Performance impact when processing large documentation sites with many pages.
What it is and what it does
mkdocs-llmstxt is a MkDocs plugin that generates a standardized /llms.txt file at your documentation root. This file provides structured information about your site to help large language models understand and use your documentation more effectively at inference time. The plugin works by rendering your MkDocs pages to HTML, cleaning up the output with BeautifulSoup, and converting it back to Markdown using Markdownify—this ensures dynamically generated content like API docs and Jinja macros are included.
You configure it in mkdocs.yml by specifying sections and files to include, and optionally enable full-page output via llms-full.txt. The plugin supports file globbing for flexible section organization and allows preprocessing of HTML before conversion. It's built on four core dependencies: beautifulsoup4, markdownify, mdformat, and mdformat-tables, all of which handle the HTML parsing and Markdown formatting.
Use it for
- Generate standardized /llms.txt for AI assistants to better understand your project structure and documentation.
- Create a machine-readable documentation index for LLM-based code assistants and documentation chatbots.
- Publish full-page Markdown versions of your docs for AI training or consumption without manual conversion.
- Support multiple documentation versions or languages by using base_url to point LLMs to version-specific docs.
- Automatically include dynamically generated API documentation in the /llms.txt without manual updates.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The plugin solves a real problem—making your MkDocs documentation discoverable and usable by LLMs—with low install friction, active maintenance, no security issues, and a permissive license. Install it if you want LLMs and AI tools to have better access to your documentation.
Install
mkdocs-llmstxt on PyPI
Before you install
Low friction install with four straightforward runtime dependencies. The project is actively maintained with a recent release and no known vulnerabilities.
Requires Python 3.10 or later; site_url must be configured in mkdocs.yml for the plugin to work.
License in practice
ISC permissive license allows commercial and private use with minimal restrictions.
Quickstart
pip install mkdocs-llmstxt
Then in mkdocs.yml:
plugins:
- llmstxt:
markdown_description: Long description of my project.
sections:
Usage documentation:
- file1.md: Description of file1
- file2.md
Verify before relying
- Whether the plugin handles complex MkDocs themes or custom CSS that might affect HTML-to-Markdown conversion quality.
- Performance impact when processing large documentation sites with many pages.
Package facts
| License | ISC permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesbeautifulsoup4markdownifymdformatmdformat-tables |
| Maintenance | Actively maintained 267 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 417,865 / month, #6,806 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersProgramming Language :: PythonProgramming Language :: Python :: 3Programming 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 DevelopmentTopic :: UtilitiesTyping :: Typed |
Evidence: mkdocs_llmstxt-0.5.0-py3-none-any.whl
Tags
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 › “mkdocs llms.txt plugin”
- mkdocs-llmstxtMkDocs plugin that generates an /llms.txt file at your documentation…
- mkdocs-simple-hooksA MkDocs plugin that lets you define custom hooks directly in your…
- mkdocs-techdocs-coreBundles Spotify's TechDocs defaults—themes, plugins, and Markdown…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also mkdocs-gen-files · mkdocstrings · mkdocs-video · sphinx-llm · mkdocs-literate-nav · mkdocs-meta-manager · mkdocs-include-markdown-plugin · mkdocs · mkdocs-rss-plugin · mkdocs-git-revision-date-plugin