APEX PSI

v1.3.2
io.github.kawal393/apex-psi-mcp Checked 1 day ago Published 17 hours ago

Append-only evidence receipts for AI records: seal, verify, cite, chain-check, anchor status.

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

seal Seal content

Record content in the APEX PSI append-only ledger and return a receipt: SHA-256 hash, an Ed25519 signature over the Merkle leaf, and post-quantum ML-DSA-65 (plus LMS-W4-SHA256 when a slot is available — the receipt's own algorithm field states which). Proves that this content existed and has not changed since the timestamp. It never proves the contents are true. Free tier: 20 operations/minute, 100/day, no account needed. Side effect: it appends one record to the public ledger; nothing is edited or deleted. Output: a receipt in JSON, with the hash, the signature algorithms that receipt carri…

ParameterTypeDescription
content *stringThe content to seal (text, up to 10000 characters)
contextstringOptional context label (e.g. document name, case ID)
model_idstringOptional model/agent identifier producing the seal
predicatestringOptional predicate describing why this is sealed

verify Verify a receipt

Confirm a seal's integrity against the APEX PSI append-only ledger. Accepts a receipt object (from the seal tool) or a raw SHA-256 hash. Reports whether the hash is present and anchored — integrity, not the truth of the original content. Read-only: nothing is written and no record changes. Output: a JSON report stating whether the hash was found and whether it is anchored. A failure returns a tool error whose text is JSON: { success: false, error }.

ParameterTypeDescription
hashstringA SHA-256 hash to look up in the ledger (with or without 'sha256:' prefix)
receiptobjectA receipt object as returned by the seal tool

anchor Bitcoin anchoring history

Read the Bitcoin (OpenTimestamps) anchoring record for the ledger's Merkle roots. Defaults to action:'history', which is read-only and returns each anchor transaction with its txid, block height, confirmation state and how many ledger entries it covers. Pass action:'verify' with a txid to check one transaction, or action:'anchor' to explicitly request that pending roots be aggregated and submitted to the OTS calendars. Defaults to 'history' so a routine call never triggers a batch write. An anchor counts as confirmed only when a real Bitcoin block contains it. Read-only for action 'history' an…

ParameterTypeDescription
actionstring'history' reads the anchored transactions (default); 'verify' checks one txid; 'anchor' explicitly requests anchoring of pending roots
txidstringBitcoin transaction id — required only when action is 'verify'

cite Generate citation

Generate a citation for a sealed receipt in APA, BibTeX, or MLA format, citing the APEX PSI ledger entry. Read-only and entirely local: it formats a citation from the receipt you pass in and makes no network call. Output: the citation string in the format you asked for.

ParameterTypeDescription
receipt *objectA receipt object as returned by the seal tool
formatstringCitation format (default: apa)

verify_chain Verify a receipt chain

Independently verify a chain of receipts against the APEX PSI ledger. Recomputes each hash's presence and integrity and reports Merkle chain continuity. Returns a verification report — a recomputation result, not an opinion or a certification. Read-only: it only looks receipts up and recomputes the chain; nothing is written. Output: a JSON report per receipt (found, verified) and an overall chain-intact verdict. A failure returns a tool error whose text is JSON: { success: false, error }.

ParameterTypeDescription
receipts *arrayArray of receipt objects to verify (in order)