使用说明
Humbowo
Repo note: the repository name (retrievo) is legacy; the product is Humbowo at humbowo.com (by TheNerdsInt).
Humbowo is a production‑grade retrieval and knowledge platform for document‑heavy workflows — academic, business, and operational. It pairs a scalable RAG backend with a modern web app, supports multi‑tenant knowledge bases, and is designed to grow from thousands to millions of documents without changing the core architecture.
Want to deploy this for your own domain? See the Replication Guide for step‑by‑step instructions.
Features
- Multi‑tenant knowledge bases with job‑scoped search, chat, and indexing
- Semantic search with OpenAI embeddings (configurable model)
- Hybrid retrieval (BM25 + dense) and optional reranking
- ChromaDB vector storage for fast, scalable retrieval
- FastAPI REST API (port 8001) with auth + admin‑friendly endpoints
- Web app for upload, search, chat, and knowledge base management
- MCP integration available for Claude/agent tooling (optional)
MCP Server Setup (Optional)
Claude Desktop
Config: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"literature-rag": {
"command": "/Users/fadzie/Desktop/lit_rag/literature_review_rag_api/venv/bin/python",
"args": ["-m", "literature_rag.mcp_server"],
"cwd": "/Users/fadzie/Desktop/lit_rag/literature_review_rag_api",
"env": {
"PYTHONPATH": "/Users/fadzie/Desktop/lit_rag/literature_review_rag_api",
"INDICES_PATH": "/Users/fadzie/Desktop/lit_rag/literature_review_rag_api/indices",
"CONFIG_PATH": "/Users/fadzie/Desktop/lit_rag/literature_review_rag_api/config/literature_config.yaml"
}
}
}
}
Claude Code
Config: ~/.claude.json (add to mcpServers object)
"literature-rag": {
"type": "stdio",
"command": "/Users/fadzie/Desktop/lit_rag/literature_review_rag_api/venv/bin/python",
"args": ["-m", "literature_rag.mcp_server"],
"env": {
"PYTHONPATH": "/Users/fadzie/Desktop/lit_rag/literature_review_rag_api",
"INDICES_PATH": "/Users/fadzie/Desktop/lit_rag/literature_review_rag_api/indices",
"CONFIG_PATH": "/Users/fadzie/Desktop/lit_rag/literature_review_rag_api/config/literature_config.yaml"
}
}
Key Configuration Notes
- Absolute paths required - Relative paths fail in sandboxed environments
- PYTHONPATH - Required for module discovery
- INDICES_PATH & CONFIG_PATH - Override defaults to ensure correct file access
- Restart required - After config changes, restart Claude Desktop/Code
Available MCP Tools
| Tool | Description |
|---|---|
semantic_search |
Search papers with phase/topic/year filters |
get_context_for_llm |
Pre-formatted context with citations |
list_papers |
Discover available papers in collection |
find_related_papers |
Find similar papers via embeddings |
get_collection_stats |
Collection statistics and metadata |
answer_with_citations |
Structured sources with bibliography |
synthesis_query |
Multi-topic comparative analysis |
Quick Start
# Install dependencies
cd literature_review_rag_api
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install fastmcp
# Run MCP server
python -m literature_rag.mcp_server
# Or run FastAPI server
python -m literature_rag.api
Project Structure
retrievo/
├── literature_review_rag_api/
│ ├── literature_rag/
│ │ ├── mcp_server.py # MCP server (FastMCP)
│ │ ├── api.py # FastAPI server
│ │ ├── literature_rag.py # Core RAG engine
│ │ └── config.py # Configuration
│ ├── config/
│ │ └── literature_config.yaml
│ ├── indices/ # ChromaDB storage
│ └── venv/
├── webapp/ # Humbowo web UI (search/chat/upload)
└── README.md