Mathpix for AI agents

Mathpix extracts text, math, and tables from images and documents through OCR, converting them into editable formats for research and publishing workflows. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

DocumentsAPI keyMCP + RESTmathpix.com
AUDIT LOG · MATHPIXPOLICY: acme-support
09:41:07 · claude · u_8f2read
mathpix.list_documents
List Documents✓ allowed · 212ms
09:41:08 · claude · u_8f2read
mathpix.get_file_job
Get File Job✓ allowed · 164ms
09:41:09 · claude · u_8f2write
mathpix.create_app_token
Create App Token✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
mathpix.delete_file
Delete File✕ blocked · policy: deny
EVERY MATHPIX CALL, ON THE RECORD
01 · USE CASES

What agents do in Mathpix.

01

OCR a scanned document

Convert an uploaded document image into editable text and math for further processing.

02

Check an OCR job's result

Retrieve the result of a submitted OCR job once it finishes, a read-only lookup with no changes made.

03

Approve before deleting a document

Require approval before deleting a processed document, since it removes its stored conversion result.

02 · ACTIONS

29 Mathpix actions, graded by risk.

Every Mathpix action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

15

Look things up. Allowed by default.

  • mathpix.get_file_job
    Get File Job
  • mathpix.get_app_token
    Get App Token
  • mathpix.get_ocr_usage
    Get OCR Usage
  • mathpix.list_documents
    List Documents
  • mathpix.list_file_jobs
    List File Jobs
  • mathpix.get_file_result
    Get File Result
  • mathpix.list_conversions
    List Conversions
  • mathpix.list_data_sources
    List Data Sources
  • mathpix.search_ocr_results
    Search OCR Results
  • mathpix.get_document_result
    Get Document Result
  • mathpix.list_file_job_files
    List File Job Files
  • mathpix.get_conversion_result
    Get Conversion Result
  • mathpix.get_job_file_by_custom_id
    Get Job File by Custom ID
  • mathpix.get_storage_onboarding_identities
    Get Storage Onboarding Identities
  • mathpix.convert_mathpix_markdown
    Convert Mathpix Markdown

write

10

Create and change things. Allow, or ask the user first.

  • mathpix.create_app_token
    Create App Token
  • mathpix.ocr_image
    OCR Image
  • mathpix.ocr_document
    OCR Document
  • mathpix.submit_file_job
    Submit File Job
  • mathpix.process_file_uri
    Process File URI
  • mathpix.finalize_file_job
    Finalize File Job
  • mathpix.recognize_strokes
    Recognize Strokes
  • mathpix.process_image_batch
    Process Image Batch
  • mathpix.upload_and_process_file
    Upload and Process File
  • mathpix.process_equation_deprecated
    Process Equation (Deprecated)

destructive

4

Delete, cancel or archive. Ask first, or deny outright.

  • mathpix.delete_file
    Delete File
  • mathpix.delete_document
    Delete Document
  • mathpix.delete_conversion
    Delete Conversion
  • mathpix.revoke_app_token
    Revoke App Token
03 · HOW IT WORKS

Mathpix in three steps.

  1. 01Your users connect MathpixThey add their Mathpix api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, writes like “create App Token” can wait for the user, and “delete File” can be denied outright.
  3. 03Any agent can actYour agent calls Mathpix through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('mathpix', {
  read: 'allow',
  write: 'ask',        // create_app_token
  destructive: 'deny',  // delete_file
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How Mathpix connects.

Users add their Mathpix api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

The same Mathpix connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use Mathpix from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Mathpix and Arc0, answered.

Q01

Can I use Mathpix with Claude, ChatGPT or Cursor?

Yes. Connect Mathpix to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Mathpix actions you allow.

Q02

How do users connect Mathpix?

Users add their Mathpix api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

Q03

Which Mathpix actions can my agent take?

29 in total: 15 read, 10 write and 4 destructive, such as “create App Token”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in Mathpix?

Yes. Actions like “delete File” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call Mathpix too?

Yes. The same Mathpix connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug Mathpix into your agent.

Your users connect Mathpix once, under your brand. Your agent gets 29 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan