Skip to main content
Glama
Apify Run Health Monitor MCP Server

Apify Run Health Monitor MCP Server

Apify Run Health Monitor MCP Server

MCP Registry npm version npm downloads license

An MCP server for the Mamba Labs Apify Run Health Monitor actor on Apify. Which of your Apify actors failed, slowed down, or returned nothing.

What's Inside

Related MCP server: mcp-apify

What it does

Give your own Apify API token and the actors to check, or the word all for every actor with a run in the window. The actor reads your run list and the newest datasets from the Apify API and returns one health row per actor: runs by status, failure rate, the latest run, median and slowest duration, slow runs, empty dataset runs, and platform usage, with a verdict and plain reasons. Each failed, timed out, aborted, empty, slow, or stuck run also gets a free alert row with its Console link.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

{
  "mcpServers": {
    "mamba-apify-run-health-monitor": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-apify-run-health-monitor"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}

Restart the client. The check_apify_run_health tool appears.

Prerequisites

Example prompts

  • "Check all my Apify actors from the last 24 hours and list the unhealthy ones."

  • "Which of my scrapers returned an empty dataset this week?"

  • "Show the failed and timed out runs for apify/web-scraper in the last 3 days."

Tool

check_apify_run_health. One tool. Example arguments:

{
  "actors": [
    "all"
  ],
  "lookback_hours": 24
}

Inputs

Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.

Input

Type

Required

Description

actors

array

no

Actor IDs, username/name, or Apify Console or Store URLs, one per line. Use the single word all to check every actor that started a run in the window. Store actors you run count too: their runs on your account are read.

api_token

string

no

Your own Apify API token, from Apify Console, Settings, API and Integrations. It is sent only to api.apify.com and is never stored, logged, or written to a row. A scoped token needs read access to actors, runs, and datasets. With no token, the run writes one free row and reads nothing.

lookback_hours

number

no

How far back to read runs, 1 to 2160 hours (default 24). Runs started in this window are counted.

max_failure_pct

number

no

An actor whose failed plus timed out runs pass this share of its finished runs is marked unhealthy, 0 to 100 (default 10).

min_items

number

no

A succeeded run whose dataset holds fewer items than this counts as empty (default 1). Set 0 to skip the dataset check.

datasets_per_actor

number

no

How many of each actor's newest succeeded runs get their dataset item count read, 0 to 20 (default 3).

slow_factor

number

no

A succeeded run that takes more than this many times the actor's median run time, and at least 30 s longer, counts as slow, 1.2 to 100 (default 2). Needs 3 or more succeeded runs in the window.

count_aborted_as_failed

boolean

no

yes or no (default no). Aborted runs are often stopped by hand, so by default they lower the verdict to warning but do not count in the failure rate.

alert_rows

boolean

no

yes or no (default yes). Writes a free row for each problem run, newest first, up to 20 per actor.

include_idle_actors

boolean

no

yes or no (default no). With actors set to all, also checks every actor your account owns that started no run in the window; each gets the verdict no_runs and is charged like any other actor checked.

max_actors

number

no

Most actors to check in one run, 1 to 1000 (default 100). With all, the actors with the most runs come first.

max_runs

number

no

Most runs to read from your run list, newest first, 100 to 50000 (default 10000). Each health row says when this limit cut the window short.

max_charge_usd

string

no

Optional. The run stops before a charge that would pass this amount. Rows already written stay, and one free row names the first actor not checked.

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

Event

Free plan

Bronze

Silver

Gold

actor-checked, one actor checked, with its alert rows

$0.003

$0.00285

$0.0027

$0.00255

apify-actor-start, per run start

$0.002

$0.002

$0.002

$0.002

Alert rows, the row for a missing or refused token, actors not found, and refused input are free. Mamba Labs pays the platform costs of the run. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.

Full actor documentation

apify.com/mambalabs/apify-run-health-monitor

License

MIT. See LICENSE.

Available Tools

1 tool
check_apify_run_healthCheck the health of your Apify actors' runsA
Read-onlyIdempotent

Give your own Apify API token and the actors to check, or all. Returns one health row per actor for the window: run counts by status, failure rate, the latest run, median and slowest duration, slow runs, empty dataset runs, platform usage, a verdict (ok, warning, unhealthy, no_runs) with reasons, and a free alert row for each failed, timed out, aborted, empty, slow, or stuck run. With no token it writes one free row and reads nothing. Pay per event on Apify: 0.003 USD per actor checked.

Inputs: actors, max_runs, api_token, min_items, +9 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool there is nothing to confuse; the single action of checking Apify run health is unambiguous and clearly scoped. An agent will never misselect among tools here.

    Naming Consistency5/5

    The lone name check_apify_run_health follows a clean verb_noun_resource pattern and is self-descriptive. There are no competing conventions to clash with.

    Tool Count3/5

    A health-monitor server can reasonably be a single entry point, but one tool is on the thin side given how much it bundles (run stats, verdicts, alert rows, per-actor billing). A small companion set (e.g. listing actors or drilling into a specific run) would make the surface feel deliberately scoped rather than monolithic.

    Completeness3/5

    The tool covers the core read path — status counts, failure rate, durations, empty datasets, verdict, and alert rows — but stops there. There is no way to inspect an individual failed or stuck run, fetch logs, or re-check a subset after the initial sweep, leaving agents with a dead end once a verdict flags a problem.

    Maintenance

    ActivityNo data
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables running Apify Actors for web scraping and automation, fetching dataset results, and scraping URLs to clean markdown via MCP.
      65 npm
      1
      MIT
    • A
      license
      A
      quality
      A
      maintenance
      Enables AI agents to check a list of websites by running an Apify Actor through one tool, returning per-site tech stack, on-page SEO issues and score, robots.txt rules for AI crawlers, sitemap, llms.txt presence, and an AI-readiness score. Supports local stdio operation with an Apify token for tool calls.
      8
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Reads a GitHub repository's own workflow and scheduled-run history to report runs that were late, never happened, failed, or succeeded without doing anything, plus schedules GitHub has disabled and the 60-day inactivity countdown. It is read-only, uses the caller's own GitHub token, and returns a JSON report usable by an agent to verify that scheduled workflows actually ran when they should have.
      MIT