{"server":"com.receiptaudit/receipt-audit","count":5,"tools":[{"name":"check_receipt","title":"Check a receipt","description":"Extracts the fields of a receipt or invoice (image or PDF, by https URL or base64), checks its arithmetic, tax rate and dates, scores signs that it was edited or AI-generated (with reasons), and reports whether the same receipt was submitted before. Costs 1 credit, refunded if the file can't be read.","input_schema":{"type":"object","properties":{"api_key":{"type":"string","description":"For MCP clients that can't send an Authorization header. Prefer the header."},"image_url":{"type":"string","description":"Public https URL of the receipt image or PDF."},"mime_type":{"enum":["image/jpeg","image/png","image/webp","image/heic","image/heif","application/pdf"],"type":"string","description":"Only needed with image_base64 when the type can't be sniffed."},"image_base64":{"type":"string","description":"The file's bytes, base64-encoded (a data: URL prefix is fine). Max 8 MB."}},"additionalProperties":true},"output_schema":{"type":"object","required":["checkId","fields","checks","authenticity","duplicate","meta","creditsRemaining"],"properties":{"meta":{"type":"object","required":["model","ms","inputTokens","outputTokens"],"properties":{"ms":{"type":"number"},"model":{"type":"string"},"inputTokens":{"anyOf":[{"type":"number"},{"type":"null"}]},"outputTokens":{"anyOf":[{"type":"number"},{"type":"null"}]}},"additionalProperties":true},"checks":{"type":"array","items":{"type":"object","required":["code","passed","severity","message"],"properties":{"code":{"type":"string"},"passed":{"type":"boolean"},"message":{"type":"string"},"severity":{"enum":["info","warn","fail"],"type":"string"}},"additionalProperties":true},"description":"Deterministic checks: arithmetic, tax plausibility, dates, currency."},"fields":{"type":"object","required":["documentType","merchant","date","time","currency","receiptNumber","lineItems","subtotal","taxes","tip","discount","total","paymentMethod","cardLast4"],"properties":{"tip":{"anyOf":[{"type":"number"},{"type":"null"}]},"date":{"anyOf":[{"type":"string"},{"type":"null"}]},"time":{"anyOf":[{"type":"string"},{"type":"null"}]},"taxes":{"type":"array","items":{"type":"object","required":["label","rate","amount"],"properties":{"rate":{"anyOf":[{"type":"number"},{"type":"null"}]},"label":{"type":"string"},"amount":{"type":"number"}},"additionalProperties":true}},"total":{"anyOf":[{"type":"number"},{"type":"null"}]},"currency":{"anyOf":[{"type":"string"},{"type":"null"}]},"discount":{"anyOf":[{"type":"number"},{"type":"null"}]},"merchant":{"type":"object","required":["name","address","country","taxId","phone"],"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"phone":{"anyOf":[{"type":"string"},{"type":"null"}]},"taxId":{"anyOf":[{"type":"string"},{"type":"null"}]},"address":{"anyOf":[{"type":"string"},{"type":"null"}]},"country":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true},"subtotal":{"anyOf":[{"type":"number"},{"type":"null"}]},"cardLast4":{"anyOf":[{"type":"string"},{"type":"null"}]},"lineItems":{"type":"array","items":{"type":"object","required":["description","quantity","unitPrice","total"],"properties":{"total":{"anyOf":[{"type":"number"},{"type":"null"}]},"quantity":{"anyOf":[{"type":"number"},{"type":"null"}]},"unitPrice":{"anyOf":[{"type":"number"},{"type":"null"}]},"description":{"type":"string"}},"additionalProperties":true}},"documentType":{"enum":["receipt","invoice","other"],"type":"string"},"paymentMethod":{"anyOf":[{"type":"string"},{"type":"null"}]},"receiptNumber":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":true},"checkId":{"type":"string"},"duplicate":{"type":"object","required":["image","fields","seenBefore"],"properties":{"image":{"anyOf":[{"type":"object","required":["kind","distance","firstSeen","timesSeen","seenBySameOwner","seenByOtherOwners"],"properties":{"kind":{"enum":["exact","near"],"type":"string"},"distance":{"anyOf":[{"type":"number"},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"firstSeen":{"anyOf":[{"type":"number"},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"timesSeen":{"anyOf":[{"type":"number"},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"seenBySameOwner":{"type":"boolean"},"seenByOtherOwners":{"type":"boolean"}},"description":"kind: exact = same image or same fields; near = the same photo re-compressed, cropped or re-shot. distance: differing bits between image hashes (0 = identical). firstSeen: Unix ms. seenByOtherOwners: a different account (or web user) checked it before.","additionalProperties":true},{"type":"null"}]},"fields":{"anyOf":[{"type":"object","required":["kind","distance","firstSeen","timesSeen","seenBySameOwner","seenByOtherOwners"],"properties":{"kind":{"enum":["exact","near"],"type":"string"},"distance":{"anyOf":[{"type":"number"},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"firstSeen":{"anyOf":[{"type":"number"},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"timesSeen":{"anyOf":[{"type":"number"},{"enum":["Infinity","-Infinity","NaN"],"type":"string"}]},"seenBySameOwner":{"type":"boolean"},"seenByOtherOwners":{"type":"boolean"}},"description":"kind: exact = same image or same fields; near = the same photo re-compressed, cropped or re-shot. distance: differing bits between image hashes (0 = identical). firstSeen: Unix ms. seenByOtherOwners: a different account (or web user) checked it before.","additionalProperties":true},{"type":"null"}]},"seenBefore":{"type":"boolean"}},"additionalProperties":true},"authenticity":{"type":"object","required":["risk","signals"],"properties":{"risk":{"type":"number"},"signals":{"type":"array","items":{"type":"object","required":["code","weight","message","kind"],"properties":{"code":{"type":"string"},"kind":{"enum":["verifiable","opinion"],"type":"string"},"field":{"enum":["merchant","date","time","total","subtotal","tax","line_items","receipt_number","payment","whole_document"],"type":"string"},"weight":{"type":"number"},"message":{"type":"string"}},"additionalProperties":true}}},"description":"risk: 0 = looks genuine, 1 = almost certainly edited, generated or reused. Signals with reasons, not a verdict.","additionalProperties":true},"creditsRemaining":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991}},"additionalProperties":true},"annotations":{"title":"Check a receipt","readOnlyHint":false,"openWorldHint":true,"idempotentHint":false,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T14:54:19.436Z"},{"name":"create_api_key","title":"Create an API key","description":"Returns a new API key with 50 free checks, and a claim_url where a person can take over the account and add prepaid credits. One key serves every later call.","input_schema":{"type":"object","additionalProperties":false},"output_schema":{"type":"object","required":["api_key","credits","claim_url","docs_url","pricing_url"],"properties":{"api_key":{"type":"string","description":"Send as Authorization: Bearer <api_key>. Shown once: store it."},"credits":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991,"description":"Free checks included."},"docs_url":{"type":"string"},"claim_url":{"type":"string","description":"Where a person claims the account and adds credits. Valid 30 days."},"pricing_url":{"type":"string"}},"additionalProperties":true},"annotations":{"title":"Create an API key","readOnlyHint":false,"openWorldHint":false,"idempotentHint":false,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T14:54:19.436Z"},{"name":"create_claim_link","title":"Create a claim link","description":"Returns a new claim_url (valid 30 days) where a person can claim this account and buy credits.","input_schema":{"type":"object","properties":{"api_key":{"type":"string","description":"For MCP clients that can't send an Authorization header. Prefer the header."}},"additionalProperties":true},"output_schema":{"type":"object","required":["claim_url"],"properties":{"claim_url":{"type":"string","description":"Where a person claims this account and buys credits. Valid 30 days."}},"additionalProperties":true},"annotations":{"title":"Create a claim link","readOnlyHint":false,"openWorldHint":false,"idempotentHint":false,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T14:54:19.436Z"},{"name":"get_account","title":"Get account and credits","description":"Returns the remaining credits, whether a person has claimed the account, and how many checks it has run.","input_schema":{"type":"object","properties":{"api_key":{"type":"string","description":"For MCP clients that can't send an Authorization header. Prefer the header."}},"additionalProperties":true},"output_schema":{"type":"object","required":["status","credits","checks_run","key_prefixes"],"properties":{"status":{"enum":["unclaimed","claimed"],"type":"string","description":"unclaimed = no person has bought credits yet."},"credits":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"checks_run":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"key_prefixes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"annotations":{"title":"Get account and credits","readOnlyHint":true,"openWorldHint":false,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T14:54:19.436Z"},{"name":"report_feedback","title":"Report feedback","description":"Report a missing capability, a wrong result or a bug in a sentence or two. A person reads every report. Free, no key needed (send yours to link the report to your account).","input_schema":{"type":"object","required":["kind","message"],"properties":{"kind":{"enum":["missing_capability","wrong_result","bug","other"],"type":"string"},"api_key":{"type":"string","description":"For MCP clients that can't send an Authorization header. Prefer the header."},"message":{"type":"string","maxLength":2000,"minLength":3,"description":"What you were trying to do, what happened, what you needed."},"operation":{"type":"string","maxLength":60,"description":"The operation it's about, e.g. check_receipt."}},"additionalProperties":true},"output_schema":{"type":"object","required":["received","id"],"properties":{"id":{"type":"string"},"received":{"type":"boolean"}},"additionalProperties":true},"annotations":{"title":"Report feedback","readOnlyHint":false,"openWorldHint":false,"idempotentHint":false,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T14:54:19.436Z"}],"next_cursor":null,"next_actions":[{"action":"get_connection","description":"Connection block to call these tools","href":"/v1/servers/com.receiptaudit%2Freceipt-audit/connection?target=mcpServers","arguments":{"name":"com.receiptaudit/receipt-audit","target":"mcpServers"}},{"action":"get_server","description":"Full descriptor with trust and connectability","href":"/v1/servers/com.receiptaudit%2Freceipt-audit","arguments":{"name":"com.receiptaudit/receipt-audit"}}]}