An MCP Server that makes it easy to load documentation files from locally available repositories
Project description
mcp-server-docs
A Model Context Protocol server that provides access to documentation across multiple repositories. This server allows LLMs to search and retrieve documentation content from markdown files.
Features
- Browse documentation across multiple repositories
- Full markdown/MDX support with frontmatter parsing
- Automatic title and description extraction
- Documentation content exposed as MCP resources
- Search and fetch tools for documentation retrieval
Installation
Using uv
When using uv no specific installation is needed. We will
use uvx to directly run mcp-server-docs.
Using PIP
Install via pip:
pip install mcp-server-docs
Usage
The server needs to know which repositories to crawl for documentation. Provide these as repository mappings:
# Using uvx
uvx mcp-server-docs "mcp=/path/to/mcp/docs,anthropic=/path/to/anthropic/docs"
# Using pip installation
python -m mcp_server_docs "mcp=/path/to/mcp/docs,anthropic=/path/to/anthropic/docs"
Configure for Claude Desktop
Add to your Claude Desktop config:
"mcpServers": {
"docs": {
"command": "uvx",
"args": [
"mcp-server-docs",
"mcp=/path/to/mcp/docs,anthropic=/path/to/anthropic/docs"
]
}
}
Available Tools
fetch-documents: Retrieve documentation content by repository and path- Search through available documentation files
- Get documentation content with preserved structure
- Support for fetching multiple related documents
Resources
All documentation files are exposed as MCP resources with:
- URI format:
file://{repository}/{path} - Rich metadata including titles and descriptions
- Full markdown content
Contributing
For examples of other MCP servers and implementation patterns, see: https://github.com/modelcontextprotocol/example-servers/
Pull requests welcome!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_docs-0.1.6.tar.gz.
File metadata
- Download URL: mcp_server_docs-0.1.6.tar.gz
- Upload date:
- Size: 20.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2dbe54f4a05a8169267690e42ecfd137eedcbc870a061ce9396a052e9630761
|
|
| MD5 |
2f277c6edf8d5a7f275125baf718a008
|
|
| BLAKE2b-256 |
cedbeba99d9b14bc015c8c8c567c67cc02e80a317cc1f97a442d7dd6dbe68a2e
|
File details
Details for the file mcp_server_docs-0.1.6-py3-none-any.whl.
File metadata
- Download URL: mcp_server_docs-0.1.6-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5093241cc08c7c2624a2522507aa7a7958e8d651d8e4aec2569977e34c68708
|
|
| MD5 |
c405f78443e1aa91767f6bc3f67feee4
|
|
| BLAKE2b-256 |
66c0ff174bbd815cc38372a298d8e6f327e9d85520177af77da43819017a7410
|