# Docling vs Mathpix OCR API (slim)

> Docling scores 68 (B) to Mathpix OCR's 61.7 (C) for document parsing. Prices, MCP, x402, uptime and agent notes side by side.

- Full: https://www.anchorterminal.com/compare/docling-vs-mathpix.md (~4,500 tokens) · this version ~1,080 tokens · JSON https://www.anchorterminal.com/compare/docling-vs-mathpix.json · canonical https://www.anchorterminal.com/compare/docling-vs-mathpix
- Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-11-29
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

Docling scores 68 (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 security & auth. Both do document parsing.

- Docling: B 68, rank #456 of 1738 · https://www.anchorterminal.com/tools/docling.min.md
- Mathpix OCR API: C 61.7, rank #809 of 1738 · https://www.anchorterminal.com/tools/mathpix.min.md
- Docling, good for Self-hosted PDF and Office conversion to Markdown or JSON for RAG and agents that can't send documents out. Ahead on Schema & documentation, 77 against 55; Agent ergonomics, 77 against 61; Payments & pricing, 90 against 30; Maintenance & community, 89 against 79; Transparency & trust, 65 against 57. Also No key needed to call it; Runs on your own machine; Open source.
- Mathpix OCR API, 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 Security & auth, 58 against 53. Also A hosted endpoint, with nothing to install; No incidents deducted, where Docling loses 8 points for them.

| Category | Docling | Mathpix OCR API |
| --- | --- | --- |
| Reliability (16%) | 85 | 85 |
| Performance (10%) | pending | pending |
| Schema & documentation (13%) | 77 | 55 |
| Agent ergonomics (13%) | 77 | 61 |
| Security & auth (14%) | 53 | 58 |
| Payments & pricing (10%) | 90 | 30 |
| Task success (10%) | pending | pending |
| Maintenance & community (7%) | 89 | 79 |
| Transparency & trust (7%) | 65 | 57 |

| Fact (where they differ) | Docling | Mathpix OCR API |
| --- | --- | --- |
| Kind | SDK + MCP | HTTP API |
| Vendor | Docling Project (LF AI & Data Foundation, started at IBM Research Zurich) | Mathpix |
| Hosted endpoint | no (local only) | `https://api.mathpix.com` |
| Transports | stdio, Streamable HTTP, HTTP | HTTP |
| Auth | None | API key |
| Pricing | Free | Pay per use |
| Licence | MIT | Closed service under the Mathpix Terms of Service (Mathpix, Inc., a Delaware corporation). The Python SDK is MIT. |
| Tools exposed | 25 | none |
| MCP registry | `io.github.docling-project/docling-mcp` | not listed |
| Last release | 2026-11-05 | 2026-11-03 |
| Terms last updated | no document linked | not read yet |
| Privacy policy last updated | no document linked | not read yet |
| Popularity | 70k stars, 947k PyPI/wk | none |

Why the edge:
- Payments & pricing, Docling +60: Docling 90 (Self-hosted rule.); Mathpix OCR API 30 (No x402, MPP or L402 (0).)
- Schema & documentation, Docling +22: Docling 77 (No OpenAPI file is published; docling-serve is a FastAPI app that serves its schema when run, and docling-mcp's tools carry typed inputs with Field descriptions…); Mathpix OCR API 55 (No OpenAPI file was found (0).)
- Agent ergonomics, Docling +16: Docling 77 (About 25 MCP tools in the default groups (15), selectable as conversion, generation and manipulation groups, with anchor tools to read one part of a document (2…); Mathpix OCR API 61 (Output is sized by choosing formats, line data, page subsets and streaming of finished pages (18 of 25).)
- Maintenance & community, Docling +10: Docling 89 (v2.148.0 on 5 November 2026, the day before this check (30).); Mathpix OCR API 79 (The changelog's newest entry is 3 November 2026 (30).)
- Transparency & trust, Docling +8: Docling 65 (MIT, an OSI licence, with model licences noted as separate (30).); 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).)
- Security & auth, Mathpix OCR API +5: Docling 53 (Framework reading.); 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 (2…)
