Scrub

Developers

Build on the work Scrub does.

Every Tool and Action Scrub runs, from your AI over MCP, from your code over the API, or chained once in Flows and run again. One account, one key, one bill.

Scrub's APIUse Scrub from your AI

MCP

In your AI

Add Scrub to Claude, Claude Code or any AI that takes an MCP server, by its address. You sign in once; there is no key to copy.

https://mcp.scrub.app/mcp Use Scrub from your AI

API

In your code

One POST for every Tool and Action, with a key from Account. Price it, run it, follow the job and fetch what it made.

POST/v1/tools/<name>

Scrub's API

Flows

Chained once, run again

Tools and Actions chained on the canvas, kept with each version. A flow runs at /v1/tools/<its name>, as a tool does. From the API, MCP or Chat, as one job.

POST/v1/tools/flow_…

Flows

The API

Three calls from a file to a result.

  1. Price it first

    quote prices one call, or several in the order they would run, before anything runs.

    Terminal
    curl -X POST \
      https://app.scrub.app/v1/tools/quote \
      -H "Authorization: Bearer $SCRUB_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "steps": [
          {
            "tool": "transcribe_audio",
            "arguments": {
              "src": "FILE_ID"
            }
          }
        ]
      }'
  2. Run it

    Call the Tool or Action by its name.

    Terminal
    curl -X POST \
      https://app.scrub.app/v1/tools/transcribe_audio \
      -H "Authorization: Bearer $SCRUB_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: interview-1" \
      -d '{
        "src": "FILE_ID"
      }'
  3. Follow the job

    Ask job_status with the job_id every few seconds.

    Terminal
    curl -X POST \
      https://app.scrub.app/v1/tools/job_status \
      -H "Authorization: Bearer $SCRUB_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "job_id": "JOB_ID"
      }'
Your files