A favicon of docs2prompt

docs2prompt

Transform documentation from GitHub repositories or dedicated websites into LLM-friendly prompts. Enhance your LLM applications by seamlessly integrating documentation as prompts for better context and understanding.

Installation

Installing for Claude Desktop

Manual Configuration Required

This MCP server requires manual configuration. Run the command below to open your configuration file:

npx mcpbar@latest edit -c claude

This will open your configuration file where you can add the docs2prompt MCP server manually.

MCP Server for docs2prompt

License

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:

Share:
Details:
  • Stars


    0
  • Forks


    0
  • Last commit


    3 months ago
  • Repository age


    3 months
  • License


    Apache-2.0
View Repository

Auto-fetched from GitHub .

MCP servers similar to docs2prompt:

 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


docs2prompt: MCP Server – MCP.Bar