Purpose: This MCP server provides an MCP interface for the Business PDF Field Extractor actor on Apify, used to read invoices, purchase orders, and contracts from PDFs by fixed fields.
Main capabilities: After PDF URLs are provided, the actor reads the text of each file, or performs OCR on scanned pages, determines whether the document is an invoice, purchase order, or contract, and returns fixed fields. Invoices and purchase orders return number, date, parties, total, line items, and a check of whether the sum of amounts is consistent. Contracts return parties, date, term, renewal, notice days, governing law, and which standard clauses appear. Processing is based on labels and column positions and does not use AI, so values with no known label remain null and are listed as missing.
Usage: All work runs on Apify; this package is a lightweight client responsible for starting actor runs, waiting for completion, and returning dataset rows. It requires Node.js 18 or higher and an Apify account with an API token. Add the configuration to Claude Desktop's claude_desktop_config.json, Cursor, or any MCP client; after restarting the client, the extract_business_pdf_fields tool appears. APIFY_TOKEN must be obtained from console.apify.com/account/integrations and set; the server can list tools without a token, but calls require a token. Example prompts include extracting invoice PDF fields, reading a purchase order and listing line items, and querying renewal and notice wording in contract PDFs. There is only one tool: extract_business_pdf_fields; its parameters cover all buyer-facing inputs of the actor, and omitted inputs use the actor's own defaults.
Use cases: Suitable for business document processing scenarios that require batch extraction of structured fields from invoices, purchase orders, and contracts, including OCR of scanned documents and line item reading.
Limitations: Does not use AI, so unknown-label fields cannot be inferred; billing is pay-per-event on Apify, charged to the Apify account, with prices in USD; line item rows, documents from which no fields were read, download failures, and rejected inputs are free; Mamba Labs bears the platform costs of running, including Apify proxyTraffic. The license is MIT.