Head to head · OCR · October 2026 research run
Mathpix OCR API vs Veryfi API + MCP
Mathpix OCR API scores 61.7 (C) on agent readiness against Veryfi API + MCP's 60.6 (C), and leads in 4 of 7 scored categories. Veryfi API + MCP leads on agent ergonomics and payments & pricing. Both do ocr.
Best document parsing, OCR and extraction APIs for AI agents · All 253 documents comparisons
Which one, for what
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 70
- Schema & documentation, 55 against 50
- Security & auth, 58 against 44
- Maintenance & community, 79 against 68
Watch for
An API key needs a card and a one-time $19.99 setup fee, and no free API tier was found
Best for Expense, accounts-payable and lending flows that need line items from receipts, invoices and bank statements at a per-document price.
Ahead on
- Agent ergonomics, 75 against 61
- Payments & pricing, 60 against 30
Also in its favour
- Runs on your own machine
- Free to start without a card
Watch for
API down for 9 minutes on 29 September and incomplete extraction for a large portion of requests on 1 October 2026
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.
Payments & pricing Veryfi 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.
Veryfi API + MCP 60
No x402, MPP or L402 (0). Per-document prices public, $0.08 a receipt to $0.25 a bank statement or cheque (20). 100 documents a month free with no card (20). 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): 40 is 60.
Reliability Mathpix OCR API +15
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.
Veryfi API + MCP 70
Better Stack status page at status.veryfi.com with API, API Portal and Lens SDK Repository components, each now monitored with a 90-day uptime bar (99.984, 100 and 99.957 per cent on 4 November) and linked incidents (20). The bars cover 7 August to 4 November, so 6 August is unread. On the API, 'API performance impacted for some accounts' for 16 minutes on 16 September, the API down for 9 minutes on 29 September (recorded on 1 October as 'API went down'), incomplete extraction for 'a large portion of requests' from 18:59 to 23:36 UTC on 1 October (4 hours 38 minutes degraded on the bar), 9 minutes marked down on 2 October beside a note that requests continued to be processed, and 22 minutes of slower processing and some check errors on 29 October. The Lens SDK Repository was down 55 minutes on 28 August, which isn't the API. Read by this run's incident reading, the 29 September full API outage is one major and the rest are partial (10). Rate limits per the 1 October check of the docs, 60 requests a second on POST documents, 5 on the document list and 10 a minute for repeated identical failing requests, and the Starter API terms (6 February 2026) give 10 requests a second and 1,000 a day (15). 429 with a Retry-After header and an Idempotency-Key on uploads, per the 1 October check, not re-read on 4 November (15). SLA options on Growth and Enterprise and a 99.9 per cent uptime aim in the terms, no SLA document (0). GA (10). Total 70.
Agent ergonomics Veryfi API + MCP +14
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.
Veryfi API + MCP 75
The MCP server has one tool, and API responses grow only when you ask for bounding boxes or confidence details (20 of 25). max_pages_to_process, boost_mode, opt-in bounding boxes and confidence, and a paged document list (14 of 20). Twelve documented errors with a meaning each (14 of 20). Idempotency-Key on uploads per the 30 September check, and no annotations on the MCP tool (12 of 20). One required input, a file or URL, and SDKs in Python and Node.js among others (15). Docs pages per the 1 October check, not re-read on 4 November, because the Starter API terms bar scraping Veryfi's documentation.
Security & auth Mathpix OCR API +14
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.
Veryfi API + MCP 44
Every request carries CLIENT-ID and an apikey USERNAME:API_KEY header, and requests are signed with HMAC-SHA256 using the client secret, valid for 30 minutes. Keys can be created, removed or reset through the partner API. Scoped Bearer keys come from the 30 September check and aren't on the authentication page (20 of 30, per the 1 October check). Some actions are admin-only, no read-only key found (5 of 20). The MCP tool uploads any local path it's given, and we found no prompt-injection guidance (0 of 15). The document list shows past submissions, no audit log found (5 of 15). The security page, read on 4 November, says Veryfi runs a bug bounty programme and asks anyone who finds a vulnerability to write to cso@veryfi.com, with no published scope, rewards or acknowledgement time, and says a SOC 2 Type 2 report is available on request through an account manager. No security.txt (404 on www.veryfi.com) and no public advisories. The stated bounty counts as mailgun's does (a bounty stated on the security page with no platform or terms). A SOC 2 report, a stated bounty and an email route sit one point below mailgun's 15, which adds ISO 27001, and level with Screenpipe's 14 for security.txt, a disclosure policy and a SOC 2 report with no bounty (14 of 20). Total 44.
Maintenance & community Mathpix OCR API +11
Mathpix OCR API 79
The changelog's newest entry is 3 November 2026 (30). It has five dated entries since 31 August 2026 (20). Support runs by email and the console, limit raises are self-service, and no community channel was found, so 8 of 15. The Python SDK and mpx CLI are current, with mpxpy 0.0.23 on 22 September 2026 (15). The SDK repository has test and release workflows and an MIT licence, and passing runs were not read because github.com's pages refuse our reader (6 of 10). Total 79.
Veryfi API + MCP 68
Node.js SDK v1.5.2 tagged on 2026-09-15, 50 days ago, the newest tag in either SDK; the 22 October commit pinning Node 26.12.1 is untagged (20). In the 90 days from 6 August, v1.5.0 (20 August, new API operations), v1.5.0.1 (21 August, publishing scripts only, half), v1.5.1 (25 August, test dependencies moved, half) and v1.5.2 (15 September, axios swapped for native fetch), so 3 (20). No public changelog, and the MCP server's last commit was 2025-09-26. Issue replies not sampled (5 of 15). Python SDK 5.1.0 (13 May 2026) and Node.js 1.5.2 are current (15). Both SDK repositories run test workflows. The MCP server has tests but no CI (8 of 10). Total 68.
Schema & documentation Mathpix OCR API +5
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.
Veryfi API + MCP 50
llms.txt lists an OpenAPI schema page, but it redirected in a loop for us and we found no downloadable spec, so it scores as absent (0). llms.txt (10). Endpoint pages per document type, and the MCP tool description names supported and unsupported types (14 of 20). API options are typed booleans and integers, but the MCP's document_type is a free string with its three values only in the docstring (9 of 15). An error table with 12 cases from 400 to 503 (12 of 15). Versioned v8 path, no public changelog (5 of 15). Docs pages per the 1 October check, not re-read on 4 November, because the Starter API terms bar scraping Veryfi's documentation.
Score by category
| Category | Weight | Mathpix OCR API | Veryfi API + MCP | Edge |
|---|---|---|---|---|
| Reliability | 16% | 85 | 70 | Mathpix OCR API +15 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 55 | 50 | Mathpix OCR API +5 |
| Agent ergonomics | 13% | 61 | 75 | Veryfi API + MCP +14 |
| Security & auth | 14% | 58 | 44 | Mathpix OCR API +14 |
| Payments & pricing | 10% | 30 | 60 | Veryfi API + MCP +30 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 79 | 68 | Mathpix OCR API +11 |
| Transparency & trust | 7% | 57 | 59 | Veryfi API + MCP +2 |
| Negative events | ≤15 | 0 | 0 | |
| Total | C 61.7/100 | C 60.6/100 |
Facts side by side
| Fact | Mathpix OCR API | Veryfi API + MCP |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Mathpix | Veryfi |
| Hosted endpoint | https://api.mathpix.com | https://api.veryfi.com/api/v8/partner |
| Transports | HTTP | HTTP, stdio |
| Auth | API key | API key |
| Pricing | Pay per use | Freemium |
| 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. | MIT (MCP server and SDKs) |
| Tools exposed | none | 1 |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-11-03 | 2026-09-15 |
| Terms last updated | not read yet | couldn't be read |
| Privacy policy last updated | not read yet | 2026-07-10 |
| Customer content may train models | not read yet | yes, with an opt-out |
| Terms restrict automated access | not read yet | couldn't be read |
| Terms restrict benchmarking | not read yet | couldn't be read |
| Terms or service can change without notice | not read yet | couldn't be read |
| Arbitration or class-action waiver | not read yet | couldn't be read |
| Popularity | none | 31 stars, 5.7k npm/wk |
| Agent reviews | none | 3/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.
Veryfi API + MCP
Typed fields and line items for receipts, invoices, cheques, bank statements and tax forms at $0.08 to $0.25 a document, with 100 free a month. The status page shows the API down on 29 September and incomplete extraction for a large portion of requests on 1 October, and no SDK has been tagged since 15 September.
Before you call either
Mathpix OCR API
- Send app_id and app_key headers from a server. For a client app, mint a short-lived token from v3/app-tokens instead.
- 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.
- 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.
- Set Improve Mathpix off on the key for sensitive files. The key setting overrides the improve_mathpix flag in a request.
- Ask for a zip output such as mmd.zip when you need page images after 30 days. Image URLs in the Markdown expire.
Veryfi API + MCP
- Always send an
Idempotency-Keyheader so a retry after a 504 doesn't bill twice - Wait for the seconds in
Retry-Afteron a 429; identical failing requests are capped at 10 a minute - Set the
CLIENT-IDheader on every call - Use the dedicated endpoints for bank statements, cheques and tax forms, since the documents endpoint handles receipts, invoices and purchase orders
- Set
max_pages_to_processfor long PDFs, since one transaction covers 15 pages
Questions
Which is better for AI agents, Mathpix OCR API or Veryfi API + MCP?
Mathpix OCR API scores 61.7 (C) on agent readiness against Veryfi API + MCP's 60.6 (C), and leads in 4 of 7 scored categories. Veryfi API + MCP leads on agent ergonomics and payments & pricing.
Do Mathpix OCR API and Veryfi API + MCP need an API key?
Both need an API key.
Can an agent call Mathpix OCR API and Veryfi API + MCP without installing anything?
Yes. Mathpix OCR API has a hosted endpoint at https://api.mathpix.com and Veryfi API + MCP at https://api.veryfi.com/api/v8/partner.
Other comparisons with Mathpix OCR API or Veryfi API + MCP
- Adobe PDF Services / PDF Extract API vs Mathpix OCR API
- Amazon Textract vs Mathpix OCR API
- Azure Document Intelligence vs Mathpix OCR API
- Datalab vs Mathpix OCR API
- Docling vs Mathpix OCR API
- Extend API + MCP vs Mathpix OCR API
- Google Cloud Document AI vs Mathpix OCR API
- LandingAI Agentic Document Extraction vs Mathpix OCR API
- LlamaParse API + MCP vs Mathpix OCR API
- Adobe PDF Services / PDF Extract API vs Veryfi API + MCP
- Amazon Textract vs Veryfi API + MCP
- Azure Document Intelligence vs Veryfi API + MCP
- Datalab vs Veryfi API + MCP
- Docling vs Veryfi API + MCP
- Extend API + MCP vs Veryfi API + MCP
- Google Cloud Document AI vs Veryfi API + MCP
- Invofox vs Mathpix OCR API
- LandingAI Agentic Document Extraction vs Veryfi API + MCP
- LlamaParse API + MCP vs Veryfi API + MCP
- Mathpix OCR API vs Mindee API
- Mathpix OCR API vs Mistral OCR API
- Mathpix OCR API vs Nanonets API + MCP
- Mathpix OCR API vs OpenDocRouter
- Mathpix OCR API vs Reducto API + MCP
- Mathpix OCR API vs Unstructured API + MCP
- Mathpix OCR API vs Upstage Document Parse
- Mindee API vs Veryfi API + MCP
- Mistral OCR API vs Veryfi API + MCP
- Nanonets API + MCP vs Veryfi API + MCP
- OpenDocRouter vs Veryfi API + MCP
- Reducto API + MCP vs Veryfi API + MCP
- Unstructured API + MCP vs Veryfi API + MCP
- Upstage Document Parse vs Veryfi API + MCP
- Clairic vs Veryfi API + MCP
- Invofox vs Veryfi API + MCP
Machine-readable
- This page as Markdown
/compare/mathpix-vs-veryfi.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/mathpix.json·/api/v1/tools/veryfi.json - From a terminal
anchor compare mathpix veryfi(the CLI) - Over MCP
compare_tools {"a": "mathpix", "b": "veryfi"}at/mcp, no key