Make a new framework's docs queryable by your AI
何时使用: Official docs are huge; you want Claude to answer with grounded citations.
前置条件
- mcp-documentation-server installed — npx -y @andrea9293/mcp-documentation-server
步骤
-
Ingest the docsUpload the library's docs .md files to the dashboard at http://localhost:3080.✓ 已复制→ Files processed into chunks
-
Ask targeted questionssearch_documents for 'how to configure middleware' — give me the top 3 chunks with source paths.✓ 已复制→ Cited excerpts
-
Ask grounded synthesisGiven those chunks, write the minimum viable config for middleware in this framework.✓ 已复制→ Working config backed by cited doc lines
结果: A personal docs assistant that cites its sources.
注意事项
- PDFs with scanned images aren't OCR'd — Pre-OCR with tools like ocrmypdf before upload
- Huge doc sets without Gemini give noisy embeddings — Optional GEMINI_API_KEY unlocks higher-quality semantic search