kib
The Headless Knowledge Compiler
Ingest anything — URLs, PDFs, YouTube, GitHub repos, images. Compile a structured wiki with AI. Search and query from the terminal.
tell your llm
Install @kibhq/cli globally, initialize a vault at ~/.kib, and configure the kib MCP.
or
brew
brew tap keeganthomp/kib && brew install kib
npm
npm i -g @kibhq/cli
Ingest anything — URLs, PDFs, YouTube, GitHub repos, images, local files
AI-compiled wiki — LLM structures sources into connected markdown articles
BM25 search — Sub-50ms full-text search with English stemming
RAG query — Ask questions, get cited answers from your knowledge base
MCP server — 8 tools for Claude Code, Cursor, and Claude Desktop
Chrome extensioncoming soon — Save any webpage to your vault with one click
No lock-in — Plain markdown files. Version with git. No database
cli quickstart
$ kib init
$ kib ingest https://arxiv.org/abs/1706.03762
$ kib compile
$ kib query "explain the attention mechanism"