Metadata-Version: 2.4
Name: iflow-mcp_wandermyz-wandering-rag
Version: 0.1.0
Summary: Wandering RAG CLI tool
License: MIT
Requires-Python: >=3.10
Requires-Dist: click>=8.0.0
Requires-Dist: fastembed>=0.6.0
Requires-Dist: langchain-text-splitters>=0.0.1
Requires-Dist: mcp[cli]>=1.6.0
Requires-Dist: notion-client>=2.2.1
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: python-frontmatter
Requires-Dist: qdrant-client>=1.8.0
Requires-Dist: rich>=13.7.0
Requires-Dist: sentence-transformers>=2.5.0
Description-Content-Type: text/markdown

# 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):

```bash
uv pip install -e .
```

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

```bash
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

```bash
./wandering-rag md index
```


### Notion commands (WIP)

```bash
./wandering-rag notion index
```

### MCP commands

```bash
./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"
            }
        }
    }
}
```
