Self-hosted RAG engine with hybrid semantic and keyword search, document ingestion, local privacy, and seamless OpenClaw integration via Docker.
# 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)
```bash
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
```bash
openclaw mcp add --transport stdio clawrag npx -y @clawrag/mcp-server
```
### Verification
Test your setup:
```bash
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)don't have the plugin yet? install it then click "run inline in claude" again.