Docs2Prompt
FreeNot checkedConverts documentation from GitHub repositories or websites into LLM-friendly prompts through tools for fetching from repos and URLs with GitHub authentication
About
Converts documentation from GitHub repositories or websites into LLM-friendly prompts through tools for fetching from repos and URLs with GitHub authentication and response size management.
README
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)
curl -LsSf https://astral.sh/uv/install.sh | sh
- Clone the repository:
git clone https://github.com/Melbourneandrew/docs2prompt-mcp
- 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:
Installing Docs2Prompt
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/melbourneandrew/docs2prompt-mcpFAQ
Is Docs2Prompt MCP free?
Yes, Docs2Prompt MCP is free — one-click install via Unyly at no cost.
Does Docs2Prompt need an API key?
No, Docs2Prompt runs without API keys or environment variables.
Is Docs2Prompt hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Docs2Prompt in Claude Desktop, Claude Code or Cursor?
Open Docs2Prompt on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Unyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
by UnylyTemplate MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectServer Sequential Thinking
MCP server for sequential thinking and problem solving
by GitHub Actionsgnomancer
Local raw DNA analysis: haplogroups, traits, ClinVar, pharmacogenomics. Nothing is uploaded.
by com.gnomancerAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
by blustAIdemo
demo — MCP server via Smithery
by yoojoohans-jpgCompare Docs2Prompt with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
