Skip to main content
Glama

ragwatcher

Local RAG over a directory. Incremental. Served as MCP tool + CLI.

  • Zero-config default (drops into ~/notes, works).

  • Offline, CPU-only baseline (FastEmbed ONNX). GPU / API models opt-in.

  • CLI is a peer to the MCP server, not a wrapper.

Install

uv tool install ragwatcher
# or
pipx install ragwatcher

Optional extras: [lance] (LanceDB store), [pdf-pro] (pymupdf), [remote] (qdrant/openai/cohere).

Related MCP server: Corpus-KB

Usage

ragwatcher serve ~/notes                  # MCP server (stdio)
ragwatcher index ~/notes                  # one-shot sync
ragwatcher query ~/notes "what is X"      # one-shot query
ragwatcher stats ~/notes                  # index summary
ragwatcher doctor ~/notes                 # health check
ragwatcher purge ~/notes --yes            # wipe .rag_index/

Every data-producing command supports --json for scripting.

Configuration

Precedence (low → high): defaults → $XDG_CONFIG_HOME/ragwatcher/config.toml<DIR>/.ragwatcher.tomlRAGWATCHER_* env vars → CLI flags.

See SPEC.md § 5 for the full schema.

Development

uv sync --extra dev
uv run pytest -q --ignore=tests/integration
uv run ruff check src tests
uv run mypy src

Integration tests (real embed model, ~3s):

uv run pytest tests/integration -m slow

License

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Local-first RAG indexing and semantic search MCP server. Enables document retrieval and context-aware queries using local embedding models.
    3
    14
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    MCP server for local RAG over personal notes, PDFs, and documents, enabling plain-English querying and hybrid search with multi-hop context expansion.
    MIT

View all related MCP servers

Related MCP Connectors

  • Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.

  • Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.

  • Turn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/neumann-mlucas/ragwatcher'

If you have feedback or need assistance with the MCP directory API, please join our Discord server