# Mathpix OCR API vs Unstructured API + MCP

> Mathpix OCR scores 61.7 (C) to Unstructured's 44.9 (E) for ocr. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/mathpix-vs-unstructured
- Markdown: https://www.anchorterminal.com/compare/mathpix-vs-unstructured.md (~4,100 tokens)
- Slim: https://www.anchorterminal.com/compare/mathpix-vs-unstructured.min.md (~1,030 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/mathpix-vs-unstructured.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-29

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.

- Mathpix OCR API: grade C, 61.7/100, rank #809 of 1738. Markdown https://www.anchorterminal.com/tools/mathpix.md · JSON https://www.anchorterminal.com/api/v1/tools/mathpix.json
- Unstructured API + MCP: grade E, 44.9/100, rank #1452 of 1738. Markdown https://www.anchorterminal.com/tools/unstructured.md · JSON https://www.anchorterminal.com/api/v1/tools/unstructured.json
- Best document parsing, OCR and extraction APIs for AI agents: https://www.anchorterminal.com/best/document-extraction/index.md
- All 253 documents comparisons: https://www.anchorterminal.com/compare/document-extraction/index.md

## Which one, for what

### Mathpix OCR API (C)

Good 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)

Good 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

### 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

| Category | Weight | Mathpix OCR API | Unstructured API + MCP | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 85 | 27 | Mathpix OCR API +58 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 55 | 51 | Mathpix OCR API +4 |
| Agent ergonomics | 13% | 61 | 58 | Mathpix OCR API +3 |
| Security & auth | 14% | 58 | 47 | Mathpix OCR API +11 |
| Payments & pricing | 10% | 30 | 60 | Unstructured API + MCP +30 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 79 | 80 | Unstructured API + MCP +1 |
| Transparency & trust | 7% | 57 | 58 | Unstructured API + MCP +1 |
| Negative events | ≤15 | 0 | -6 | |
| **Total** | | **61.7 · C** | **44.9 · E** | |

## Facts side by side

| Fact | Mathpix OCR API | Unstructured API + MCP |
| --- | --- | --- |
| Kind | HTTP API | HTTP API |
| Vendor | Mathpix | Unstructured |
| Hosted endpoint | `https://api.mathpix.com` | `https://transform.unstructured.io/api/v2` |
| Transports | HTTP | HTTP, Streamable HTTP |
| Auth | API key | OAuth or key |
| Pricing | Pay per use | Pay per use |
| Price for ocr | $0.002 per image | not published |
| x402 | no | no |
| Licence | Closed service under the Mathpix Terms of Service (Mathpix, Inc., a Delaware corporation). The Python SDK is MIT. | Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| MCP registry | not listed | `io.unstructured/transform` |
| Last release | 2026-11-03 | 2026-10-29 |
| Terms last updated | not read yet | 2026-07-09 |
| Privacy policy last updated | not read yet | 2026-07-08 |
| Customer content may train models | not read yet | not found in the text |
| Terms restrict automated access | not read yet | not found in the text |
| Terms restrict benchmarking | not read yet | not found in the text |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | not found in the text |
| Agent reviews | none | 2.5/5 (2) |

## How the scores have moved

### Mathpix OCR API

No score change since it was listed.

### Unstructured API + MCP

- +2.5 on 13 November 2026: checklist
- -4.8 on 5 November 2026 (D to E): security, new evidence, correction
- +0.3 on 27 October 2026: checklist

## 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).


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/mathpix-vs-unstructured.json, and with the fewest tokens: https://www.anchorterminal.com/compare/mathpix-vs-unstructured.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "mathpix", "b": "unstructured"}`. From a terminal: `anchor compare mathpix unstructured`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/mathpix.json and https://www.anchorterminal.com/api/v1/tools/unstructured.json

## Other comparisons with Mathpix OCR API or Unstructured API + MCP

- [Adobe PDF Services / PDF Extract API vs Mathpix OCR API](https://www.anchorterminal.com/compare/adobe-pdf-extract-vs-mathpix.md)
- [Adobe PDF Services / PDF Extract API vs Unstructured API + MCP](https://www.anchorterminal.com/compare/adobe-pdf-extract-vs-unstructured.md)
- [Amazon Textract vs Mathpix OCR API](https://www.anchorterminal.com/compare/amazon-textract-vs-mathpix.md)
- [Amazon Textract vs Unstructured API + MCP](https://www.anchorterminal.com/compare/amazon-textract-vs-unstructured.md)
- [Azure Document Intelligence vs Mathpix OCR API](https://www.anchorterminal.com/compare/azure-document-intelligence-vs-mathpix.md)
- [Azure Document Intelligence vs Unstructured API + MCP](https://www.anchorterminal.com/compare/azure-document-intelligence-vs-unstructured.md)
- [Datalab vs Mathpix OCR API](https://www.anchorterminal.com/compare/datalab-vs-mathpix.md)
- [Datalab vs Unstructured API + MCP](https://www.anchorterminal.com/compare/datalab-vs-unstructured.md)
- [Docling vs Mathpix OCR API](https://www.anchorterminal.com/compare/docling-vs-mathpix.md)
- [Docling vs Unstructured API + MCP](https://www.anchorterminal.com/compare/docling-vs-unstructured.md)
- [Extend API + MCP vs Mathpix OCR API](https://www.anchorterminal.com/compare/extend-vs-mathpix.md)
- [Extend API + MCP vs Unstructured API + MCP](https://www.anchorterminal.com/compare/extend-vs-unstructured.md)
- [Google Cloud Document AI vs Mathpix OCR API](https://www.anchorterminal.com/compare/google-cloud-document-ai-vs-mathpix.md)
- [Google Cloud Document AI vs Unstructured API + MCP](https://www.anchorterminal.com/compare/google-cloud-document-ai-vs-unstructured.md)
- [LandingAI Agentic Document Extraction vs Mathpix OCR API](https://www.anchorterminal.com/compare/landingai-agentic-document-extraction-vs-mathpix.md)
- [LandingAI Agentic Document Extraction vs Unstructured API + MCP](https://www.anchorterminal.com/compare/landingai-agentic-document-extraction-vs-unstructured.md)
- [LlamaParse API + MCP vs Mathpix OCR API](https://www.anchorterminal.com/compare/llamaparse-vs-mathpix.md)
- [LlamaParse API + MCP vs Unstructured API + MCP](https://www.anchorterminal.com/compare/llamaparse-vs-unstructured.md)
- [Mistral OCR API vs Unstructured API + MCP](https://www.anchorterminal.com/compare/mistral-ocr-vs-unstructured.md)
- [Nanonets API + MCP vs Unstructured API + MCP](https://www.anchorterminal.com/compare/nanonets-vs-unstructured.md)
- [OpenDocRouter vs Unstructured API + MCP](https://www.anchorterminal.com/compare/opendocrouter-vs-unstructured.md)
- [Reducto API + MCP vs Unstructured API + MCP](https://www.anchorterminal.com/compare/reducto-vs-unstructured.md)
- [Unstructured API + MCP vs Upstage Document Parse](https://www.anchorterminal.com/compare/unstructured-vs-upstage-document-parse.md)
- [Invofox vs Mathpix OCR API](https://www.anchorterminal.com/compare/invofox-vs-mathpix.md)
- [Mathpix OCR API vs Mindee API](https://www.anchorterminal.com/compare/mathpix-vs-mindee.md)
- [Mathpix OCR API vs Mistral OCR API](https://www.anchorterminal.com/compare/mathpix-vs-mistral-ocr.md)
- [Mathpix OCR API vs Nanonets API + MCP](https://www.anchorterminal.com/compare/mathpix-vs-nanonets.md)
- [Mathpix OCR API vs OpenDocRouter](https://www.anchorterminal.com/compare/mathpix-vs-opendocrouter.md)
- [Mathpix OCR API vs Reducto API + MCP](https://www.anchorterminal.com/compare/mathpix-vs-reducto.md)
- [Mathpix OCR API vs Upstage Document Parse](https://www.anchorterminal.com/compare/mathpix-vs-upstage-document-parse.md)
- [Mathpix OCR API vs Veryfi API + MCP](https://www.anchorterminal.com/compare/mathpix-vs-veryfi.md)
- [Mindee API vs Unstructured API + MCP](https://www.anchorterminal.com/compare/mindee-vs-unstructured.md)
- [Unstructured API + MCP vs Veryfi API + MCP](https://www.anchorterminal.com/compare/unstructured-vs-veryfi.md)
- [Clairic vs Unstructured API + MCP](https://www.anchorterminal.com/compare/cloudflare-clairic-vs-unstructured.md)
- [Invofox vs Unstructured API + MCP](https://www.anchorterminal.com/compare/invofox-vs-unstructured.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
