mcp-business-pdf-field-extractor

v1.0.3
com.mambabuilt/mcp-business-pdf-field-extractor Checked 1 day ago Published 4 days ago

Fixed fields and line items from invoice, purchase order, and contract PDFs, with OCR, no AI

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

extract_business_pdf_fields Extract fields from business PDFs

Read invoices, purchase orders, and contracts from PDF addresses and return fixed fields: numbers, dates, parties, totals, line items, and a totals check, or contract parties, dates, term, renewal, notice days, governing law, and clauses found. Scans go through OCR. Rule based with no AI, so a value with no known label stays null. Pay per event on Apify: 0.01 USD per document, 0.015 USD per scanned page.

ParameterTypeDescription
date_orderstringHow to read a date such as 03/04/2025 when both readings are valid. mdy (default) reads March 4, dmy reads 3 April. Unambiguous dates ignore this.
document_typestringauto (default) works it out per file. Set invoice, purchase_order, or contract to read every file as that type.
include_textbooleanyes: add the document text to the row, up to 200,000 characters. Default no.
line_item_rowsbooleanyes (default): each line item is also its own free row, which suits CSV and Clay. no: line items stay in the line_items field only.
max_charge_usdstringOptional. The run stops before a charge that would pass this amount. Summary rows are always returned.
max_documentsnumberFiles to read in this run, up to 1,000. Default 100.
max_ocr_pagesnumberScanned pages to read per file, up to 100. Default 10. This caps the OCR charge per file.
max_pagesnumberPages to read per file, up to 500. Default 50.
ocr_languagestringLanguage of scanned pages: eng (default), deu, fra, spa, nld, ita, or por.
pdf_filestringOptional. One PDF file from your computer, stored in your Apify account.
pdf_urlsarrayWeb addresses of PDF files, up to 1,000. Each file up to 40 MB. The address must answer without a login. In Clay, put the column in a one item list.
read_scansbooleanyes (default): a page with no text layer goes through OCR, charged per page. no: those pages are skipped and the row says so.