Rhebok logo

Rhebok

Local semantic retrieval, durable memory, and automatic context injection for coding agents using your own files and sessions.

Install Rhebok

Run the project’s own setup commands, in order.

Setup steps from the project

rhebok installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    curl -fsSL https://github.com/Stellenbosch-Technologies/rhebok/releases/latest/download/install.sh | sh
    
  2. 2. Configure
    rhebok config set sources '["~/notes", "~/Documents/papers"]'
    
  3. 3. Check the setup
    rhebok status                        # every install check should pass
    

Overview

rhebok MCP server indexes local notes, papers, web clippings, and agent sessions into a searchable knowledge base. It creates embeddings locally through Ollama, combines semantic, keyword, and link-graph retrieval, and exposes on-demand search through MCP. Prompt hooks can also add high-confidence passages automatically, while durable memories preserve lessons and facts between sessions. Reach for rhebok when coding agents need access to personal technical knowledge without relying on a cloud memory service.

Use cases

  • Search personal notes while coding
  • Recall fixes from previous agent sessions
  • Inject relevant documentation into prompts
  • Index papers and web clippings locally
  • Inspect retrieval results in a dashboard

Key features

  • Local Ollama embeddings
  • Semantic, keyword, and graph retrieval
  • Automatic confidence-gated context injection
  • Cross-agent shared knowledge base
  • Durable session memories
  • Local dashboard and CLI

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars13Stargazers on the source repository.
Last commitTodayMost recent push to the default branch.

How Rhebok works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Rhebok

rhebok is an MCP server that connects coding agents to a local knowledge base of notes, papers, web clippings, and agent sessions. Its main search interfaces are the rhebok_search MCP tool and the rhebok search command, with optional hooks that inject high-confidence context into prompts automatically.

Install rhebok with its release installer or Homebrew, then run rhebok install. The installer can configure the Claude Code plugin and offer connections to detected agents. You need supported macOS or Linux, Ollama, and a compatible coding agent.

Yes, rhebok works with Cursor and lets it use the shared local knowledge base. Configure the source folders, build the index, connect Cursor, and restart the agent so it loads the connection.

rhebok uses prompt hooks to retrieve relevant passages and inject them only when they pass a confidence threshold. Automatic injection is supported for Claude Code, Codex, and Gemini CLI, and raw session transcripts are excluded by default in favor of notes.

No, rhebok can run without a cloud account because embeddings are generated locally through Ollama and telemetry is not used. Network access is still used for selected tasks such as release checks, initial extension or OCR downloads, and fetching URLs added to the index.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewRhebok AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/rhebok?style=directory)](https://allmcps.com/mcp/rhebok)
HTML Embed
<a href="https://allmcps.com/mcp/rhebok"><img src="https://allmcps.com/api/badge/rhebok?style=directory" alt="Rhebok on AllMCPs" /></a>