docmd logo

docmd

Freemium
Visit

docmd is an open-source documentation compiler that turns a Markdown source tree into a static documentation site and machine-readable outputs. It is designed for teams serving human readers, search systems, LLMs, coding agents, and knowledge tools from one build pipeline.

What is docmd?

docmd is an open-source documentation compiler that turns a folder of Markdown files into a static documentation site and additional machine-readable documentation outputs. It is built for projects that need the same source content to serve human readers as well as search systems, LLMs, coding agents, and knowledge tools.

The tool derives site navigation from the Markdown file structure and does not require a configuration file, frontmatter, or a framework for its basic workflow. Its compiler-oriented approach keeps the source tree and generated outputs in one build pipeline rather than requiring separate website and AI-knowledge stacks.

Beyond the website, docmd can generate an offline search index, llms.txt and llms-full.txt, Open Knowledge Format (OKF) output, sitemap and SEO metadata, robots.txt, Open Graph metadata, an MCP interface for AI agents, and AI assistant context. The source describes these as outputs of the documentation build.

What can docmd do?

Markdown-first compilation

Point docmd at a folder of Markdown files and compile the source tree into documentation. Basic setup does not require a config file, frontmatter, or a framework.

Generated static documentation site

The build produces a static site with navigation generated from the source file structure, making the result suitable for deployment on static hosting.

Search and discovery outputs

docmd can generate an offline search index along with sitemap, SEO metadata, robots.txt, and Open Graph metadata for site discovery and sharing.

AI and knowledge formats

The same source can produce llms.txt, llms-full.txt, Open Knowledge Format output, and AI assistant context for machine-oriented documentation workflows.

Agent access through MCP

The documented output pipeline includes an MCP interface for AI agents, allowing the documentation project to expose an agent-oriented interface in addition to web pages and files.

Local, package, and container workflows

The repository documents execution through npx, global npm or pnpm installation, and the ghcr.io/docmd-io/docmd Docker image. The development server uses port 3000 in the quick-start example.

Use Cases

“Publish project documentation”

Maintain Markdown files in a source folder and compile them into a navigable static site for users who need to read product or project documentation in a browser.

“Create documentation for machine retrieval”

Use the generated llms.txt, llms-full.txt, or Open Knowledge Format outputs when the same documentation must also be consumed by LLMs, RAG-oriented knowledge systems, or other automated tooling.

“Support coding-agent workflows”

Use the documented MCP interface and AI assistant context outputs to make project documentation available to coding agents alongside the human-facing site.

“Develop and preview documentation locally”

Run the dev command against a Markdown folder, open the local server at port 3000, and iterate on the source before creating a deployment build.

“Deploy a static documentation build”

Run the build command and publish the generated static site through a supported static host or a self-managed server such as NGINX or Caddy.

Frequently Asked Questions

What does docmd use as its source?

docmd uses a folder of Markdown files. In the basic quick-start workflow, navigation is generated from the file structure, and no configuration file, frontmatter, or framework is required.

What does docmd generate besides a website?

The documented outputs include an offline search index, llms.txt, llms-full.txt, Open Knowledge Format output, sitemap and SEO metadata, robots.txt, Open Graph metadata, an MCP interface for AI agents, and AI assistant context.

How do I try docmd locally?

The quick start uses `npx @docmd/core dev` pointed at a Markdown folder, then opens `http://localhost:3000`. The source also documents global installation with npm or pnpm.

Can the generated site be deployed to a static host?

Yes. The documented build command is `npx @docmd/core build`. The source lists Vercel, Cloudflare Pages, Netlify, GitHub Pages, S3, NGINX, Caddy, and other static hosts as deployment options.

Does docmd require Node.js?

The repository quick-start documentation states that docmd requires Node.js 20 or later. A Docker image is also documented as an alternative execution method.

Quick Facts

Category
Open-source developer documentation tool
Source format
Markdown files in a folder
Runtime requirement
Node.js 20+
Execution options
npx, global npm or pnpm installation, or Docker
Primary outputs
Static site, search index, AI context, and knowledge formats
License
MIT

docmd Traffic Analysis

Traffic data is for reference only.

Domain Rating
44

docmd Alternatives

SkillDocs logo

SkillDocs

skilldocs.dev

SkillDocs is a collaborative markdown workspace for editing, commenting on, and sharing the documents that agents run on. It combines live multiplayer editing with an MCP-based workflow for pushing skills from local files, collecting feedback, and pulling changes back.

Compyle logo

Compyle

compyle.ai

Compyle is an AI platform for environmental due diligence, automating Phase I ESA research and draft reporting while keeping EP review in control.

Documentation.AI logo

Documentation.AI

documentation.ai

Documentation.AI is AI-powered documentation and knowledge base software for product, developer, and support teams. Create and maintain docs, API references, help centers, and knowledge bases with AI-assisted editing and in-doc answers.

Page to Markdown logo

Page to Markdown

starterbuild.com

Page to Markdown is a free Chrome extension that converts webpages or selected content into clean, usable Markdown. It is designed for notes, documentation, research, AI tools, and coding workflows.

Cortex Docs logo

Cortex Docs

cortexdocs.dev

Cortex Docs is an open-source API tooling workflow that turns API specifications and Markdown into interactive documentation, typed SDKs, and MCP servers. It helps developers publish API interfaces for human users, applications, and AI agents from a shared project.

DeepWiki logo

DeepWiki

deepwiki.com

AI-generated, browsable documentation for software repositories