1. Conduid
  2. RAG
  3. Docmd
MCP server · RAG

Docmd

Documentation compiler for humans and machines. One Markdown source to website, search, AI context, and knowledge formats together.

86Strong

Scored 3 hours ago · breakdown

About Docmd

Docmd is an MCP server published by docmd-io in the RAG category: documentation compiler for humans and machines. One Markdown source to website, search, AI context, and knowledge formats together.

The repository has 2.5K stars and 144 forks, with the last commit yesterday. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/docmd-io/docmd

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (8)

get_configRetrieve the resolved docmd project configuration (docmd.config.json). Exposes the source directory, output directory, configured locales, versions, and enabled plugins so the agent understands the project structure.

Parameters not published.

get_llms_contextRetrieve the unified prompt context of the entire documentation site (llms.txt content).

Parameters not published.

get_site_structureGet the complete documentation site structure, including available versions (current and historical), supported languages/locales, workspace projects, search capabilities, and page navigation hierarchy with titles and URLs.

Parameters not published.

list_docsList all documentation files in the project. Returns relative paths so the agent can navigate the docs structure before reading individual files.

Parameters not published.

read_docRead the raw markdown content of a documentation file.

Parameters not published.

search_docsSearch the documentation content for a specific query.

Parameters not published.

search_documentationSearch documentation pages across all projects in this workspace using full-text keyword matching ${isSemanticUsable ?

Parameters not published.

validate_docsValidates and lints all local markdown links to detect broken paths.

Parameters not published.

Ask AI

✦

Ask AI about Docmd

Powered by Claude

Ask about Docmd — answers draw on its README.

Security checks

Static checks derived from the repository 4 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.

1 check has not been run yet.

Releases

0.9.8docmd@0.9.8 – OpenAPI, LLMs & Internationalisation · 16 Oct 2026<p align="center"> <img src="https://github.com/docmd-io/docmd/blob/main/packages/ui/assets/images/docmd-logo.png?raw=true" width="96" alt="docmd logo" /> </p> <h1 align="center">OpenAPI, LLMs & Internationalisation</h1> <p align="center">…
0.9.7docmd@0.9.7 – Python Engine & Security Hardening · 27 Sep 2026<p align="center"> <img src="https://github.com/docmd-io/docmd/blob/main/packages/ui/assets/images/docmd-logo.png?raw=true" width="96" alt="docmd logo" /> </p> <h1 align="center">Python Engine & Security Hardening</h1> <p align="center">…
0.9.6docmd@0.9.6 – Focus Mode, Banners & Zero-Config Builds · 21 Sep 2026<p align="center"> <img src="https://github.com/docmd-io/docmd/blob/main/packages/ui/assets/images/docmd-logo.png?raw=true" width="96" alt="docmd logo" /> </p> <h1 align="center">Focus Mode, Banners & Zero-Config Builds</h1> <p…
0.9.5docmd@0.9.5 – Assistant Tools & Improved Threads · 8 Sep 2026<p align="center"> <img src="https://github.com/docmd-io/docmd/blob/main/packages/ui/assets/images/docmd-logo.png?raw=true" width="96" alt="docmd logo" /> </p> <h1 align="center">Assistant Tools & Improved Threads</h1> <p align="center">…
0.9.4docmd@0.9.4 – AI Assistant, OpenAPI & Build Performance · 23 Aug 2026<p align="center"> <img src="https://github.com/docmd-io/docmd/blob/main/packages/ui/assets/images/docmd-logo.png?raw=true" width="96" alt="docmd logo" /> </p> <h1 align="center">AI Assistant, OpenAPI & Build Performance</h1> <p…

README

Quick Start

Point docmd at a folder of Markdown files:

npx @docmd/core dev

Open http://localhost:3000.

That's it. Navigation is generated from your file structure. No config file, frontmatter, or framework required.

When you're ready to deploy:

npx @docmd/core build

docmd generates a static site that can be deployed to Vercel, Cloudflare Pages, Netlify, GitHub Pages, S3, NGINX, Caddy, or any other static host.

Requires Node.js 20+.

Install globally:

npm install -g @docmd/core

# or
pnpm add -g @docmd/core

Then:

docmd dev
docmd build

Or run with Docker:

docker run -p 3000:3000 ghcr.io/docmd-io/docmd:latest

Pin the Docker image to a specific release for reproducible production builds.

One Source. Every Output.

docmd is an open source documentation compiler.

Instead of treating your Markdown as input for a website alone, docmd compiles the same source into outputs for readers, search engines, LLMs, coding agents, and knowledge systems.

Markdown
   │
   ▼
 docmd
   │
   ├── → Static documentation site
   ├── → Offline search index
   ├── → llms.txt / llms-full.txt
   ├── → Open Knowledge Format (OKF)
   ├── → Sitemap + SEO metadata
   ├── → robots.txt + Open Graph
   ├── → MCP interface for AI agents
   └── → AI Assistant context

One source tree. One build pipeline. No separate documentation and AI knowledge stacks to maintain.

Why docmd?

Documentation increasingly has more than one reader.

People need a fast, navigable website. Search engines need structured metadata. LLMs need clean context. Coding agents need tools and protocols. RAG systems need structured knowledge.

docmd builds these together while keeping Markdown at the centre.

Features

Zero config, instant start

Point docmd at any Markdown folder and it runs. Navigation is generated automatically from your file structure — no boilerplate, frontmatter, or build pipeline required to get started.

Lightweight by default, fast everywhere

docmd generates static HTML with minimal vanilla JavaScript and fast SPA-style navigation. Offline full-text search, sitemap, canonical URLs, Open Graph metadata, and other essentials are built into the output.

AI & agent-ready

docmd treats machine-readable documentation as part of the build, not a separate publishing workflow.

  • AI Assistant — RAG-powered chat grounded in your documentation
  • MCP Server — lets compatible coding agents search, read, and validate your docs
  • llms.txt / llms-full.txt — complete LLM-readable documentation context
  • Open Knowledge Format (OKF) — structured knowledge bundles for AI and RAG systems
  • Agent Skills — reusable instructions for LLMs and coding agents
  • Copy as Markdown / Copy Context — clean context extraction directly from the browser
  • Semantic search — optional vector retrieval alongside built-in keyword search

Built to scale

  • Internationalisation with locale-aware search and generated outputs
  • Versioning for multiple documentation releases
  • Workspaces for monorepos and multi-project setups
  • OpenAPI 3.x rendering for API documentation
  • Built-in templates, custom CSS/JavaScript, and light/dark mode

AI Assistant & Cloud Relay

docmd includes a RAG-powered AI Assistant grounded in your documentation.

You can connect it to your own backend or local AI provider. If your documentation is deployed as a static site, docmd Cloud Relay provides the hosted bridge instead.

Your documentation
        │
        ▼
 @docmd/plugin-ai
        │
        ▼
 docmd Cloud Relay
        │
        ▼
 Your AI provider

Cloud Relay securely sends AI requests to the provider you choose, so provider credentials do not need to be shipped to the browser and you do not need to operate an AI backend.

Cloud Relay is free to use with your own AI provider key.

  • Bring your own provider and model
  • Keep provider credentials off the client
  • Works with static hosting
  • No AI backend to deploy or maintain
  • Usage visibility and reader-question insights
  • Connect multiple documentation projects from one account

Set up Cloud Relay → • AI Assistant documentation →

The Cloud Relay is free. Model usage may be charged separately by your chosen AI provider.

CLI

docmd dev            # Start the local development server
docmd build          # Build for production
docmd live           # Start the browser-based Live Editor
docmd init           # Create a configuration file
docmd doctor         # Check configuration and plugin status
docmd validate       # Check internal documentation links
docmd migrate        # Migrate from Docusaurus, VitePress, MkDocs, or Starlight
docmd deploy         # Generate deployment configuration
docmd mcp            # Run the MCP server over stdio
docmd add <name>     # Install a plugin or template
docmd stop           # Stop running docmd development servers

See complete CLI Commands →

Plugins

docmd is built around a plugin system. Common documentation capabilities ship with core, while optional plugins can be installed when needed.

Plugin Status Description
ai Core RAG-powered AI Assistant with BYOK, local providers, and Cloud Relay
search Core Offline keyword search with optional semantic search
seo Core SEO and Open Graph metadata
sitemap Core Generates sitemap.xml
git Core Git history and last-updated metadata
analytics Core Lightweight analytics integration
llms Core Generates llms.txt and llms-full.txt
okf Core Open Knowledge Format bundles
mermaid Core Mermaid diagram rendering
openapi Core OpenAPI 3.x documentation renderer
pwa Optional Progressive Web App and offline navigation
threads Optional Inline documentation discussions (by @svallory)
math Optional KaTeX / LaTeX rendering

Install an optional plugin:

docmd add <plugin-name>

Build your own: Plugin Development Guide →

Configuration

Configuration is optional.

Add docmd.config.json, docmd.config.ts, or docmd.config.js in your project root when you need more control:

{
  "title": "My Project",
  "url": "https://docs.myproject.com",
  "src": "./docs",
  "out": "./dist"
}

TypeScript and JavaScript configurations can be used when dynamic values are required.

Configuration reference →

Programmatic API

Use docmd from Node.js scripts, CI pipelines, or custom build systems.

import { build } from '@docmd/core';

// Build documentation programmatically.
await build('./docmd.config.json', { isDev: false });

CommonJS and ESM are supported.

Node API reference →

Migration

Existing documentation does not need to start from scratch.

docmd migrate

Migration tooling is available for supported documentation frameworks including Docusaurus, VitePress, MkDocs, and Starlight.

Migration documentation →

Open Source

Your documentation is the intellectual heart of your project. It belongs in plain Markdown files in your Git repository — portable, version-controlled and auditable.

The docmd compiler and official core plugins are MIT-licensed and will remain free to use, with no paywalled compiler features.

Generated documentation can be hosted anywhere and does not require docmd-hosted infrastructure.

Community

Support docmd

If docmd is useful to you:

  • Give the repository a ⭐
  • Share it with someone building documentation
  • Open issues, contribute fixes, or build a plugin
  • Sponsor development on GitHub

License

MIT License. See LICENSE for details.

README fetched from the repository 4 hours ago. The original is authoritative.

Questions

About Docmd

How do I install Docmd?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Docmd safe to use with an AI agent?

Its trust score is 86 out of 100 (strong). It passes 4 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Docmd still maintained?

Yes — the latest release is 0.9.8 (16 Oct 2026), and the last commit was yesterday. The repository has 2.5K stars and 2 open issues.