clawragSelf-hosted RAG engine with hybrid semantic and keyword search, document ingestion, local privacy, and seamless OpenClaw integration via Docker.
Install via ClawdBot CLI:
clawdbot install 2dogsandanerd/clawragThe Brain for OpenClaw - Self-hosted RAG engine with hybrid search.
β οΈ This skill requires Docker. It connects OpenClaw to your local ClawRAG instance.
Production-ready RAG infrastructure that keeps your data local:
git clone https://github.com/2dogsandanerd/ClawRag.git
cd ClawRag
cp .env.example .env
docker compose up -d
Wait for http://localhost:8080/health to return OK.
openclaw mcp add --transport stdio clawrag npx -y @clawrag/mcp-server
Test your setup:
curl http://localhost:8080/api/v1/rag/collections
| Capability | Description |
|------------|-------------|
| Document Upload | PDF, DOCX, TXT, MD via API or folder |
| Hybrid Query | Vector similarity + keyword matching |
| Citations | Source tracking for all answers |
| Multi-Collection | Organize knowledge by project |
OpenClaw βββMCPβββΊ @clawrag/mcp-server βββHTTPβββΊ ClawRAG API (localhost:8080)
β
βΌ
βββββββββββββββ
β ChromaDB β
β (vectors) β
βββββββββββββββ
rag, vector, memory, search, documents, self-hosted, privacy, mcp, local-ai
| Feld | Wert |
|------|------|
| Slug | clawrag |
| Display name | ClawRAG - Self-hosted RAG & Memory |
| Version | 1.2.0 |
| Tags | rag, vector, memory, search, documents, self-hosted, privacy, mcp, local-ai |
Generated Mar 1, 2026
Law firms can use ClawRAG to securely ingest and query sensitive case documents, contracts, and legal briefs locally. The hybrid search enables precise retrieval of relevant legal precedents and clauses, while privacy-first architecture ensures client confidentiality.
Researchers and universities can deploy ClawRAG to manage academic papers, theses, and reports on-premises. It facilitates semantic search across large document collections, helping scholars quickly find related studies and citations without data leaving their infrastructure.
Healthcare providers can set up ClawRAG to index medical records, research articles, and clinical guidelines locally for compliance with regulations like HIPAA. Staff can query this knowledge base to support diagnosis and treatment decisions with cited sources.
Enterprises can use ClawRAG to create a self-hosted search engine for internal documents such as policies, manuals, and project reports. The multi-collection feature allows organizing knowledge by department, enhancing information retrieval while keeping data private.
Offer ClawRAG as a managed service with tiered subscriptions for different organization sizes, including support, updates, and optional cloud hosting. Revenue comes from monthly or annual fees, with premium tiers for advanced features like priority support.
Sell perpetual licenses to large enterprises for on-premises deployment, including customization, training, and dedicated support contracts. This model targets industries with strict data privacy requirements, generating upfront license sales and ongoing service revenue.
Provide professional services to help clients deploy and customize ClawRAG, such as integrating with existing systems, data migration, and performance tuning. Revenue is project-based, with opportunities for ongoing maintenance and optimization contracts.
π¬ Integration Tip
Ensure Docker is properly configured and test the health endpoint before connecting OpenClaw to avoid common setup issues.
Manage torrents with qBittorrent. Use when the user asks to "list torrents", "add torrent", "pause torrent", "resume torrent", "delete torrent", "check download status", "torrent speed", "qBittorrent stats", or mentions qBittorrent/qbit torrent management.
Search indexers and manage Prowlarr. Use when the user asks to "search for a torrent", "search indexers", "find a release", "check indexer status", "list indexers", "prowlarr search", "sync indexers", or mentions Prowlarr/indexer management.
Interact with Uptime Kuma monitoring server. Use for checking monitor status, adding/removing monitors, pausing/resuming checks, viewing heartbeat history. Triggers on mentions of Uptime Kuma, server monitoring, uptime checks, or service health monitoring.
Backup Clawdbot workspace and config to GitHub with git-crypt encryption. Use for daily automated backups or manual backup/restore operations.
Query and monitor Unraid servers via the GraphQL API. Use when the user asks to 'check Unraid', 'monitor Unraid', 'Unraid API', 'get Unraid status', 'check disk temperatures', 'read Unraid logs', 'list Unraid shares', 'Unraid array status', 'Unraid containers', 'Unraid VMs', or mentions Unraid system monitoring, disk health, parity checks, or server status.
Manage TrueNAS SCALE via API. Check pool health, manage datasets and snapshots, monitor alerts, control services, manage apps, orchestrate Dockge container stacks, and manage bookmarks. Use when the user asks about their NAS, storage, backups, containers, bookmarks, or homelab services.