1. Conduid
  2. Data
  3. Haiku.rag
MCP server · Data

Haiku.rag

Agentic RAG for local and self-hosted document search: hybrid retrieval, reranking and multimodal RAG on embedded LanceDB, with Docling parsing and an MCP server

92Strong

Scored 22 hours ago · breakdown

About Haiku.rag

Haiku.rag is an MCP server published by ggozad in the Data category: agentic RAG for local and self-hosted document search: hybrid retrieval, reranking and multimodal RAG on embedded LanceDB, with Docling parsing and an MCP server. Conduid read 7 tools from its source: execute_code, get_document, get_document_outline, get_document_section, list_documents, search_documents and 1 more. It is published to PyPI as haiku.rag and runs with uvx.

The repository has 671 stars and 63 forks, is licensed MIT, and its last commit was on 30 Nov 2026. The latest release is 0.112.0 (13 Nov 2026). It follows 0.111.1 (12 Nov 2026), and the 5 most recent releases go back to 0.109.0 (6 Nov 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include data, lancedb, rag, ml, pydantic-ai and docling.

Install

uvx
uvx haiku.rag
pip
pip install haiku.rag
From source
git clone https://github.com/ggozad/haiku.rag

Tools (7)

execute_codeRun a Python program over the documents and return what it printed.
ParameterTypeDescription
code *stringThe program. Use `await` on search and list_documents.
filterany
sourcesany
get_documentRead one document whole, in reading order.
ParameterTypeDescription
document_id *stringThe document's id.
sourcestringThe collection holding it. Without one every collection is asked.
get_document_outlineThe heading tree of a document, with page numbers.
ParameterTypeDescription
document_id *stringThe document's id.
sourcestringThe collection holding it. Without one every collection is asked.
get_document_sectionThe text of one section of a document, subsections included.
ParameterTypeDescription
document_id *stringThe document's id.
section_id *stringThe `id` of a node in the document's outline.
sourcestringThe collection holding it. Without one every collection is asked.
list_documentsList what the knowledge base holds.
ParameterTypeDescription
filterany
limitintegerHow many documents to return.
offsetintegerHow many documents to skip, for paging.
sourcesany
search_documentsSearch the knowledge base by meaning and keyword.
ParameterTypeDescription
filterany
include_imagesbooleanReturn the pictures in the results as images. False for a smaller response.
limitintegerHow many results to return; the server's configured default when omitted.
query *stringWhat to look for, in natural language or keywords.
sourcesany
search_documents_by_imageSearch the knowledge base with an image as the query.
ParameterTypeDescription
filterany
image_base64 *stringThe query image, PNG or JPEG bytes as base64.
include_imagesbooleanReturn the pictures in the results as images. False for a smaller response.
limitintegerHow many results to return; the server's configured default when omitted.
sourcesany

Security checks

  • ✓README presentThe repository's README runs to about 633 words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

1 check has not been run yet.

Releases

0.112.00.112.0 · 13 Nov 2026What's Changed Drop store upgrade steps older than 0.75.0 by @ggozad in https://github.com/ggozad/haiku.rag/pull/862 Edit and delete documents from the web app by @ggozad in https://github.com/ggozad/haiku.rag/pull/863 Refresh the lock and…
0.111.10.111.1 · 12 Nov 2026What's Changed Keep ingester workers and the reaper running through queue errors by @ggozad in https://github.com/ggozad/haiku.rag/pull/861 Full Changelog: https://github.com/ggozad/haiku.rag/compare/0.111.0...0.111.1
0.111.00.111.0 · 11 Nov 2026What's Changed Readable doctor and database views in the web app by @ggozad in https://github.com/ggozad/haiku.rag/pull/857 Publish the MCP port on loopback in the Docker examples by @ggozad in https://github.com/ggozad/haiku.rag/pull/858…
0.110.00.110.0 · 8 Nov 2026What's Changed Upgrade the frontend to Node 26, pnpm 12 and latest dependencies by @ggozad in https://github.com/ggozad/haiku.rag/pull/851 Move the backend to ag-ui-protocol 1.0 by @ggozad in https://github.com/ggozad/haiku.rag/pull/852…
0.109.00.109.0 · 6 Nov 2026What's Changed Add an after_convert hook point by @ggozad in https://github.com/ggozad/haiku.rag/pull/850 Continue a directory ingest past a file that fails by @tolgaerdonmez in https://github.com/ggozad/haiku.rag/pull/836 Skip a PDF…

README

The repository's README runs to about 633 words, fetched 18 days ago. The original in the repository is authoritative.

Read full README
Questions

About Haiku.rag

How do I install Haiku.rag?

Run uvx haiku.rag, then add the server to your MCP client's configuration.

Is Haiku.rag safe to use with an AI agent?

Its trust score is 92 out of 100 (strong). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Haiku.rag still maintained?

Yes — the latest release is 0.112.0 (13 Nov 2026), and the last commit was yesterday. The repository has 671 stars and 1 open issues.

What tools does Haiku.rag provide?

Conduid read 7 tools from the source: execute_code, get_document, get_document_outline, get_document_section, list_documents, search_documents and search_documents_by_image. 7 of them publish their parameters, listed under Tools above.

What license is Haiku.rag released under?

The repository declares the MIT license. That applies to the latest release, 0.112.0, as well.