Mathpix · Capability

Mathpix Strokes API — Strokes

Mathpix Strokes API — Strokes. Recognize handwriting from raw stroke coordinates. Self-contained Naftiko capability.

Mathpix Strokes API — Strokes is a Naftiko capability published by Mathpix, one of 7 capabilities the APIs.io network indexes for this provider. It bundles 1 operation across the POST method rooted at /v1/v3/strokes.

The capability includes 1 state-changing operation. Lead operation: Process Strokes. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Mathpix, Strokes, Handwriting, and Digital Ink.

Run with Naftiko MathpixStrokesHandwritingDigital Ink

What You Can Do

POST
Processstrokes — Process Strokes
/v1/v3/strokes

MCP Tools

mathpix-process-strokes

Process Strokes

idempotent

Capability Spec

strokes-strokes.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Mathpix Strokes API — Strokes
  description: 'Mathpix Strokes API — Strokes. Recognize handwriting from raw stroke coordinates.
    Self-contained Naftiko capability.'
  tags:
  - Mathpix
  - Strokes
  - Handwriting
  - Digital Ink
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    MATHPIX_APP_ID: MATHPIX_APP_ID
    MATHPIX_APP_KEY: MATHPIX_APP_KEY
capability:
  consumes:
  - type: http
    namespace: strokes-strokes
    baseUri: https://api.mathpix.com
    resources:
    - name: v3-strokes
      path: /v3/strokes
      operations:
      - name: processstrokes
        method: POST
        description: Process Strokes
        outputRawFormat: json
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    authentication:
      type: apikey
      key: app_key
      value: '{{env.MATHPIX_APP_KEY}}'
      placement: header
      additionalHeaders:
        app_id: '{{env.MATHPIX_APP_ID}}'
  exposes:
  - type: rest
    namespace: strokes-strokes-rest
    port: 8080
    resources:
    - path: /v1/v3/strokes
      name: v3-strokes
      operations:
      - method: POST
        name: processstrokes
        description: Process Strokes
        call: strokes-strokes.processstrokes
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: strokes-strokes-mcp
    port: 9090
    transport: http
    tools:
    - name: mathpix-process-strokes
      description: Process Strokes
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: strokes-strokes.processstrokes
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.