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
-
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
    B
    maintenance
    Local-first RAG indexing and semantic search MCP server. Enables document retrieval and context-aware queries using local embedding models.
    Last updated
    3
    9
    MIT
  • F
    license
    A
    quality
    B
    maintenance
    A local-first document retrieval engine that mounts as an MCP tool for agents to index files, search for relevant passages, and let the agent's own LLM answer.
    Last updated
    4

View all related MCP servers

Related MCP Connectors

  • Local-first RAG engine with MCP server for AI agent integration.

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

  • User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote 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