# rhebok [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/Stellenbosch-Technologies/rhebok  
**GitHub Stars:** 13  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/rhebok

## Description
Local retrieval and memory for AI coding agents

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/Stellenbosch-Technologies/rhebok), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
curl -fsSL https://github.com/Stellenbosch-Technologies/rhebok/releases/latest/download/install.sh | sh
```

2. Configure:

```sh
rhebok config set sources '["~/notes", "~/Documents/papers"]'
```

3. Check the setup:

```sh
rhebok status                        # every install check should pass
```

## Documentation

## What rhebok does

rhebok gives coding agents a local knowledge base built from folders you choose, including notes, papers, web clippings, and previous agent sessions. It indexes those sources and retrieves relevant passages for questions about earlier decisions, fixes, or reference material. Claude Code and Codex transcripts can be indexed, and completed sessions can be distilled into shorter episode memories.

The same index can be shared across Claude Code, Codex, Gemini CLI, Cursor, and Claude Desktop. A local dashboard provides search, graph exploration, memory management, health information, and configuration. The command-line interface also supports searching, indexing, status checks, agent connections, updates, and lifecycle management.

## How it works

Embeddings are generated on the local machine through Ollama. Retrieval combines vector matches, keyword matches, and relationships in a link graph. Decision records that have been superseded are given less weight, and a confidence gate controls which results qualify for automatic prompt context.

Agents can search when they choose through the `rhebok_search` MCP tool. In Claude Code, Codex, and Gemini CLI, prompt hooks can additionally inspect each prompt and inject relevant passages without requiring an explicit search call. Automatic context favors notes and does not include raw session transcripts by default.

## Setup and configuration

Supported installations require Apple silicon macOS or Linux on x86_64 or arm64 with glibc 2.39 or newer. Windows users can run the Linux build through WSL, while Intel Macs do not have a release build. Ollama and a compatible coding agent are required.

The installer can place `rhebok` on the PATH, download the embedding model, register the Claude Code plugin, and offer connections to other detected agents. Homebrew installation is also available. After installation, configure source folders, build the index, restart connected agents, and verify the setup with `rhebok status` and a test search. Subsequent indexing processes only changed files.

The optional session-distillation model creates episode memories. OCR support allows scanned PDFs to be processed; without it, text-based PDFs can still be indexed. A dashboard is available through `rhebok dashboard`, and a native Mac application can be opened with `rhebok app`.

## Tools and capabilities

- Search the indexed knowledge base from the terminal or through `rhebok_search`.
- Inject high-confidence passages into prompts through supported agent hooks.
- Index notes, papers, web clippings, and agent transcripts from selected folders.
- Preserve durable lessons and facts across sessions.
- Combine vector, keyword, and link-graph retrieval.
- Inspect search results, memories, graph relationships, settings, and health in the local dashboard.

## Limitations and notes

rhebok is designed for local use and has no telemetry. It can still access the network to check for releases, obtain its vector-search extension during initial index construction, download the OCR model for scanned PDFs, or fetch URLs added with `rhebok add <url>`. Optional remote embedding endpoints and backups to S3 or Google Drive can be enabled separately.

Native Windows support is planned rather than available as a native build. Intel Mac users need another supported platform. Removing rhebok normally keeps configuration, indexes, and memories; the purge option deletes those data sets along with the configuration and related local files.

_Full upstream README: https://allmcps.com/mcp/rhebok/readme_

