Ucp-local 0.1: offline RAG in one Rust binary for MCP clients

⚓ Rust    📅 2026-06-17    👤 surdeus    👁️ 2      

surdeus

ucp-local (crates.io) is a small CLI I just published. It indexes folders on your machine (notes, code, PDFs, Claude conversation exports) and exposes them over MCP as one tool, search_local_context, that any MCP client can call.

Paired with LM Studio running a local model, the whole stack is offline: indexing, embeddings (via Ollama), retrieval, and the chat model all on the same machine, no network calls beyond localhost.

The use case that pushed me to build it: point it at a Claude conversations.json export and every past chat becomes searchable from inside future Claude sessions.

v0.1.0 just released. Still early; if anyone has thoughts on the chunking heuristics (sentence boundaries in non-English prose, the tree-sitter splits) or the BM25/vector weighting in the hybrid
retrieval, I'd appreciate the pushback.

1 post - 1 participant

Read full topic

🏷️ Rust_feed