Ask the Docs MCP Server
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., "@Ask the Docs MCP Server What do the docs say about grounded answers with citations?"
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.
Ask the Docs — MCP server
Expose a production RAG system as a Model Context Protocol (MCP) server — usable from any MCP client (Claude Desktop, Cursor, Claude Code, …).
What it is
Three tools over a small corpus of AI-engineering docs:
Tool | What it does |
| BM25 retrieval over the corpus |
| Grounded answer with inline citations ( |
| Indexed sources + chunk count |
No API key? ask falls back to the top retrieved chunk — the server never dead-ends.
Related MCP server: mcp-rag-bridge
Use it
uv run app/server.py # stdio (Claude Desktop / Claude Code)
uv run mcp run app/server.py # same, via the MCP CLIClaude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"ask-the-docs": {
"command": "uv",
"args": ["run", "app/server.py"]
}
}
}Claude Code / Cursor: add the same command as an MCP server.
Why this matters
MCP is how tools get exposed to agents in 2026. A recruiter sees this and knows you can build agent integrations, not just call a chat API. It pairs with ask-the-docs (the RAG) and operator (the harness).
Available Tools
3 toolsaskA
Answer a question with grounded, cited text from the indexed documents.
Inputs: question (required). Returns: result
list_sourcesB
List the indexed document sources and chunk count.
Inputs: no named parameters. Returns: result
search_docsB
Retrieve the most relevant chunks for a query (lexical BM25).
Inputs: query (required), k. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
search_docs and ask both accept a query, but the descriptions clearly separate raw chunk retrieval from a synthesized cited answer, so an agent can choose correctly. list_sources is clearly distinct. Minor overlap remains because both query-consuming tools operate on the same corpus.
search_docs and list_sources follow a clean verb_noun pattern, while 'ask' is a bare verb that breaks the pattern. Still readable and unambiguous, just a minor deviation.
Three tools is a tight, well-scoped surface for a documentation Q&A server; each tool maps to a distinct retrieval need. It sits at the low end of the range and could feel thin without at least one document-inspection tool.
Core retrieval and answering are covered, but there is no way to fetch a full document or a specific chunk, and no source-filtering parameter to scope search or ask to a particular indexed source. list_sources hints at per-source capability that the other tools cannot exploit.
Maintenance
Related MCP Connectors
Read-only hosted MCP over CanonicAI's cited Answers corpus on canonicai.com.
Query any docs site via MCP. Submit a URL, ask questions, get cited answers.
Query your own PDFs and documents from any MCP client. Every answer cites the page it came from.
Team docs served to AI agents over MCP - search, Markdown reads, version pinning, read audit.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceEnables any MCP-compatible AI assistant to search, filter, and retrieve information from a local document collection using a hybrid search pipeline with vector, BM25, reranking, and LLM enrichment.4-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to query and manage a document knowledge base via MCP, with RAG-powered search and grounded answers with citations.MIT
- AlicenseAqualityCmaintenanceEnables any MCP host to search and answer over your own documents with hybrid BM25+dense retrieval, cross-encoder reranking, and grounded, cited responses that refuse when no evidence is found.5MIT
- AlicenseNot gradedqualityCmaintenanceEnables any MCP-capable LLM client to search self-hosted long-term memory over markdown and PDF documents, combining dense semantic vectors with BM25 keyword retrieval and optional cross-encoder reranking. Exposes a read-only tool surface for querying incidents, runbooks, and other knowledge-base content, while writes happen out-of-band through ingestion jobs or a token-gated internal API.2MIT