Wandering RAG logo

Wandering RAG

by wandermyz

Wandering RAG is a CLI tool for personal RAG that retrieves data from various sources like Notion, Obsidian, and Apple Notes. It stores the data in Qdrant and exposes it as an MCP server.

View on GitHub

Last updated: N/A

Wandering RAG

A CLI tool for personal RAG that retrieves data from Notion, Obsidian, Apple Notes, etc., stored in Qdrant and exposed as an MCP server.

(So that Claude Desktop successfully answers my question "When did I adopt my cat and when did I change her cat litter most recently? ")

Installation

Using uv (recommended):

uv pip install -e .

Run a Qdrant server if you don't have one:

cd qdrant-docker
docker-compose up -d

Copy .env.example as .env and specify the Markdown folders (or Obsidian vaults)

Usage

The CLI provides several subcommands:

Markdown commands

./wandering-rag md index

Notion commands (WIP)

./wandering-rag notion index

MCP commands

./wandering-rag mcp run-server

Configure for Claude Desktop

{
    "mcpServers": {
        "wandering-rag": {
            "command": "<your git checkout path>/wandering-rag/wandering-rag",
            "args": ["mcp", "run-server"],
            "env": {
                "PATH": "<your home folder>/.local/bin:/usr/bin:$PATH"
            }
        }
    }
}