Apify

v0.2.1
io.github.pipeworx-io/apify Checked 1 day ago Published 1 month ago

Apify MCP — run web-scraping Actors and fetch their dataset results.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

apify_run_actor

Run an Apify Actor (a cloud scraping/automation program) and get its dataset results in a single blocking call. The run is capped at 300 seconds. Pass the Actor input as an `input` object — its shape depends on the Actor. Example: apify_run_actor({ actorId: "apify~web-scraper", input: { startUrls: [{ url: "https://example.com" }] }, _apiKey: "your-token" }). Browse Actors at https://apify.com/store.

ParameterTypeDescription
_apiKey *stringYour Apify API token (get one at https://console.apify.com/sign-up, Settings → Integrations).
actorId *stringActor identifier. Use the tilde form "username~actor-name" (e.g. "apify~web-scraper"), a "username/actor-name" form (auto-normalized to tilde), or the raw Actor ID.
inputobjectThe Actor input JSON. Passed as the run INPUT. Shape is Actor-specific — see the Actor page in the Apify Store. Optional; defaults to {}.

apify_scrape_url

Scrape a single web page (or crawl from it) and get clean, RAG-friendly markdown content. Convenience wrapper around the "apify~website-content-crawler" Actor. Example: apify_scrape_url({ url: "https://docs.apify.com/api/v2", _apiKey: "your-token" }).

ParameterTypeDescription
_apiKey *stringYour Apify API token (get one at https://console.apify.com/sign-up).
url *stringThe URL to scrape, e.g. "https://example.com/article".

apify_dataset_items

Fetch items from an existing Apify dataset (e.g. the output of a prior Actor run). Example: apify_dataset_items({ datasetId: "abc123", limit: 50, _apiKey: "your-token" }).

ParameterTypeDescription
_apiKey *stringYour Apify API token (get one at https://console.apify.com/sign-up).
datasetId *stringThe dataset ID (or username~dataset-name). Returned as `defaultDatasetId` from an Actor run.
cleanbooleanIf true (default), return only non-empty items and skip hidden fields.
limitnumberMaximum number of items to return. Default 100 (Apify itself has no default limit; we cap for readability).
offsetnumberNumber of items to skip from the start. Default 0.