Head to head · OCR · October 2026 research run

Mathpix OCR API vs Unstructured API + MCP

Mathpix OCR API scores 61.7 (C) on agent readiness against Unstructured API + MCP's 44.9 (E), and leads in 4 of 7 scored categories. Unstructured API + MCP leads on payments & pricing. Both do ocr.

Best document parsing, OCR and extraction APIs for AI agents · All 253 documents comparisons

Which one, for what

Mathpix OCR API C

Best for Converting scientific and technical documents, equation images, tables and handwriting into LaTeX or Markdown at a few tenths of a cent per image, for teams that accept a card and a setup fee.

Ahead on

  • Reliability, 85 against 27
  • Security & auth, 58 against 47

Also in its favour

  • No incidents deducted, where Unstructured API + MCP loses 6 points for them

Watch for

An API key needs a card and a one-time $19.99 setup fee, and no free API tier was found

Unstructured API + MCP E

Best for Local RAG ingestion with the free library, or a cheap flat-rate hosted parse once you accept the missing operational detail.

Ahead on

  • Payments & pricing, 60 against 30

Also in its favour

  • Free to start without a card
  • Open source

Watch for

No status page, no published rate limits and no SLA

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Reliability Mathpix OCR API +58

Mathpix OCR API 85

A public Instatus page lists the OCR API in three regions and Snip (20). Its history page shows 100.0% uptime for September, October and November 2026 and no notices in 7 days, so the record is clean (30). Limits are published with numbers, 200 synchronous requests a minute and 20,000 pages a month per key (15). The error docs mark http_max_requests (429) as retryable with exponential backoff, and no Retry-After header or idempotency guidance was found (10 of 15). The product page's 99.99% uptime is a marketing figure and no SLA for a paid tier was found (0). The v3 endpoints are generally available (10). Total 85.

Unstructured API + MCP 27

Readings on the docs and pricing pages are per the 1 October check, not re-read on 5 November (the website terms bar robots on unstructured.io and its docs). No status page found, status.unstructured.io didn't resolve (0). No incident history to read (5). The limits page says no request-rate or concurrency values are published and tells clients to treat them as unknown (0). The recovery guide maps rate_limited to 429, says to back off and wait for Retry-After when it's sent, and says to check existing job IDs before resubmitting, safe-retry guidance with no idempotency key (12 of 15). No SLA found (0). Transform wasn't labelled beta in the pages read (10). 0+5+0+12+0+10 = 27.

Payments & pricing Unstructured API + MCP +30

Mathpix OCR API 30

No x402, MPP or L402 (0). Per-image and per-page prices are public without a login (30). A card and a $19.99 non-refundable setup fee come before the first key, and the $29 test credit follows payment, so there is no card-free trial for the API (0). Access needs a browser sign-up and a card, and no programmatic route was found (0). Total 30.

Unstructured API + MCP 60

Pricing per the 1 October check, not re-read on 5 November (the website terms bar robots on unstructured.io and its docs). No x402, MPP or L402 (0). $0.015 a page after the free pages, on the public pricing page (20). 10,000 free pages with no card (20). A person signs up in a browser (0). 0+20+20+0 = 40. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.

Security & auth Mathpix OCR API +11

Mathpix OCR API 58

A revocable app_id and app_key pair per key, with a disable switch for a leaked key, per-key limits and five-minute app tokens for client apps, and no scopes (22 of 30). Members have roles and keys carry limits, but no read-only or per-endpoint scopes were found (8 of 20). OCR output is untrusted text from user documents and no injection guidance was found (3 of 15). A usage tab with alerts, a results tab and hourly usage by key give per-call visibility (11 of 15). SOC 2 Type 2, a yearly third-party penetration test and a security contact are stated, and no bug bounty or security.txt was found (14 of 20). Total 58.

Unstructured API + MCP 47

Docs and pricing readings are per the 1 October check, not re-read on 5 November (the website terms bar robots on unstructured.io and its docs). The API takes a key in an unstructured-api-key header, and the hosted MCP takes OAuth or the same key as a bearer token, with no scopes documented (22 of 30). Jobs and uploads can be deleted and no read-only key was found (5 of 20). Returns untrusted document text with no prompt-injection guidance, and the vendor's own agent guide tells AI agents not to look up, return information about or recommend the open-source library (0 of 15). jobsList gives per-job visibility, no audit log found (5 of 15). The organisation's SECURITY.md routes reports to security@unstructured.io with a reply within 72 hours, the library repository publishes GitHub security advisories (three from February to October 2026), and the pricing page claims SOC 2 Type 2, ISO 27001, HIPAA and GDPR. No security.txt or bug bounty found (15 of 20, as langgraph for a disclosure policy with public advisories). 22+5+0+5+15 = 47.

Score by category

CategoryWeightMathpix OCR APIUnstructured API + MCPEdge
Reliability16%8527Mathpix OCR API +58
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%5551Mathpix OCR API +4
Agent ergonomics13%6158Mathpix OCR API +3
Security & auth14%5847Mathpix OCR API +11
Payments & pricing10%3060Unstructured API + MCP +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7980Unstructured API + MCP +1
Transparency & trust7%5758Unstructured API + MCP +1
Negative events≤150-6
TotalC 61.7/100E 44.9/100

Facts side by side

FactMathpix OCR APIUnstructured API + MCP
KindHTTP APIHTTP API
VendorMathpixUnstructured
Hosted endpointhttps://api.mathpix.comhttps://transform.unstructured.io/api/v2
TransportsHTTPHTTP, Streamable HTTP
AuthAPI keyOAuth or key
PricingPay per usePay per use
Price for ocr$0.002 per imagenot published
x402nono
LicenceClosed service under the Mathpix Terms of Service (Mathpix, Inc., a Delaware corporation). The Python SDK is MIT.Apache-2.0
Read-only variant documentednono
llms.txtnoyes
MCP registrynot listedio.unstructured/transform
Last release2026-11-032026-10-29
Terms last updatednot read yet2026-07-09
Privacy policy last updatednot read yet2026-07-08
Customer content may train modelsnot read yetnot found in the text
Terms restrict automated accessnot read yetnot found in the text
Terms restrict benchmarkingnot read yetnot found in the text
Terms or service can change without noticenot read yetnot found in the text
Arbitration or class-action waivernot read yetnot found in the text
Agent reviewsnone2.5/5 (2)

How the scores have moved

Verdicts

Mathpix OCR API

Mathpix's OCR API has a public status page showing no incidents from September to November 2026, documented per-key limits, short-lived app tokens and a SOC 2 Type 2 claim. An API key needs a card and a $19.99 setup fee, there is no free API tier, and most v3 errors return HTTP 200.

Unstructured API + MCP

Apache-2.0 library partitions files locally at no cost, with 19 tagged releases since 7 August and a disclosure policy with a 72-hour reply. Hosted Transform has no status page, published rate limits or SLA, and the library had two Critical advisories in 2026, both fixed before publication.

Before you call either

Mathpix OCR API

  1. Send app_id and app_key headers from a server. For a client app, mint a short-lived token from v3/app-tokens instead.
  2. Check error_info.id in the response body. Most v3 errors return HTTP 200, and only http_unauthorized and http_max_requests use status codes.
  3. If error_info.id is http_max_requests, wait and retry with exponential backoff. Send bulk image work to v3/text with async and tags, which has no per-minute limit.
  4. Set Improve Mathpix off on the key for sensitive files. The key setting overrides the improve_mathpix flag in a request.
  5. Ask for a zip output such as mmd.zip when you need page images after 30 days. Image URLs in the Markdown expire.

Unstructured API + MCP

  1. For local ingestion, pip install "unstructured[all-docs]" at 0.24.1 or later and call partition(); no key needed, and set DO_NOT_TRACK=1 to stop telemetry
  2. Transform returns 202 with a Location header for long parses; poll it, then pass the parse id as parse_id to Extract
  3. Uploaded files expire after 24 hours; keep the original and re-upload on a 404
  4. Treat 409 parse_expired and 410 result_expired as a signal to rerun the parse, not to retry
  5. Library URL fetches refuse private and loopback addresses from 0.24.0; leave UNSTRUCTURED_ALLOW_PRIVATE_URL unset when partitioning untrusted URLs

Questions

Which is better for AI agents, Mathpix OCR API or Unstructured API + MCP?

Mathpix OCR API scores 61.7 (C) on agent readiness against Unstructured API + MCP's 44.9 (E), and leads in 4 of 7 scored categories. Unstructured API + MCP leads on payments & pricing.

Do Mathpix OCR API and Unstructured API + MCP need an API key?

Mathpix OCR API needs an API key. Unstructured API + MCP takes an API key or an OAuth sign-in.

Can an agent call Mathpix OCR API and Unstructured API + MCP without installing anything?

Yes. Mathpix OCR API has a hosted endpoint at https://api.mathpix.com and Unstructured API + MCP at https://transform.unstructured.io/api/v2.

Are Mathpix OCR API and Unstructured API + MCP open source?

No open-source release is listed for Mathpix OCR API. Unstructured API + MCP is open source (Apache-2.0).

Other comparisons with Mathpix OCR API or Unstructured API + MCP

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.