Cette page est affichée en anglais. Une traduction française est en cours.
MCP ConfigsMay 13, 2026·2 min de lecture

haiku.rag — Agentic RAG CLI + MCP Server

haiku.rag is an agentic RAG toolkit with CLI, Python API, and MCP server; verified 524★ and supports `add-src`, `ask --cite`, and `serve --mcp`.

Prêt pour agents

Staging sûr pour cet actif

Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.

Stage only · 17/100Policy : staging
Surface agent
Tout agent MCP/CLI
Type
Mcp Config
Installation
Stage only
Confiance
Confiance : Established
Point d'entrée
Asset
Commande de staging sûr
npx -y tokrepo@latest install bf886e93-454a-5713-8b61-1456eb2fefee --target codex

Stage les fichiers d'abord; l'activation exige la revue du README et du plan staged.

Introduction

haiku.rag is an agentic RAG toolkit with CLI, Python API, and MCP server; verified 524★ and supports add-src, ask --cite, and serve --mcp.

Best for: Teams building citation-heavy RAG with local-first LanceDB storage and agent workflows

Works with: Python 3.12+ plus an embedding provider (Ollama/OpenAI/etc.) as required by README

Setup time: 6-15 minutes

Key facts (verified)

  • GitHub: 524 stars · 35 forks · pushed 2026-05-13.
  • License: MIT · owner avatar + repo URL verified via GitHub API.
  • README-backed entrypoint: haiku-rag serve --mcp --stdio.

Main

  • Start with one PDF and verify citations (--cite) before scaling to directory monitoring or research agents.

  • Use the MCP server mode when you want assistants like Claude Desktop to manage documents/search/QA as tools rather than pasted context.

  • Keep provider swaps explicit: embeddings and QA models are pluggable; document which provider you used for each dataset to make runs reproducible.

Source-backed notes

  • README states it is built on LanceDB, Pydantic AI, and Docling, and includes both CLI and Python API entrypoints.
  • README documents MCP server usage: haiku-rag serve --mcp --stdio and a sample mcpServers JSON config.
  • README lists multiple features including hybrid search, citations with page numbers/section headings, and local-first embedded LanceDB storage.

FAQ

  • Do I need an embedding provider?: Yes — README says you must configure one (Ollama/OpenAI/etc.) before indexing/searching.
  • Can I use it from an MCP client?: Yes — run serve --mcp --stdio and add it to your client config.
  • Is there a slim install?: Yes — README mentions haiku.rag-slim plus extras; use it when you want fewer deps.
🙏

Source et remerciements

Source: https://github.com/ggozad/haiku.rag > License: MIT > GitHub stars: 524 · forks: 35

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires