ClawRAG - Self-hosted RAG & Memory
/install clawrag
ClawRAG Connector
The Brain for OpenClaw - Self-hosted RAG engine with hybrid search.
⚠️ This skill requires Docker. It connects OpenClaw to your local ClawRAG instance.
What is ClawRAG?
Production-ready RAG infrastructure that keeps your data local:
- 🔒 Privacy-first: Vector DB runs on your machine
- 🔍 Hybrid Search: Semantic + Keyword (BM25) + RRF ranking
- 📄 Smart Ingestion: PDFs, Office docs, Markdown via Docling
- 🧠 MCP-native: Seamless OpenClaw integration
Installation
Step 1: Start ClawRAG (Docker)
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.
Step 2: Connect OpenClaw
openclaw mcp add --transport stdio clawrag npx -y @clawrag/mcp-server
Verification
Test your setup:
curl http://localhost:8080/api/v1/rag/collections
Features
| 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 |
Requirements
- Docker + Docker Compose
- 4GB+ RAM (8GB recommended for local LLM)
- Or: OpenAI/Anthropic API key for cloud LLM
Architecture
OpenClaw ◄──MCP──► @clawrag/mcp-server ◄──HTTP──► ClawRAG API (localhost:8080)
│
▼
┌─────────────┐
│ ChromaDB │
│ (vectors) │
└─────────────┘
Links
- 📚 Full Docs: https://github.com/2dogsandanerd/ClawRag#readme
- 🔧 API Reference: http://localhost:8080/docs (when running)
- 🐛 Issues: https://github.com/2dogsandanerd/ClawRag/issues
- 📦 MCP Package: https://www.npmjs.com/package/@clawrag/mcp-server
Tags
rag, vector, memory, search, documents, self-hosted, privacy, mcp, local-ai
Metadata für ClawHub-Upload:
| 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 |
Changelog für Version 1.2.0
1.2.0 - Initial ClawHub Release
- Connector skill for OpenClaw integration
- MCP server support (@clawrag/mcp-server v1.1.0)
- Docker-first deployment
- Hybrid search (Vector + BM25)
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install clawrag - After installation, invoke the skill by name or use
/clawrag - Provide required inputs per the skill's parameter spec and get structured output
What is ClawRAG - Self-hosted RAG & Memory?
Self-hosted RAG engine with hybrid semantic and keyword search, document ingestion, local privacy, and seamless OpenClaw integration via Docker. It is an AI Agent Skill for Claude Code / OpenClaw, with 1549 downloads so far.
How do I install ClawRAG - Self-hosted RAG & Memory?
Run "/install clawrag" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is ClawRAG - Self-hosted RAG & Memory free?
Yes, ClawRAG - Self-hosted RAG & Memory is completely free (open-source). You can download, install and use it at no cost.
Which platforms does ClawRAG - Self-hosted RAG & Memory support?
ClawRAG - Self-hosted RAG & Memory is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created ClawRAG - Self-hosted RAG & Memory?
It is built and maintained by 2dogsandanerd (@2dogsandanerd); the current version is v1.2.0.