Mindee MCP by usefulapi

v1.41.1
io.usefulapi/mindee Checked 3 days ago Published 1 day ago

Turn PDFs and images into typed fields — invoices, receipts, IDs and custom models — via Mindee OCR.

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

mindee_list_models List extraction models

List the document-extraction models available to your Mindee account (id, name, type). Use a model's `id` as the model_id for mindee_extract_document. V2 API: GET /v2/search/models.

ParameterTypeDescription
model_typestringOptional model type filter.
namestringOptional case-insensitive name filter, e.g. 'invoice'.

mindee_get_job Get job status

Check the processing status of an enqueued document by job id. Status is Waiting | Processing | Processed | Failed. When Processed, the response carries a result_url; pass that inference id to mindee_get_inference. V2 API: GET /v2/jobs/{job_id}.

ParameterTypeDescription
job_id *stringJob id returned by mindee_extract_document (when it times out) or an enqueue call.

mindee_get_inference Get extraction result

Fetch the structured result of a completed inference by id, returned as a compact map of extracted fields (plus raw_text if it was requested). V2 API: GET /v2/inferences/{inference_id}.

ParameterTypeDescription
inference_id *stringInference id (from a Processed job's result_url, or from mindee_extract_document).
rawbooleanReturn the full unshaped API response instead of the compact fields map. Default false.

mindee_extract_document Extract data from a 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.

ParameterTypeDescription
model_id *stringExtraction model id (from mindee_list_models).
aliasstringYour own reference tag echoed back in the job/result.
confidencebooleanReturn per-field confidence levels (Certain/High/Medium/Low).
document_urlstringPublic URL of the document to process. Use this OR file_base64.
file_base64stringBase64-encoded document bytes, files up to about 2.3 MB (use document_url for larger ones). Use this OR document_url; set `filename` too.
filenamestringFilename for file_base64 uploads, e.g. 'invoice.pdf'.
polygonbooleanReturn bounding-box polygons for fields.
ragbooleanEnable Retrieval-Augmented Generation for the model, if configured.
raw_textbooleanAlso return the full OCR raw text of the document.
webhook_idsarrayWebhook ids to notify on completion (async flows).