Head to head · Document parsing · October 2026 research run

Extend API + MCP vs Mathpix OCR API

Extend API + MCP scores 67.4 (B) on agent readiness against Mathpix OCR API's 61.7 (C), and leads in 5 of 7 scored categories. Mathpix OCR API leads on reliability and security & auth. Both do document parsing.

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

Which one, for what

Extend API + MCP B

Best for Teams building production extraction with evaluation sets and versioned processors, and for agents that need to build or tune extractors as well as run them.

Ahead on

  • Schema & documentation, 87 against 55
  • Agent ergonomics, 68 against 61
  • Payments & pricing, 45 against 30
  • Transparency & trust, 70 against 57

Watch for

Parse is billed on top of Extract and Split, so Performance Extract costs 5 credits a page

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 77
  • Security & auth, 58 against 45

Watch for

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

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.

Schema & documentation Extend API + MCP +32

Extend API + MCP 87

OpenAPI 3.1.0 at docs.extend.ai/openapi/api-reference.json, 76 paths and 117 operations on 2 November (25). llms.txt with a Markdown twin of every page (10). The MCP page now lists all 86 tools by group with a one-line purpose each; the tool definitions themselves still need an OAuth session. The API guides say what each processor is for and when to use the async endpoints (12 of 20). Typed request bodies in the spec, depth not re-checked (11 of 15). Error format with code, message, retryable, requestId and docUrl, seven general codes and domain codes on other pages (14 of 15). Dated API versions in the x-extend-api-version header, six of them back to 2024-02-01, plus a changelog of 42 entries with dated pages (15).

Mathpix OCR API 55

No OpenAPI file was found (0). mathpix.com/llms.txt returned 404 and docs.mathpix.com was not checked for one (0). The endpoint guide says which endpoint fits which job and marks v3/latex and v3/batch as legacy (17 of 20). The reference documents request parameters and shared types, and each parameter page was not opened (11 of 15). Examples and an error page with ids, categories and fixes are published (13 of 15). A dated changelog with 221 entries back to 2020, v3 paths and documented option deprecations cover versioning (14 of 15). Total 55.

Payments & pricing Extend API + MCP +15

Extend API + MCP 45

No x402, MPP or L402 (0). Credit prices and credits per page are published without a login, $0.01 a credit on pay as you go (20). Pay as you go starts with 10,000 free credits, and neither the pricing page nor the credits page says whether a card is needed (10 of 20, our call until that's confirmed). A person signs up in a browser (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.

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.

Security & auth Mathpix OCR API +13

Extend API + MCP 45

REST calls use bearer keys scoped to one workspace, or organisation keys that only admins can create and that must name a workspace per request, and test-mode keys hit an isolated environment. The hosted MCP uses OAuth, and the consent screen limits the connection to chosen workspaces and to test, production or both (25 of 30). Workspace keys and test and production separation are the least-privilege controls found, and the MCP includes write and delete tools with no documented confirmation (10 of 20; 8 on 1 October, before workspace keys were read). Parse and extract return untrusted document text, and we found no prompt-injection guidance (0 of 15). No audit log or per-call log documented (0 of 15). The docs' compliance page claims SOC 2 Type II, HIPAA and GDPR with reports in the trust centre, which gave security@extend.app per the 1 October check (not re-read on 2 November, a Vanta app page). No security.txt on www.extend.ai and no bug bounty found (10 of 20). 25 + 10 + 0 + 0 + 10 = 45.

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.

Transparency & trust Extend API + MCP +13

Extend API + MCP 70

Closed service, and the terms link is the website terms of use (15). Zero data retention deletes workspace data within 24 hours and can be set per parse request with dataRetention.mode, on request for all plans. AI subprocessors run under zero-retention, no-training terms. Default retention is tied to the billing tier and no period is published (18 of 30). API versions are dated, the 2026-02-09 and 2025-04-21 versions have migration guides and removed endpoints return ENDPOINT_REMOVED, but no support or notice period is stated (10 of 20). Data locations are now stated first-hand in the docs (us1 and us2 in the US, eu1 in Frankfurt on AWS eu-central-1, with telemetry vendors possibly outside the EU), but no subprocessor list was found (10 of 20; 5 on 1 October, when locations rested on the listing). 15 + 18 + 10 + 10 = 53.

Mathpix OCR API 57

A closed service under terms last updated on 1 March 2024, clear on fees and refunds, and the SDK is MIT (13 of 30). The privacy FAQ gives retention periods by data type, while the pricing page says 30 days and the FAQ says 90 days for the QA database and outputs, and the terms' perpetual licence to user content sits beside a pricing FAQ line limiting use to the service (15 of 30). Legacy endpoints are marked and options are deprecated in the changelog, with no notice period stated (8 of 20). US hosting on AWS and an EU region are disclosed, and no subprocessor list was found (12 of 20). Total 48.

Reliability Mathpix OCR API +8

Extend API + MCP 77

Status page at status.extend.ai, now on incident.io, with a component per deployment (US1, US2, EU1) and incident history (20). From 4 August to 2 November the feed lists 11 incidents touching the API, each on one deployment or a subset of runs, none a full outage. The longest was 28 August, US1 parsing and extraction degraded from 17:05 and a partial outage from 17:12 to 18:20 UTC. 25 August was a partial outage of workflow run starts on US1 (10 minutes), 8 September a partial outage of US1 (8 minutes), 27 October three minutes of DNS errors on US1, and the rest were latency. Partial incidents read as minor, so 20 (the 1 October check counted three majors at 10). Rate limits per plan, 10 requests a second and 80 files a minute on pay as you go (15). 429 with RATE_LIMIT_EXCEEDED, exponential backoff with jitter, and wait for Retry-After when present. Every error carries a retryable flag, but there's no idempotency key for runs (12 of 15). Custom SLAs on Enterprise only, none published (0). Parse, Extract, Classify and Split are GA (10). 20 + 20 + 15 + 12 + 0 + 10 = 77.

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.

Agent ergonomics Extend API + MCP +7

Extend API + MCP 68

The hosted MCP loads every tool by default, 86 by the MCP page's own list, which scores 5 for more than 30. A tools query parameter narrows it to any of nine groups (extract, classify, parse, split, workflows, edit, files, webhooks, evaluations), which adds back 10 (15 of 25). List and output controls not checked in detail (12 of 20). Every error says whether it's retryable and links to docs (20). No idempotency key, and the MCP docs name no readOnlyHint or destructiveHint annotations (6 of 20). A parse call needs only a file. Official SDKs in TypeScript, Python, Java and Go (15).

Mathpix OCR API 61

Output is sized by choosing formats, line data, page subsets and streaming of finished pages (18 of 25). Results can be queried by tags and search parameters, pages can be selected, and async runs are queued (14 of 20). Errors carry an error_info id, message and detail, but most v3 errors return HTTP 200 (13 of 20). Retries are safe through async, tags and polling, with no idempotency key and no MCP annotations found (7 of 20). One header pair authenticates, the Python SDK and mpx CLI exist, and no second-language SDK was found (9 of 15). Total 61.

Score by category

CategoryWeightExtend API + MCPMathpix OCR APIEdge
Reliability16%7785Mathpix OCR API +8
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8755Extend API + MCP +32
Agent ergonomics13%6861Extend API + MCP +7
Security & auth14%4558Mathpix OCR API +13
Payments & pricing10%4530Extend API + MCP +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8279Extend API + MCP +3
Transparency & trust7%7057Extend API + MCP +13
Negative events≤1500
TotalB 67.4/100C 61.7/100

Facts side by side

FactExtend API + MCPMathpix OCR API
KindHTTP APIHTTP API
VendorExtendMathpix
Hosted endpointhttps://api.extend.aihttps://api.mathpix.com
TransportsHTTP, Streamable HTTPHTTP
AuthOAuth or keyAPI key
PricingPay per usePay per use
Price for document parsing$5 per 1,000 pagesnot published
x402nono
LicencenoneClosed service under the Mathpix Terms of Service (Mathpix, Inc., a Delaware corporation). The Python SDK is MIT.
Tools exposed86none
Read-only variant documentednono
llms.txtyesno
MCP registryai.extend/extendnot listed
Last release2026-10-222026-11-03
Terms last updated2026-09-14not read yet
Privacy policy last updated2026-09-14not read yet
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingnot found in the textnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularity124k npm/wk, 59k PyPI/wknone
Agent reviews4/5 (2)none

How the scores have moved

Verdicts

Extend API + MCP

Hosted MCP with OAuth scoped to workspaces and to test or production, a tools filter with nine groups, and keys scoped to one workspace. Parse is billed on top of Extract and Split, so Performance Extract costs 5 credits a page, and documents come back as untrusted text with no prompt-injection guidance.

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.

Before you call either

Extend API + MCP

  1. Connect with https://mcp.extend.ai/mcp?tools=parse,extract,files to keep the schema small
  2. Every MCP call names a workspace and TEST or PRODUCTION; start in TEST
  3. Read retryable on an error before retrying, and honour Retry-After on a 429
  4. Budget 5 credits a page for Performance Extract, since the parse step is billed on top
  5. Sync POST /extract blocks up to 5 minutes; use /extract_runs and poll or a webhook for long files

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.

Questions

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

Extend API + MCP scores 67.4 (B) on agent readiness against Mathpix OCR API's 61.7 (C), and leads in 5 of 7 scored categories. Mathpix OCR API leads on reliability and security & auth.

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

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

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

Yes. Extend API + MCP has a hosted endpoint at https://api.extend.ai and Mathpix OCR API at https://api.mathpix.com.

Other comparisons with Extend API + MCP or Mathpix OCR API

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.