Knowshelf
Manages and searches personal Markdown book knowledge bases using hybrid retrieval techniques, optimized for RAG applications.
Knowshelf is a Go-based service designed to transform personal Markdown books into a searchable knowledge base. It imports Markdown files, splits them into parent and child chunks for contextual and retrieval purposes, then stores this data locally in SQLite with vector embeddings via `sqlite-vec`. The core strength lies in its sophisticated hybrid retrieval pipeline, combining BM25 and vector search, fusing results with RRF, and optionally reranking candidates to provide highly relevant answers. This system is exposed through both a command-line interface and an MCP Streamable HTTP service, making it suitable for integrating personal knowledge into other applications, particularly for Retrieval-Augmented Generation (RAG) workflows.