Skip to main content
Glama

Mindee MCP by usefulapi

Extract data from a document

mindee_extract_document

Submit a document (PDF or image) to a Mindee extraction model and return the structured fields. Provide EITHER document_url (a public URL) OR file_base64 (+ filename). This enqueues an inference and polls until it completes (up to ~30s); if it is still processing it returns a job_id you can poll with mindee_get_job then read with mindee_get_inference. NOTE: consumes Mindee API credits (paid, billed per page). V2 API: POST /v2/inferences/enqueue.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ragNoEnable Retrieval-Augmented Generation for the model, if configured.
aliasNoYour own reference tag echoed back in the job/result.
polygonNoReturn bounding-box polygons for fields.
filenameNoFilename for file_base64 uploads, e.g. 'invoice.pdf'.
model_idYesExtraction model id (from mindee_list_models).
raw_textNoAlso return the full OCR raw text of the document.
confidenceNoReturn per-field confidence levels (Certain/High/Medium/Low).
file_base64NoBase64-encoded document bytes. Use this OR document_url; set `filename` too.
webhook_idsNoWebhook ids to notify on completion (async flows).
document_urlNoPublic URL of the document to process. Use this OR file_base64.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.