Mathpix MCP by usefulapi
io.usefulapi/mathpix
MCP server OK 12 tools
Run OCR billed by Mathpix on images and PDFs, read results and usage, delete outputs in Mathpix.
Technical sheet
- Author
- usefulapi.io (registry namespace)
- Repository
- github.com/m190/usefulapi-mcp
- Site
- usefulapi.io/mathpix
- Version
- 1.1.0
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://mathpix.usefulapi.io/mcp Streamable HTTP
- Tools
- 12
- Categories
- Images, audio and video
- Last updated
- 24 Nov 2026
- Published
- 24 Nov 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.usefulapi/mathpix)<a href="https://latlas.dev/en/mcp/io.usefulapi/mathpix"><img src="https://latlas.dev/badge/fiche/io.usefulapi/mathpix.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://mathpix.usefulapi.io/mcp
- Last result
- OK 28 Nov 2026, 17:06
- Response time
- 290 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- mathpix-mcp 1.1.0
- Tools
- 12
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 17:06 | OK | 290 ms | 12 |
Exposed tools (12, from tools/list, 28 Nov 2026)
mathpix_get_usage
Get API usage
API usage counts for this Mathpix account over a date range, grouped by usage type (image, image-async, pdf ...), request arguments or app id and aggregated by a timespan. Use it to reconcile billing and watch consumption. Free to call. GET /v3/ocr-usage.
| Parameter | Type | Required | Description |
|---|---|---|---|
| from_date | string | no | Start (included): ISO 8601 date or date-time. |
| to_date | string | no | End (excluded): ISO 8601 date or date-time. |
| group_by | enum: "usage_type" | "request_args_hash" | "app_id" | no | What to group the counts by (default usage_type). |
| timespan | string | no | Aggregation period, a lowercase word such as month (default), week or day. Mathpix rejects values it does not know. |
mathpix_list_image_results
List image OCR results
Search and list stored results of earlier image/strokes OCR requests (/v3/text etc.), newest first: the recognized text, confidence, detected content types and the request options. Requests made with improve_mathpix=false are not stored. Free to call. GET /v3/ocr-results.
| Parameter | Type | Required | Description |
|---|---|---|---|
| from_date | string | no | Only results at or after this ISO 8601 date or date-time. |
| to_date | string | no | Only results before this ISO 8601 date or date-time. |
| text | string | no | Only results whose recognized text contains this string. |
| tags | array<string> | no | Only results carrying these tags (as set on the OCR request). |
| is_printed | boolean | no | true: results containing printed text/math. |
| is_handwritten | boolean | no | true: results containing handwritten text/math. |
| contains_table | boolean | no | true: results containing a table. |
| contains_chemistry | boolean | no | true: results containing chemistry diagrams. |
| contains_diagram | boolean | no | true: results containing diagrams. |
| page | integer | no | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| per_page | integer | no | Results per page, 1-100 (default 25). |
mathpix_list_documents
List processed documents
List documents previously submitted for async processing (/v3/pdf), newest first: pdf_id, input file or URL, status (received, loaded, split, completed, error), page counts and timestamps. Use the pdf_id with the get/output tools. Free to call. GET /v3/pdf-results.
| Parameter | Type | Required | Description |
|---|---|---|---|
| from_date | string | no | Only documents at or after this ISO 8601 date or date-time. |
| to_date | string | no | Only documents before this ISO 8601 date or date-time. |
| page | integer | no | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| per_page | integer | no | Results per page, 1-100 (default 25). |
mathpix_get_document_status
Get document status
Processing status of a submitted document: status (received, loaded, split, completed, error), pages done, and the status of each requested conversion. Poll this until status is completed before reading the output (percent_done reaches 100 before the output files exist). Free to call. GET /v3/pdf/{pdf_id}.
| Parameter | Type | Required | Description |
|---|---|---|---|
| pdf_id | string | yes | The pdf_id returned by mathpix_submit_document or listed by mathpix_list_documents. |
mathpix_get_conversion_status
Get conversion status
Status of the output-format conversions of a document (the pdf_id) or of a Markdown conversion (the conversion_id): one entry per requested format with status processing, completed or error. Free to call. GET /v3/converter/{id}.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | A pdf_id, or the conversion_id returned by mathpix_convert_markdown. |
mathpix_get_document_output
Get document output
Read the TEXT result of a processed document: mmd (Mathpix Markdown, the primary output), md (plain Markdown), html, latex (single .tex) or lines.json (line-by-line data with geometry). Long outputs come back in slices (offset / next_offset). Binary formats (docx, pdf, zip, images) cannot be fetched through this server. Only call once mathpix_get_document_status says completed. Free to call. GET /v3/pdf/{pdf_id}.{ext}.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The pdf_id of a completed document. |
| format | enum: "mmd" | "md" | "html" | "latex" | "lines.json" | yes | Output format: mmd, md, html, latex, lines.json. |
| offset | integer | no | Character offset to start from (default 0). Pass the previous reply's next_offset to read on. |
| max_chars | integer | no | Characters to return, up to 45000 (default 40000); fewer come back when the text needs heavy escaping, so always continue from next_offset. |
mathpix_get_conversion_output
Get Markdown conversion output
Read the TEXT result of a Markdown conversion started with mathpix_convert_markdown: md, html or latex. Long outputs come back in slices (offset / next_offset). Binary formats cannot be fetched through this server. Free to call. GET /v3/converter/{conversion_id}.{ext}.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The conversion_id returned by mathpix_convert_markdown. |
| format | enum: "md" | "html" | "latex" | yes | Output format: md, html, latex. |
| offset | integer | no | Character offset to start from (default 0). Pass the previous reply's next_offset to read on. |
| max_chars | integer | no | Characters to return, up to 45000 (default 40000); fewer come back when the text needs heavy escaping, so always continue from next_offset. |
mathpix_ocr_image
OCR an image (billed)
BILLED BY MATHPIX (pay as you go, per image; see mathpix.com/pricing/api): recognize math, text, tables and chemistry in ONE image and return Mathpix Markdown (LaTeX math inside \( \) / \[ \]), and optionally HTML, styled LaTeX or structured data. The image must be a public URL (or a small data URI); local files are not reachable. Each call is a new billed request. POST /v3/text.
| Parameter | Type | Required | Description |
|---|---|---|---|
| src | string | yes | Image to read: a PUBLIC http(s) URL that Mathpix can download (up to 10 MB), or a data:image/png|jpeg|gif|webp|bmp|tiff;base64,... string (up to 1000000 characters; prefer a URL). This server cannot read local files. |
| formats | array<enum: "text" | "data" | "html" | "latex_styled"> | no | Output formats (default: text = Mathpix Markdown). data = extracted asciimath/mathml/latex/svg/tsv; latex_styled = single-equation LaTeX. |
| enable_document_layout | boolean | no | true for a full page (lists, multi-line layout); default is snippet mode. |
| include_smiles | boolean | no | true to read chemistry diagrams as notation. |
| include_line_data | boolean | no | true to also return line-by-line data with positions (larger reply). |
| tags | array<string> | no | Tags stored with the result, searchable with mathpix_list_image_results. |
| improve_mathpix | boolean | no | Set false to opt this request out of Mathpix using the image/document to improve its models (it then also will not appear in the results-query tools). Omit to use the account default. |
mathpix_submit_document
Submit a document (billed)
BILLED BY MATHPIX (pay as you go, per page processed; see mathpix.com/pricing/api): start async conversion of a PDF, DOCX, PPTX, EPUB or similar document at a PUBLIC URL into Mathpix Markdown. Returns a pdf_id immediately; poll mathpix_get_document_status until completed, then read it with mathpix_get_document_output. Use page_ranges to limit the pages billed. Each call is a new billed job. POST /v3/pdf.
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | yes | PUBLIC http(s) URL where Mathpix can download the document (PDF, DOCX, PPTX, EPUB, ... up to 1 GB). This server cannot read local files. |
| page_ranges | string | no | Pages to process (and be billed for), e.g. "2,4-6"; "2 - -2" = page 2 to the next-to-last. Default: all pages. |
| include_smiles | boolean | no | Read chemistry diagrams as notation (default true at Mathpix). |
| improve_mathpix | boolean | no | Set false to opt this request out of Mathpix using the image/document to improve its models (it then also will not appear in the results-query tools). Omit to use the account default. |
mathpix_convert_markdown
Convert Markdown
Convert Mathpix Markdown (MMD) text into plain Markdown, HTML or LaTeX. Returns a conversion_id; read the result with mathpix_get_conversion_output (check mathpix_get_conversion_status first). Conversions may be billed by Mathpix under your plan; see mathpix.com/pricing/api. Each call creates a new conversion. POST /v3/converter.
| Parameter | Type | Required | Description |
|---|---|---|---|
| mmd | string | yes | The Mathpix Markdown text to convert (up to 500000 characters). |
| formats | array<enum: "md" | "html" | "latex"> | yes | Output formats to produce: md, html and/or latex. |
| improve_mathpix | boolean | no | Set false to opt this request out of Mathpix using the image/document to improve its models (it then also will not appear in the results-query tools). Omit to use the account default. |
mathpix_delete_document
Delete a document
PERMANENTLY delete a processed document's output at Mathpix (Markdown, JSON lines, images, all converted formats) and the uploaded source copy. Cannot be undone; read what you need first. Only billing metadata is kept. DELETE /v3/pdf/{pdf_id}.
| Parameter | Type | Required | Description |
|---|---|---|---|
| pdf_id | string | yes | The pdf_id of the document to delete. |
mathpix_delete_conversion
Delete a Markdown conversion
PERMANENTLY delete the output files of a Markdown conversion at Mathpix. Cannot be undone; read what you need first. DELETE /v3/converter/{conversion_id}.
| Parameter | Type | Required | Description |
|---|---|---|---|
| conversion_id | string | yes | The conversion_id of the conversion to delete. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://mathpix.usefulapi.io/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http mathpix https://mathpix.usefulapi.io/mcpCustomize > Connectors > + Add > Add custom connector ; Name : mathpix ; URL : https://mathpix.usefulapi.io/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : mathpix ; Server URL : https://mathpix.usefulapi.io/mcp ; Create as a plugin{
"mcpServers": {
"mathpix": {
"url": "https://mathpix.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"mathpix": {
"type": "http",
"url": "https://mathpix.usefulapi.io/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"mathpix": {
"url": "https://mathpix.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"mathpix": {
"httpUrl": "https://mathpix.usefulapi.io/mcp"
}
}
}[mcp_servers.mathpix]
url = "https://mathpix.usefulapi.io/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Mathpix MCP by usefulapi · L’Atlas · Tested on
[Mathpix MCP by usefulapi — L’Atlas](https://latlas.dev/en/mcp/io.usefulapi/mathpix)Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.