Documentation
Context Vault docs
Everything to install Context Vault, connect it to Claude Code, Cursor, Codex or Windsurf, and keep your agent's memory useful.
Start here
One command installs the binary. A second connects it to your clients.
shell
curl -fsSL https://raw.githubusercontent.com/fellanH/context-vault/main/install.sh | sh
context-vault setupGuides
CLI commands
All 23 commands in context-vault 4.0.0, with the descriptions from the CLI's own help. Run context-vault --help for the full list and context-vault <command> --help for flags.
setup | Register the MCP server with AI tools |
|---|---|
mcp | MCP stdio server: what your client launches |
doctor | Diagnose the install: db and vault paths, engine health |
status | Print vault status: entry counts, health, resolved paths |
stats | Print vault statistics as JSON |
reindex | Rebuild the SQLite index from the markdown vault |
vault | Manage vaults in the ~/.context-mcp/vaults.json registry |
schema | Inspect or scaffold the per-vault taxonomy (vault.toml) |
save | Save an entry to the vault |
get | Retrieve an entry by ID |
search | Hybrid full-text and semantic search |
recall | Recall hints from a raw signal: prompt text, an error message or a file path |
list | List all entries with optional filters |
delete | Delete an entry by ID |
move | Move a file or folder within the vault; never overwrites |
ingest | Ingest from a URL |
ingest-project | Ingest from a project directory |
archive | Archive entries by criteria |
restore | Restore an archived entry |
summarize | Generate summaries for entries |
tier | Analyze and apply tier reassignments |
assemble | Assemble context from related entries |
session-end / recall-hint / post-tool-call | Hook targets for your client. Never fail loudly |
MCP tools
Your agent calls these. You do not call them directly.
get_context | Hybrid full-text and semantic search |
|---|---|
save_context | Save or update an entry |
list_context | Browse entries by kind, tags and date |
delete_context | Remove an entry by ID |
ingest_url | Fetch a page and save its readable content |
ingest_project | Scan a project directory into entries |
recall | Lightweight hints from a prompt, an error message or a file path |
session_end | Save a session summary and discoveries |
create_snapshot | Compile entries on a topic into one brief |
context_status | Vault health, file counts, database size |
list_buckets | List entries tagged as buckets |