docs2prompt MCP Server
Provides access to documentation in GitHub repositories, converting them into LLM-friendly prompts through the docs2prompt library
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@docs2prompt MCP Server extract prompts from the React documentation on GitHub"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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)
curl -LsSf https://astral.sh/uv/install.sh | shClone the repository:
git clone https://github.com/Melbourneandrew/docs2prompt-mcpPut 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:
Available Tools
2 toolsget_docs2prompt_docsA
Use this tool to get the documentation from a GitHub repository.
Args:
github_repo: The GitHub repository to get the documentation for.
Inputs: github_repo (required).
get_url_docsB
Use this tool to get the documentation at a URL.
Args:
url: The URL to get the documentation for.
Inputs: url (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one retrieves documentation from a GitHub repository, the other from a generic URL. There is no ambiguity between them.
Both tools follow a consistent 'get_<source>_docs' pattern, making their purpose immediately clear and predictable.
With only two tools, the server is minimal but focused. The count is slightly low for broad usefulness, but it may be appropriate for a narrowly scoped documentation retrieval service.
The tools cover retrieval from two common sources, but the server name 'docs2prompt' suggests conversion to prompts, which is missing. The current surface is incomplete for the implied purpose.
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server for generating rough-draft project plans from natural-language prompts.
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Related MCP Servers
- AlicenseAqualityFmaintenanceAn enhanced MCP server that fetches prompts from GitHub repositories with intelligent discovery, composition, and management features.712MIT
- AlicenseNot gradedqualityDmaintenanceGeneric MCP server that exposes Markdown documentation to LLMs, enabling them to search and answer questions about any software documentation.MIT
- AlicenseNot gradedqualityDmaintenanceThis MCP server provides access to resources and prompts from GitHub repositories or the local filesystem, enabling teams to share coding standards, documentation, and reusable prompts with AI tools like Claude.1ISC
- FlicenseAqualityDmaintenanceAn MCP server that provides AI clients with access to developer documentation via llms.txt files. Exposes tools, resources, and prompts.31-