O
ocr
/extract_document
extract document
Extract STRUCTURED FIELDS from a document image: invoices, receipts, ID cards — or any custom JSON schema you supply. Every field returns {value, confidence, bo
liveverifiedunknown~5s typical
mcpprobedocr
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-com-auto-reader-ocr /extract_document for me.
Input
| Field | Type | Description |
|---|---|---|
| image_base64* | string | The document image as base64 (data: URI prefix accepted). |
| preset | string (invoice | receipt | id | zatca) | Built-in schema. Use zatca for Saudi e-invoices (adds QR validation). |
| schema | object | Custom extraction schema instead of a preset: an object whose keys are the fields you want |
| lang | string | Language hint; default auto. default "auto" |
| api_key | string | Optional Auto-Reader OCR key (nsk_live_...). If omitted, a free trial key is auto-provisio |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"mcp-com-auto-reader-ocr","endpoint":"/extract_document","input":{"image_base64":"...","lang":"auto"}}'cli
npx cracked-ai run -p mcp-com-auto-reader-ocr -e /extract_document -i '{"image_base64":"...","lang":"auto"}'mcp
run_tool({ provider: "mcp-com-auto-reader-ocr", endpoint: "/extract_document", input: {"image_base64":"...","lang":"auto"} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.