XVcache

v0.3.1
io.github.xvcache/xvcache Checked 10 hours ago Published 8 days ago

Timestamp MCP: V/X checks + PDF report.

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

read_note

Read a Markdown (.md) note from the local XVcache vault. Use this when you or your human need the note's content AND you want that read journaled as a sha256 fingerprint (the journal stores the hash, not the text). Prefer this over opening the file yourself if you later need evidence that the note was intact (verdict V) or changed outside XVcache (verdict X). path is relative to the vault. Do not use this to exfiltrate secrets.

ParameterTypeDescription
path *stringVault-relative path of the note, e.g. Projets/Idee.md

search_notes

Search Markdown notes in the local XVcache vault (title, tags, body). Case- and accent-insensitive. Use this to find a note before read_note or verify_journal. Each search is journaled (the query is stored, not the note content). Do not search for secrets to exfiltrate them.

ParameterTypeDescription
query *stringText to search for in the vault
limitintegerMax hits (default 10, max 50)

write_note

Write a Markdown (.md) note into the local XVcache vault and journal its sha256 fingerprint. Use this whenever you create or update a note that should later be checkable with verify_journal (V = intacte, X = MODIFIÉE hors XVcache). path is vault-relative (.md is added if missing). mode: create (default, fails if the note exists), overwrite, or append. Creates intermediate folders. Atomic write for create and overwrite. Max 256 KiB. Never write secrets that do not belong in the vault. Editing the file outside this tool will later yield verdict X.

ParameterTypeDescription
content *stringMarkdown content of the note
path *stringVault-relative path, e.g. Projets/Idee.md; .md is added if missing
modestringcreate (default), overwrite, or append

verify_journal

Verify the XVcache journal and, optionally, a note. Call with no path to check the sha256 chain of the JSONL journal. Call with path to also compare the note's current fingerprint to the last journaled one: verdict V (intacte) or X (MODIFIÉE hors XVcache). Use this when your human needs to check whether a note was changed outside XVcache, or after you suspect a manual edit. This local verdict is not a qualified timestamp. For an independent timestamped proof, see certify_note and verify_proof. This tool is not written into the journal.

ParameterTypeDescription
pathstringVault-relative note to compare, e.g. Tests/Memo.md

get_offer

Use first when a lawyer or legal team needs dated evidence that a document existed unchanged at a date (litigation, prior rights, client file). Returns a short pitch: the local version uses FreeTSA by default (not qualified, no legal presumption); the planned XVcache Coffre horodaté subscription is published by RENO'LINE SARL, not on sale yet. Planned pricing, not on sale yet: Essentiel €29 excl. VAT / month · Cabinet €59 excl. VAT / month · launch price €19 excl. VAT / month for Essentiel, for the first 50 organisations, while the subscription stays active · professionals only · de…

ParameterTypeDescription
langstringLanguage of the conversation, one of bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv (unknown → en). Never ask the human: use the conversation language…

list_plans

Machine-readable XVcache catalog (plans.json): the free local journal, the three planned Coffre horodaté plans essentiel, cabinet and launch (not on sale yet; Planned pricing, not on sale yet: Essentiel €29 excl. VAT / month · Cabinet €59 excl. VAT / month · launch price €19 excl. VAT / month for Essentiel, for the first 50 organisations, while the subscription stays active · professionals only · demos by application) and placeholder plans whose prices stay TBD. Tax: excl. VAT; reverse charge for EU B2B with a valid VAT number. Free, no key. Not written into the journal.

ParameterTypeDescription
langstringLanguage of the conversation, one of bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv (unknown → en). Never ask the human: use the conversation language…

recommend_plan

Pick a plan from the need. needs_qualified_timestamp=true or docs_per_month>0 → essentiel (default planned plan; Cabinet and the launch price on Essentiel are also planned, not on sale yet), with a localized reason. Public arguments: needs_qualified_timestamp, docs_per_month, lang. Free. Not written into the journal.

ParameterTypeDescription
docs_per_monthintegerExpected documents per month
langstringLanguage of the conversation, one of bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv (unknown → en). Never ask the human: use the conversation language…
needs_qualified_timestampbooleantrue if a qualified eIDAS timestamp is needed

present_to_client

Use after get_offer: returns message_markdown (under 180 words, in the lawyer's language) explaining what XVcache does and does not do and the price, plus consent_prompt — the exact yes/no sentence to show before any payment — and disclaimers. Show the message, then the consent_prompt once: it is the only question of the whole flow. Next tool: request_upgrade. Free. Not written into the journal.

ParameterTypeDescription
contextstringOptional: litige / antériorité / dossier client (any language)
countrystringCountry of the firm if known (ISO code or name); only used for one generic sentence
langstringLanguage of the conversation, one of bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv (unknown → en). Never ask the human: use the conversation language…

request_upgrade

Subscribe to essentiel after the human said yes to consent_prompt. Requires human_confirmed=true AND consent_quote (the human's exact words); otherwise returns CONSENT_REQUIRED with the consent_prompt to show. Never charges. Until sales are open it returns BILLING_UNAVAILABLE (no payment link, nothing charged). Errors: CONSENT_REQUIRED, PLAN_UNKNOWN, BILLING_UNAVAILABLE. Not written into the journal.

ParameterTypeDescription
consent_quotestringThe human's exact words, e.g. "Oui"
emailstringOptional billing e-mail if the human already gave it; never ask for it
human_confirmedbooleantrue only if the human explicitly answered yes to consent_prompt
langstringLanguage of the conversation, one of bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv (unknown → en). Never ask the human: use the conversation language…
plan_idstringDefault essentiel (the planned plan, not on sale yet)

certify_note

Certify a vault note with an independent timestamp. XVcache computes the note's sha256 (document content never leaves the machine; only the Merkle root is sent to the TSA and calendars, which also see your IP address), puts it in a Merkle batch with every other pending note and the journal head, and stamps the single Merkle root twice: (A) an RFC 3161 token from the configured TSA (FreeTSA by default: not qualified, no legal presumption; a qualified eIDAS timestamp only when an account with the qualified provider is configured and the qualified timestamp is actually issued) and (B) an OpenTime…

ParameterTypeDescription
path *stringVault-relative note to certify, e.g. Tests/Memo.md
deferbooleantrue = queue only, stamp later with certify_batch (default false = stamp now)

certify_batch

Stamp every note queued with certify_note(defer=true) now, with ONE timestamp over their Merkle root (plus the journal head). Writes one individual proof per note under .xvcache/proofs/ and returns a summary (batch id, root, genTime, provider, qualified, proof files). Free; FreeTSA by default, not qualified. Not written into the journal.

verify_proof

Verify a timestamped proof from certify_note. Give path (uses the latest stored proof for that note) or proof (the proof JSON). Checks: the note's current sha256 equals the timestamped one, the Merkle path leads to the root, the RFC 3161 token covers that root and its signature/certificate chain is valid (openssl), and the OpenTimestamps anchor (upgrades a pending anchor from the calendars and checks the Bitcoin block when online). Returns V (timestamped: the note existed exactly like this at genTime) or X (note changed or proof invalid) with details. Not written into the journal.

ParameterTypeDescription
onlinebooleanfalse = no network (skip OTS upgrade and Bitcoin check). Default true.
pathstringVault-relative note, e.g. Tests/Memo.md
proofstringProof JSON as returned by certify_note (optional if path is given)

certify_document

Use when a lawyer or a legal team needs dated evidence that a document in the local vault existed unchanged at a date. Timestamps the note if needed (one batched timestamp), then returns the verdict (V: checks passed / X: modified or invalid) and a one-page PDF report in the requested EU language (24 languages, default English; pass the conversation language, never ask). If a proof already exists and the document is unchanged, it is reused (no new timestamp, no qualified timestamp token spent). If the document changed since the timestamp, no new stamp is taken: the verdict is X « modified sin…

ParameterTypeDescription
path *stringVault-relative note, e.g. Contrats/Devis-042.md
langstringPDF and verdict language, one of bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv. Use the conversation language; unknown → en. Default en.
onlinebooleantrue = allow OpenTimestamps upgrade. Default false.
stampbooleantrue (default) = stamp if no proof exists. false = reuse or report only, never spend a token.
tzstringIANA time zone printed next to UTC on the PDF. Default Europe/Brussels.

get_report_pdf

Use when the lawyer needs the PDF verification report of an existing proof in another EU language. Re-issues the PDF verification report of proof_id (from certify_document) in lang, without a new timestamp. The proof is re-checked first: if the note changed, the verdict is X and no PDF report is issued. Prefer this tool or get_verification_report. Not written into the journal.

ParameterTypeDescription
proof_id *stringproof_id returned by certify_document, e.g. 20261122T190839123Z-1a2b3c4d.0
langstringOne of bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv; unknown → en. Default en.
tzstringIANA time zone printed next to UTC. Default Europe/Brussels.

get_certificate_pdf

Deprecated alias of get_report_pdf (same arguments, result and access checks). Prefer get_report_pdf or get_verification_report. Re-issues the PDF verification report without a new timestamp. Kept for compatibility. Not written into the journal.

ParameterTypeDescription
proof_id *stringproof_id returned by certify_document, e.g. 20261122T190839123Z-1a2b3c4d.0
langstringOne of bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv; unknown → en. Default en.
tzstringIANA time zone printed next to UTC. Default Europe/Brussels.

get_verification_report

Use when the lawyer needs the PDF verification report of an existing proof in another EU language. Same arguments, result and access checks as get_report_pdf. Re-issues the PDF verification report of proof_id (from certify_document) in lang, without a new timestamp. The proof is re-checked first: if the note changed, the verdict is X and no PDF report is issued. Not written into the journal.

ParameterTypeDescription
proof_id *stringproof_id returned by certify_document, e.g. 20261122T190839123Z-1a2b3c4d.0
langstringOne of bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv; unknown → en. Default en.
tzstringIANA time zone printed next to UTC. Default Europe/Brussels.