docs2prompt MCP Server

Integrations

  • Provides access to documentation in GitHub repositories, converting them into LLM-friendly prompts through the docs2prompt library

MCP Server for docs2prompt

docs2prompt is a python library and line tool developed by Reza Tabrizi that turns documentation in github repositories or hosted on dedicated websites into LLM-friendly prompts.

This repository contains an MCP server that wraps docs2prompt for use by any MCP client (Cursor, Claude, Windsurf, etc).

Run Server (Development)

  1. Install UV
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Clone the repository:
git clone https://github.com/Melbourneandrew/docs2prompt-mcp
  1. Put this in your MCP client config (Add your path and github access token):
{ "mcpServers": { "docs2prompt": { "command": "uv", "args": [ "--directory", "/YOUR/LOCAL/PATH/docs2prompt-mcp/src", "run", "main.py" ], "env": { "GITHUB_TOKEN": "" } } } }

If you need, here are guides to set up MCP for common clients:

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

An MCP server that enables clients to extract LLM-friendly prompts from documentation in GitHub repositories or hosted websites.

  1. Run Server (Development)

    Related MCP Servers

    • A
      security
      A
      license
      A
      quality
      MCP server for SecretiveShell/Awesome-llms-txt. Add documentation directly into your conversation via MCP resources.
      Last updated -
      10
      Python
      MIT License
    • -
      security
      A
      license
      -
      quality
      An MCP server that provides tools to load and fetch documentation from any llms.txt source, giving users full control over context retrieval for LLMs in IDE agents and applications.
      Last updated -
      177
      Python
      MIT License
      • Apple
    • -
      security
      F
      license
      -
      quality
      An MCP server that enables Claude and other compatible LLMs to interact with the GitHub API, supporting features like creating issues, retrieving repository information, listing issues, and searching repositories.
      Last updated -
      TypeScript
    • -
      security
      A
      license
      -
      quality
      A MCP server that transforms code repositories from GitHub, GitLab, or local directories into LLM-friendly formats, preserving context and structure for better AI processing.
      Last updated -
      1
      Python
      Apache 2.0

    View all related MCP servers

    ID: a4ce92kysd