Thoth banner
unknown-studio-dev unknown-studio-dev

Thoth

Development community

Description

Thoth is a Rust library (plus a CLI, an MCP server, and a Claude Code / Cowork plugin) that gives a coding agent a persistent, disciplined memory of a codebase

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Thoth

Thoth

"Thoth, scribe of the gods, keeper of knowledge."

Long-term memory for Claude Code agents. Rust-native, code-aware, zero API required.

English · Tieng Viet

ci Rust version license

[!WARNING] **Work in progress — not production-ready.** APIs, on-disk formats, and CLI flags may change without notice. Do **not** rely on it for production workloads yet.


What it is

Thoth gives a Claude Code agent persistent, disciplined memory of a codebase. It parses source with tree-sitter, builds a symbol graph (calls, imports, extends, references), indexes everything with BM25 (tantivy) and RRF fusion, and enforces a "recall before write" gate so the agent consults memory before mutating code.

Three binaries:

  1. thoth — CLI: setup, index, query, eval, memory ops.
  2. thoth-mcp — MCP stdio server (41 tools, 3 prompts, 2 resources).
  3. thoth-gate — PreToolUse hook: blocks writes without prior recall.

`thoth setup` wires everything — hooks, MCP server, skills, config — in one command.

Nothing leaves your machine unless you opt in.


Install

npx @unknownstudio/thoth        # downloads binary + runs setup wizard

Other channels: