Docs2prompt MCP Server

Convert software documentation to one-file prompt for LLMs

Local serverstdioPython

What is the Docs2prompt MCP Server?

Convert software documentation to one-file prompt for LLMs

What it actually does

Fetch open-sourced documentation from Github or closed-sourced documentation from publisher website to put into a LLM-friendly format in one file for use with LLMs.

  • GitHub Integration: — Extracts documentation files (e.g., README.md, docs.md, files within a docs/ folder) from a GitHub repository using heuristics
  • External Documentation Heuristic: — Optionally, fetches and converts external documentation links found in the root README
  • URL Crawling: — Supports crawling a top-level documentation URL for content
  • Customizable Output: — Serialize documentation in various formats (default plain text, XML, or Markdown)
  • CLI and API: — Use as an importable Python package or as a standalone command-line tool

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Frequently asked questions

Convert software documentation to one-file prompt for LLMs Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.