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

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Needs Confirmation · 62/100Policy : confirmer
Surface agent
Tout agent MCP/CLI
Type
Mcp
Installation
Pip
Confiance
Confiance : Established
Point d'entrée
haiku-rag serve --mcp --stdio
Commande CLI universelle
npx tokrepo install bf886e93-454a-5713-8b61-1456eb2fefee
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