🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

ClawRAG - Self-hosted RAG & Memory

by @2dogsandanerd

Self-hosted RAG engine with hybrid semantic and keyword search, document ingestion, local privacy, and seamless OpenClaw integration via Docker.

Versionv1.2.0
Downloads2,498
TERMINAL
clawhub install clawrag

πŸ“– About This Skill

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)