1. Conduid
  2. RAG
  3. Ctxvault
MCP server · RAG

Ctxvault

Local memory infrastructure for AI agents. Store knowledge and skills in isolated vaults you compose, control and query.

68Good

Scored 1 hours ago · breakdown

About Ctxvault

Ctxvault is an MCP server published by Filippo-Venturini in the RAG category: local memory infrastructure for AI agents. Store knowledge and skills in isolated vaults you compose, control and query. Conduid read 18 tools from its source: confirm_episode, dispute_episodes, episode_history, invalidate_episode, list_docs, list_entities and 12 more. It is published to PyPI as ctxvault and runs with uvx.

The repository has 71 stars and 19 forks, is licensed MIT, and its last commit was on 23 Nov 2026. The latest release is v0.8.1 (12 Oct 2026): v0.8.1 A vault can now be asked what it is about. It follows v0.8.0 (8 Oct 2026), and the 5 most recent releases go back to v0.6.4 (27 May 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include chromadb, cli-tool, embeddings, fastapi, knowledge-base and langchain.

Install

uvx
uvx ctxvault
pip
pip install ctxvault
From source
git clone https://github.com/Filippo-Venturini/ctxvault

Tools (18)

confirm_episodeRecord that a statement already in the vault was asserted again. Use this when you hear something the vault already holds, instead of writing it a second time: the episode stays as it is and gains one attestation, so a fact heard once can be told from one heard many times.
dispute_episodesRecord that two open statements cannot both hold, when you cannot tell which one is wrong. Neither is closed: both keep coming back from queries, each flagged with the other in disputed_with, so you can ask instead of assert. The dispute ends by itself when one side is invalidated or superseded. If you do know which one is wrong, use supersede_episode or invalidate_episode instead.
episode_historyShow every version of a statement, oldest first, plus the confirmations, disputes and closes on that chain, each with any metadata stored on the event. A confirmation copied onto a revision is listed once, on the episode that first recorded it. Use this to explain why the vault believes something, or to see what an episode used to say before it was corrected.
invalidate_episodeMark an episode as no longer true, without deleting it. Use this when something ends and nothing replaces it. If a corrected version exists instead, use supersede_episode so the two stay linked.
list_docsList all indexed documents inside a specific vault. Use this to understand what knowledge is available before performing a search.
list_entitiesList the entities an episodic vault knows about, with how many episodes mention each one. This is the vault's vocabulary: use it to find out what subjects exist before querying for them, to spot the name a person or thing is recorded under, or to see what has gone quiet. Unlike query_episodes it enumerates rather than ranks, so nothing is left out. By default only entities named by statements that still hold are listed; pass include_closed to see everything the vault ever recorded.
list_skillsList all available skills inside a specific vault. Use this to understand what skills are available before trying to fetch one.
list_vaultsList all available vaults. Use this before querying or writing to discover which vaults exist and choose the right one.
querySearch for relevant information in a CtxVault vault using semantic similarity. Use this when the user asks a question that might be answered by their personal knowledge base or documents. Returns the most relevant text chunks with their source files.
query_episodesRetrieve episodes from an episodic vault. By default only statements that still hold are returned. Filter by entity for 'everything about X', pass valid_at to ask what was true at a past moment, or known_at to ask what the vault had already learned by then. event_metadata_filters keeps episodes that have a confirm, dispute, close or reopen carrying those keys; with known_at, only events recorded by then match, including attestations inherited by a revision. Query text is optional and ranks results; without it the newest come first.
read_skillRead one skill from a skill vault: its name, description and full instructions. Use this after list_skills, once you know which procedure fits the task, and follow the instructions it returns.
reopen_episodeMake a closed episode current again, without erasing the close. Use this to undo an invalidate, or to bring back a superseded statement after its successor has itself been closed. A revised original cannot be reopened: attestations and disputes already moved to the revision, so reopen or close that instead. An as-of query between the close and the reopen still sees the episode as closed. If a successor is still current, close it first; this tool will not close it for you.
revise_episodeRestate an episode more precisely, when the world did not change but you can now say it better ('lives in Padova' -> 'lives in Padova, in the Arcella'). The revision opens where the original did and inherits its attestations and open disputes; the original stays in the history but is no longer what the vault states. Use supersede_episode instead when the world changed.
supersede_episodeReplace an episode with a corrected or updated version. The old statement is closed exactly where the new one begins and the two are linked, so the history of what changed stays readable. Entities and salience carry over from the old episode unless you pass new ones. Use this whenever new information contradicts something already recorded.
warmup_statusCheck if the embedding model has finished initializing. Use this to verify warmup status before attempting queries or writes.
write_docSave new information or agent-generated content to a semantic vault for future retrieval. Use this only with semantic vaults, to persist important context, summaries, or notes that should be remembered across sessions. Supports .txt, .md, .docx, .html, and .csv formats.
write_episodeRecord something that happened or something the user stated, in an episodic vault. Use this for facts with a lifetime — situations, preferences, relationships, plans — rather than for documents. Give the entities it is about so it can be looked up later, and a salience between 0 and 1 for how much it matters.
write_skillCreate and store a new skill in a skill vault. Use this to persist procedural knowledge, instructions, or how-to guides that agents can retrieve and execute later. The skill will be indexed by name and description for fast lookup. Use this only with skill vaults.

Security checks

  • ✓README presentThe repository's README runs to about 5.0K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionScanned 36 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

Releases

v0.8.1v0.8.1 · 12 Oct 2026v0.8.1 A vault can now be asked what it is about. Since 0.8.0 an episodic vault could be searched by entity but not asked which entities it holds. The only way to find out was to read them off query results, and a query stops at 200: past…
v0.8.0v0.8.0 · 8 Oct 2026CtxVault v0.8.0 CtxVault v0.8.0 adds episodic vaults, a third vault type for statements that have a lifetime. Where a semantic vault answers "what do we know" and a skill vault answers "how do we do this", an episodic vault answers "what…
v0.7.1v0.7.1 · 29 Jun 2026CtxVault v0.7.1 CtxVault v0.7.1 lets you choose which sentence-transformers embedding model each semantic vault uses, configured once at init time and pinned for all indexing and querying on that vault. Added Per-vault embedding model…
v0.7.0v0.7.0 - Semantic reindex delegation fix · 17 Jun 2026CtxVault v0.7.0 CtxVault v0.7.0 fixes a stale keyword argument being forwarded during semantic vault reindexing, which caused reindex operations to fail silently on certain vault configurations. Fixed Dropped stale `vault_config` kwarg in…
v0.6.4v0.6.4 — Indexed document inspection · 27 May 2026CtxVault v0.6.4 adds the ability to inspect and export the text currently stored in a semantic vault, without touching the source file on disk. Added Indexed document inspection — `ctxvault docs <vault> --show <doc-id>` displays the text…

README

The repository's README runs to about 5.0K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Ctxvault

How do I install Ctxvault?

Run uvx ctxvault, then add the server to your MCP client's configuration.

Is Ctxvault safe to use with an AI agent?

Its trust score is 68 out of 100 (good). It passes all 5 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Ctxvault still maintained?

Yes — the latest release is v0.8.1 (12 Oct 2026), and the last commit was 8 days ago. The repository has 71 stars and 2 open issues.

What tools does Ctxvault provide?

Conduid read 18 tools from the source: confirm_episode, dispute_episodes, episode_history, invalidate_episode, list_docs, list_entities, list_skills, list_vaults and 10 more.

What license is Ctxvault released under?

The repository declares the MIT license. That applies to the latest release, v0.8.1, as well.