Server data from the Official MCP Registry
Search and read your local AI chat-history corpus: full-text search, transcripts, inventory.
About
Search and read your local AI chat-history corpus: full-text search, transcripts, inventory.
Security Report
chatvault is a local-only MCP server that reads and writes a JSON conversation corpus on disk with no network calls, no shell execution, and no dynamic code evaluation in the reviewed source. Its permissions (file_read, file_write, env_vars) match its stated purpose, and the write tools are gated by a read-only mode. Remaining findings are minor: no authentication (acceptable for a local stdio server), unvalidated conversation ids used in file paths, and sensitive conversation content exposed to any connected MCP client. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.
8 files analyzed · 8 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"chatvault": {
"command": "npx",
"args": [
"-y",
"@reneturcios/chatvault@0.1.0"
]
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub README.
chatvault
Your past AI chats are already on your disk. chatvault lets an MCP client search them, reopen them, and take stock of them — without any of that history leaving the machine. There is no account, no upload and no network call: the server reads a folder of JSON files that you control.
Configuration
CHATVAULT_CORPUS_DIR(optional) — where the corpus lives. Defaults to~/.chatvault/corpus.CHATVAULT_READ_ONLY(optional) — set to1to make the two write tools (save_conversation,save_memory) refuse with an error naming the mode. Reads keep working.
Corpus layout
One JSON file per conversation, plus memories.json:
{
"id": "abc",
"platform": "claude",
"title": "Planning a trip",
"updatedAt": "2026-10-01T12:00:00.000Z",
"messages": [
{ "role": "user", "text": "Where should we go?" },
{ "role": "assistant", "text": "Some ideas..." }
]
}
A message may also carry formattedText and images
({mime, dataBase64} entries holding retained image bytes).
A conversation may carry a localTitle. An empty or missing
corpus directory is fine: searches and lists simply come
back empty.
Every conversation has a content fingerprint, fp2:
followed by a SHA-256 hex digest. The digest covers the
title, the local title when set, and every message in order
— its index, role, text, formatted text when present, and
each image's mime and retained bytes. Timestamps and derived
fields are left out, so re-saving the same content keeps the
same fingerprint while a rename or an edited message changes
it. The exact serialisation (canonical JSON with sorted
keys) is a labelled reconstruction.
Tools
search_conversations— tokenised full-text search over titles and message text. Required:query. Optional:platform(exact match),title(substring),date_fromanddate_to(againstupdatedAt), andmatch_mode—any(default),all, orphrase. Results are ranked by match count, then recency, and carry snippets.get_conversation_image— the stored image for a message. Required:conversation_id,message_index,image_index. Returns the mime type and base64 bytes; a missing image is an honest error.get_conversation— the full transcript forid, with acontentFingerprintfield.list_conversations— conversations byupdatedAt. Optionalorder(newest_firstdefault, oroldest_first) andlimit.list_recent— most recently updated conversations with title, a short summary (an excerpt of the first user message — a reconstruction), and platform. Optionallimit.conversation_inventory— a snapshot-paged inventory of compact{id, platform, title, fingerprint}items. Call with no arguments to start a scan, then pass each page'snextCursorback ascursor. Pages hold at most 100 items;limitcan make them smaller. At most eight snapshots are held, and an unknown or expired cursor is an error asking you to start a new scan.corpus_status—{lastReceivedAt, count}for the corpus;lastReceivedAtis null when the corpus is empty.save_conversation— add or update a conversation. Required:platform,title,messages. Whenidis omitted one is assigned (chatvault:<n>). Returns{id, fingerprint}.save_memory— store a durable fact fromtext. The record is appended tomemories.jsonturned off (enabled: false) until you review and enable it, and the stored record is returned.
Search and list results also carry a corpus block —
{lastReceivedAt, count} — so a caller can tell how fresh
and how large the corpus behind an answer is.
CLI
npx @reneturcios/chatvault corpus_status '{}'
npx @reneturcios/chatvault search_conversations '{"query":"trip"}'
npx @reneturcios/chatvault --version
Output is the tool's result text. Exit codes: 0 on
success, 1 on an error result, 2 on a usage error.
MCP server
npx -y @reneturcios/chatvault mcp
MCP client config:
{
"mcpServers": {
"chatvault": {
"command": "npx",
"args": ["-y", "@reneturcios/chatvault", "mcp"],
"env": {
"CHATVAULT_CORPUS_DIR": "/path/to/corpus"
}
}
}
}
Docker
docker run -i -v /path/to/corpus:/corpus -e CHATVAULT_CORPUS_DIR=/corpus ghcr.io/cloudcorprecords/chatvault
docker run --rm ghcr.io/cloudcorprecords/chatvault --version
Development
npm install
npm run build # tsc -> dist/
npm test # tsx --test test/*.test.ts (temp corpus dirs, no network)
npm run dev # run the CLI from source
License
MIT — Copyright (c) 2026 Rene Turcios
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
