MCP server
Mathpix MCP by usefulapi
io.usefulapi/mathpix
Checked 28 Nov 2026, 11:13 UTC · Connected to it and listed its tools
Run OCR billed by Mathpix on images and PDFs, read results and usage, delete outputs in Mathpix.
Working at last checkVerified publisher: usefulapi.ioAbout 3,530 tokens per request once connected12 tools
https://mathpix.usefulapi.io/mcp
At a glance
- Type
- MCP server
- Publisher
- usefulapi.io (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 12
- Token cost
- About 3,530 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 28 Nov 2026, 11:13 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http mathpix https://mathpix.usefulapi.io/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.mathpix] url = "https://mathpix.usefulapi.io/mcp"
Gemini CLI
{"mcpServers":{"mathpix":{"httpUrl":"https://mathpix.usefulapi.io/mcp"}}}
Cursor
{"mcpServers":{"mathpix":{"url":"https://mathpix.usefulapi.io/mcp"}}}
VS Code
{"servers":{"mathpix":{"type":"http","url":"https://mathpix.usefulapi.io/mcp"}}}
Antigravity
agy mcp add mathpix https://mathpix.usefulapi.io/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"mathpix","server_url":"https://mathpix.usefulapi.io/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"mathpix","server_url":"https://mathpix.usefulapi.io/mcp"}
Tools
mathpix_convert_markdown~305 tokens
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 newmathpix_delete_conversionDeletes data · ~136 tokens
PERMANENTLY delete the output files of a Markdown conversion at Mathpix. Cannot be undone; read what you need first. DELETE /v3/converter/{conversion_id}.mathpix_delete_documentDeletes data · ~154 tokens
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}.mathpix_get_conversion_output~311 tokens
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}.mathpix_get_conversion_status~158 tokens
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}.mathpix_get_document_output~358 tokens
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 fetchedmathpix_get_document_status~186 tokens
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/{pmathpix_get_usage~263 tokens
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.mathpix_list_documents~256 tokens
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.mathpix_list_image_results~481 tokens
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.mathpix_ocr_image~546 tokens
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)mathpix_submit_document~376 tokens
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_g
Browse
Related MCP servers
- CraftMyPDF MCP by usefulapi
Generate PDFs and images from CraftMyPDF templates; read templates, versions and usage. - Kaiku
Issue tracker and wiki for teams and their agents; answer your agents' questions from your phone. - CarlNotes
Read research findings, search topics, and manage your CarlNotes topics from your AI app. - Bento
One subscription for every kind of AI: images, video, voice and more. - OpenAI Billing
OpenAI organization usage and cost reporting through an admin API key connected by the user. - DeepInfra MCP by usefulapi
Run DeepInfra inference, list models and read account rate limits. - NS1 Connect MCP by usefulapi
Read NS1 zones, records, monitors, data feeds and usage; create or update one DNS record. - Mentio
Social listening for agents: brand mentions across 16 platforms, scored for relevance and intent
Badge for your README
[](https://aptlynx.net/servers/io.usefulapi/mathpix)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents