Everything works out of the box.

Search, SEO, themes, and AI tooling built in. Add only what you need.

Write Markdown, Get a Website

Point docmd at any folder of Markdown files. It builds a complete documentation site instantly – with navigation, hot-reloading, and zero configuration needed.

$ docmd build --offline
✓ Generated 12 pages in 340ms (Lighthouse 100)

Native AI Agent Support

Expose your docs to AI coding assistants like Claude, Cursor, and Windsurf through a built-in MCP server and auto-generated context files.

docmd mcp – Ready for Claude & Cursor

Built-in Search, Zero Cloud Costs

Semantic and keyword search compiled at build time into local index files. Runs entirely in the browser – no cloud APIs, no hosting costs.

Press ⌘K to search docs

Rich Content from Plain Markdown

Write callouts, tabbed code blocks, warning boxes, cards, and diagrams using simple Markdown syntax. No HTML or JSX needed.

::: callout info
Native Markdown callouts & tabs!
:::

Modular plugin ecosystem

Each plugin works out of the box with zero configuration. Enable only what you need.

@docmd/plugin-search

Offline Vector Search

Semantic and keyword search that runs entirely in the browser.

@docmd/plugin-mcp

MCP Server

Let AI coding assistants search and read your docs directly.

@docmd/plugin-ai

AI Assistant

AI assistant that answers questions using your documentation as context.

@docmd/plugin-llms

AI Context Generator

Auto-generate llms.txt, llms-full.txt, and SKILL.md for AI tools.

@docmd/plugin-openapi

OpenAPI & Swagger Docs

Generate interactive API reference pages from OpenAPI spec files.

@docmd/plugin-seo

SEO & Schema JSON-LD

Sitemaps, meta tags, and structured data for search engine visibility.

@docmd/plugin-math

KaTeX Maths

Render LaTeX mathematical expressions with lightweight KaTeX.

@docmd/plugin-mermaid

Mermaid Diagrams

Flowcharts, sequence diagrams, and architecture maps from Markdown.

Built for autonomous AI coding agents.

Expose your documentation to Claude, Cursor, Windsurf, and custom LLMs through open machine-readable standards.

Model Context Protocol

Native MCP Server

Allows Claude Desktop, Cursor, and Windsurf to search, inspect, and read your docs directly over stdio or SSE.

$ npx @docmd/plugin-mcp
Standard Feeds

llms.txt & llms-full.txt

Generates standard LLM feeds so any language model can ingest your full documentation in one request without web scraping.

Exported /site/llms.txt
Agent Actions

Agent Skills (SKILL.md)

Packages actionable CLI workflows, architecture rules, and code patterns into discoverable skill files for coding agents.

$ npx docmd-skills
Knowledge Graph

Open Knowledge (okf.yaml)

Compiles docs into machine-readable ontology tags, concept graphs, and semantic bundles for multi-agent workflows.

Exported okf.yaml bundle
Write documentation with your favourite AI assistant:
docmd Cloud · 492 queries/min · 3.4ms 99.9% uptime

Add AI assistant capabilities to your docs with free docmd Cloud Relay

Connect in seconds with GitHub. Get real-time search analytics, uncover missing documentation gaps, and proxy AI assistant queries securely.

  • AI Assistant Proxy – BYOK routing for 100+ LLMs without exposing API keys.
  • Documentation Analytics – Discover top queries, volume trends, and content gaps.
  • Free & Serverless – Connect in seconds via GitHub with zero maintenance.
Relay Request Usage Live Queries
CONNECTED
48 Queries / min
18.4k 30d Total
3.4ms Avg latency
99.9% Uptime
Relay Request Usage
24h 7d 30d
30 days ago 15 days ago Peak: 1,842 req/day
Search "How do I deploy offline with file:// protocol?" 142 asks
Cursor "Where is the config schema for custom callouts?" 98 asks
Missing Doc "How to migrate from MkDocs Material" Needs page
AI Proxy: Active (BYOK) Status: Operational

Built in the open. Owned by developers.

Documentation belongs in Git, not behind proprietary SaaS walled gardens.

OPEN SOURCE COMMITMENT
“Your documentation is the intellectual heart of your project. It belongs as plain Markdown files in your Git repository – permanent, version-controlled, auditable, and free forever. docmd will always be 100% MIT licensed with zero paywalled compiler features.”
The docmd Open Source Manifesto
01 / SOVEREIGNTY

Data Sovereignty

Your documentation is plain Markdown in your Git repo. No proprietary databases or schemas. If you ever switch, you take all your content with you cleanly.

02 / INDEPENDENCE

Zero Vendor Lock-in

Compile to standard static HTML. Host on any static cloud or CDN for $0. Zero monthly fees, zero runtime dependencies, zero surprises.

03 / OPENNESS

Permissive MIT License

Free for personal, open-source, and commercial use. Built by engineers who believe documentation infrastructure should be open to all.

ECOSYSTEM & COMMUNITY

Built together with the open source community

Powered by independent developers, code contributors, and sponsors around the world.

Community Sponsors & Backers

Help keep docmd 100% free and open source. All sponsor funds directly support ongoing compiler performance, agent protocol standards, and serverless relay infrastructure.

Frequently asked questions

Everything you need to know about docmd.

What is docmd?
docmd is an open-source documentation compiler. You give it a folder of Markdown files, run one command, and it produces a website, search index, AI context, and knowledge formats – all together, no configuration needed.
How is docmd different from Docusaurus, MkDocs, or VitePress?
docmd requires no configuration, no React, no Vue, and no framework knowledge. It produces standalone HTML pages with under 25 KB of client JavaScript, achieves a Lighthouse score of 100, and includes search, SEO, and AI context generation out of the box.
Do I need React or any front-end framework?
No. docmd is entirely framework-free. You write Markdown, run one command, and get a production-ready website. The output is plain HTML with minimal vanilla JavaScript.
How does AI agent integration work?
docmd includes a built-in MCP server that lets AI coding tools like Claude, Cursor, and Windsurf search and read your documentation directly. It also auto-generates llms.txt and SKILL.md files so any language model can understand your docs.
What are Agent Skills (SKILL.md) and how do I install them?
Agent Skills are instruction files that AI coding assistants (Claude, Cursor, Windsurf) can read to understand how to work with your project. Install official docmd skills into your workspace with:

npx docmd-skills [target-directory]

Start building in minutes

Open source, MIT licensed. One command to your first documentation site.