llmLibrarian: Local RAG Engine with MCP Integration for File-Based AI Search

✍️ OpenClawRadar📅 Published: March 30, 2026🔗 Source
llmLibrarian: Local RAG Engine with MCP Integration for File-Based AI Search
Ad

What This Is

llmLibrarian is a local RAG (Retrieval-Augmented Generation) engine that exposes retrieval capabilities through the Model Context Protocol (MCP). It allows you to index folders into silos (ChromaDB collections), then query them from any MCP client—including Claude—to get grounded, cited answers.

Key Features and Architecture

The tool indexes folders into silos, which are ChromaDB collections. When you want direct answers instead of raw chunks, Ollama handles the synthesis layer. Everything runs locally on your machine.

The developer highlights the multi-silo capability as particularly powerful: combining silos allows patterns to surface across domains that would be difficult to catch manually. For example, a journal folder becomes a thinking partner that remembers what you've written, and a codebase becomes an agent that knows your actual files.

Ad

MCP Tools Exposed

  • retrieve — hybrid RRF vector search that returns raw chunks with confidence scores for Claude to reason over
  • retrieve_bulk — multi-angle queries in one call, useful when aggregating across document types
  • ask — Ollama-synthesized answer directly from retrieved context (defaults to llama3.1:8b, but you can swap in whatever model you have pulled)
  • list_silos, inspect_silo, trigger_reindex — index management tools

Technical Stack

  • ChromaDB for vector storage
  • Ollama for model synthesis
  • sentence-transformers (all-mpnet-base-v2, MPS-accelerated) for embeddings
  • fastmcp for the MCP layer

The developer mentions that the multi-silo metadata tagging in ChromaDB took several iterations to get right and is open to discussing the architecture.

This type of tool is useful for developers who want to build AI agents that can reference and reason over their local files without sending data to external services.

📖 Read the full source: r/LocalLLaMA

Ad

👀 See Also

Microsoft VibeVoice: 60-Min ASR and 90-Min TTS Models Open-Sourced
Tools

Microsoft VibeVoice: 60-Min ASR and 90-Min TTS Models Open-Sourced

VibeVoice is a family of open-source voice AI models from Microsoft including ASR (60-min single-pass, speaker diarization, 50+ languages) and TTS (90-min multi-speaker, real-time streaming). Uses 7.5 Hz continuous speech tokenizers and next-token diffusion.

OpenClawRadar
User-built PTC for Claude Code shows 40-65% token savings on analysis tasks, not code writing
Tools

User-built PTC for Claude Code shows 40-65% token savings on analysis tasks, not code writing

A developer built a local PTC implementation called Thalamus for Claude Code and analyzed 79 real sessions, finding 40-65% token savings on analysis tasks but near-zero savings on code-writing tasks. The agent used execute() primarily for general Python computation rather than batching tool calls.

OpenClawRadar
free-claude-code adds GLM-5 support via NVIDIA NIM, expands to OpenRouter and Discord
Tools

free-claude-code adds GLM-5 support via NVIDIA NIM, expands to OpenRouter and Discord

free-claude-code now supports GLM-5 through NVIDIA NIM's free tier (40 requests/min) and adds OpenRouter integration, Discord bot support, and LMStudio local provider compatibility. The tool converts Claude Code's Anthropic API requests to work with alternative model backends.

OpenClawRadar
Claude Code Voice Mode: Hands-Free AI Conversations for Developers
Tools

Claude Code Voice Mode: Hands-Free AI Conversations for Developers

Claude's voice mode beta lets you speak to the AI and hear responses, with hands-free and push-to-talk options. It works on web and mobile, counts toward regular usage limits, and allows switching between text and voice in the same conversation.

OpenClawRadar