chatvault

v0.1.0
io.github.CloudCorpRecords/chatvault Checked 4 days ago Published 1 month ago

Search and read your local AI chat-history corpus: full-text search, transcripts, inventory.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_conversations

Full-text search across every past conversation. Returns ranked matches with highlighted snippets. Supports platform, title, date_from/date_to filters and a match_mode (any / all / phrase).

ParameterTypeDescription
query *stringThe full-text search query
date_fromstringOnly conversations updated on or after this date (ISO 8601)
date_tostringOnly conversations updated on or before this date (ISO 8601)
match_modestringHow query terms combine: any, all, or phrase
platformstringRestrict to one platform, e.g. claude or chatgpt
titlestringRestrict to conversations whose title contains this text

get_conversation_image

Read a retained local raster image using the message and image index returned by get_conversation. No private provider URL fetching or OCR.

ParameterTypeDescription
conversation_id *stringThe conversation id from search results
image_index *integerIndex of the image within the message
message_index *integerIndex of the message within the conversation

get_conversation

Fetch the full transcript of one conversation by its id (the id field from search results). The response carries contentFingerprint, the current fingerprint of the returned transcript.

ParameterTypeDescription
id *stringThe conversation id

list_conversations

List conversations by chronology, including oldest-first for questions about the user's earliest chat.

ParameterTypeDescription
limitintegerMaximum number of conversations to return
orderstringChronology direction

list_recent

List the most recently updated conversations with title, summary, and platform.

ParameterTypeDescription
limitintegerMaximum number of conversations to return

conversation_inventory

Paginated, read-only inventory of every conversation as compact metadata: id, platform, title, and a versioned content fingerprint. Call with no arguments to start a scan, then pass each page's nextCursor back as cursor until a page comes back without one. Pages hold up to 100 items.

ParameterTypeDescription
cursorstringAn opaque scan cursor from a previous page's nextCursor
limitintegerPage size, at most 100

corpus_status

Report when the corpus last received data and how many conversations it holds.

save_conversation

Add or update a conversation in the corpus, so MCP is also an ingestion route.

ParameterTypeDescription
messages *arrayThe conversation messages in order
platform *stringThe platform the conversation came from, e.g. claude
title *stringThe conversation title
idstringStable conversation id; omit to have one assigned

save_memory

Record a durable fact (a decision, preference, or correction) worth carrying into later chats. Stored turned off until the user reviews and enables it.

ParameterTypeDescription
text *stringThe fact to record