# Docs2Prompt

> Use this tool when you need to convert documentation from GitHub repositories or websites into LLM-friendly prompts, solving the problem of quickly referencing external codebases without leaving your conversation interface. It takes GitHub repository URLs or website URLs as input and outputs formatted prompts, making it ideal for developers who require fast access to documentation. By using Docs2Prompt, you can streamline your workflow and enhance your understanding of external codebases.

Canonical page: https://skillsregistry.net/skills/melbourneandrew-docs2prompt  
JSON: https://api.skillsregistry.net/v1/skills/melbourneandrew-docs2prompt

## Description

docs2prompt-mcp is an MCP server that wraps the docs2prompt library, allowing AI assistants to convert documentation from GitHub repositories or websites into LLM-friendly prompts. Developed by Andrew Melbourne, it builds on Reza Tabrizi's original library and exposes two main tools: one for fetching documentation from GitHub repos and another for retrieving documentation from URLs. The server handles authentication with GitHub via tokens and includes safeguards against oversized responses, making it particularly useful for developers who need to quickly reference or understand external codebases and documentation without leaving their conversation interface.

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** version-control
- **Updated:** 2026-04-25

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/melbourneandrew-docs2prompt)
- **Repository:** <https://github.com/melbourneandrew/docs2prompt-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "melbourneandrew-docs2prompt"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/melbourneandrew-docs2prompt` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/melbourneandrew-docs2prompt/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
