docubridge
Provides AI assistants with direct access to local Markdown documentation libraries, enabling them to list, read, and search through docs on demand.
README
docubridge
MCP server for instant access to your local documentation libraries
docubridge is a Model Context Protocol (MCP) server that gives AI assistants (like Qwen, Claude, etc.) direct access to documentation you specify. Instead of the model guessing or hallucinating API details — it reads the actual docs.
Why?
When working with an LLM in your terminal, the model doesn't know:
- which version of FastAPI you're using
- what your internal project docs say
- any documentation you've added yourself
docubridge solves this by exposing your local Markdown documentation as MCP tools — the model can list, read, and search through them on demand.
Features
| Tool | Description |
|---|---|
list_libraries |
Show all available documentation libraries |
list_files |
List all files inside a specific library |
get_file |
Read the full content of a specific file |
search_docs |
Search by keyword across all docs or within a library |
Project Structure
mcp-docs-server/
├── pyproject.toml
├── .env
├── README.md
└── src/
└── docs_server/
├── __init__.py
├── main.py
├── server.py
├── config.py
└── reader.py
Installation
git clone https://github.com/yourname/docubridge.git
cd docubridge
pip install -e .
Adding Documentation
Clone any documentation that has Markdown sources. For example, FastAPI:
git clone --depth=1 --filter=blob:none --sparse https://github.com/fastapi/fastapi.git
cd fastapi
git sparse-checkout set docs/en/docs
Then move the folder into your docs/ directory:
docs/
└── fastapi/
├── index.md
├── tutorial/
└── advanced/
You can add as many libraries as you want — just drop a folder into docs/.
Configuration
Create a .env file in the project root:
DOCS_DIR=./docs
Connecting to Qwen CLI
Add the following to your .qwen/settings.json:
{
"mcpServers": {
"docubridge": {
"command": "docs-server",
"timeout": 15000
}
}
}
Then verify the connection:
qwen mcp list
You should see docubridge in the list.
Usage Examples
Once connected, you can ask your AI assistant:
- "What libraries do you have access to?"
- "Show me all files in the fastapi docs"
- "Find everything about dependency injection in fastapi"
- "Read the content of tutorial/path-params.md"
The model will call the appropriate tool and answer based on the actual documentation.
Requirements
- Python 3.11+
mcp[cli]>= 1.0.0pydantic-settings
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.