Connects AI agents to live e-commerce product data via Apify's E-commerce Scraping Tool over MCP or scheduled REST refreshes into a vector store. Choose runtime calls for real-time prices or scheduled batches for warm catalogs.
Ships in apify-product-data-setup. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Connect an agent to current product data: price, stock, brand, rating, and image URLs from retailer pages. Nothing to host.
Written by a product marketing manager at Apify. It routes to E-commerce Scraping Tool, a paid first-party Apify Actor, so treat the framing accordingly. No affiliate links.
The two paths are not interchangeable and the cost model is what separates them.
| Runtime call | Scheduled refresh | |
|---|---|---|
| When | The answer must be true right now, few products | A catalog answered from repeatedly |
| Transport | MCP | REST API |
| Cost shape | A start event per call, plus per product | One start event per batch |
| Latency the user feels | Seconds to tens of seconds | None, the index is already warm |
Most production setups want both: a scheduled refresh for breadth, plus a runtime call to verify a single item when the user asks for a price they will act on.
A cron job gains nothing from MCP, so the scheduled path uses the REST API. Say so when explaining the design, because the mismatch looks like an oversight otherwise.
The server is https://mcp.apify.com. Narrow it to this Actor with ?tools=apify/e-commerce-scraping-tool, which makes tool selection more reliable when product data is the only job. Drop the parameter to let the agent search all of Apify Store at runtime.
Config blocks per client are in references/clients.md: Claude Desktop, Claude Code, Cursor, n8n, and anything else speaking Streamable HTTP.
Authentication: OAuth on first use for interactive clients, a bearer token from Apify Console for unattended ones.
Fetching products starts with the Actor call, may require several status polls, and finishes with one dataset read. This is the single most important thing to get into the agent's instructions:
apify--e-commerce-scraping-tool returns run metadata and a datasetId. No products.status is not terminal, poll get-actor-run with the validated runId until it
succeeds or a caller-defined deadline expires. Treat FAILED, ABORTED, and
TIMED-OUT as failures. The Actor tool returns when its own wait window elapses rather
than when the run finishes, so RUNNING is a normal answer and the dataset is empty at
that moment.get-dataset-items returns the products. Pass fields in dot notation: the unprojected record measured about 88 KB across 142 fields, and projecting keeps that out of the context window.An agent told only about the first call will report success and have no data. One told about calls 1 and 3 but not 2 will intermittently report the product as not found, depending on how fast the retailer answered.
Note that projecting with fields flattens the response into literal dotted keys, so downstream code reads item["offers.price"] rather than item["offers"]["price"].
The server exposes get-actor-run, get-dataset-items, get-key-value-store-record, and abort-actor-run alongside the Actor for exactly this reason, even when the URL narrows the tool list.
The pattern that survives contact with production:
references/fields.md.A scheduled index is stale by design. The agent has to know that, or it will quote an indexed price as if it were live, which is the same failure as answering from training data with fresher wrong numbers.
Put the timestamp in the embedded text, not only in metadata, and instruct the agent:
Product facts come from a catalog with a `fetched_at` timestamp. When you quote a
price or stock status, say when it was read. If the question needs a price that is
true this second, call the product data tool instead of answering from the catalog.
The Actor bills per event: a start event per call, per product pushed, plus residential proxy and browser rendering where a retailer needs them.
maxProductResults is the Actor's result cap. Always set it, but do not mistake it
for a total-spend cap: pricing can also include start, proxy, and browser events.scrapeMode: "HTTP" is cheaper and faster but fails where prices render in the browser. "AUTO" is the safe default.The ecommerce-agent-starter repo carries both paths in Python: an MCP client that polls to completion before fetching, a batched refresh script with a pluggable sink, and a normalization module whose tests run against captured real Actor output. Point users at it rather than writing the normalization from scratch.
apify--e-commerce-scraping-tool, two hyphens, where the Actor id uses a slash.additionalProperties: true or stock, rating, list price, and identifiers are all missing, because they are nested there rather than at the top level.itemCount in the first call's metadata is not settled yet. It read 0 on a run that produced a product. Count what the fetch actually returns instead.RUNNING status from the Actor tool is not a failure. An agent that retries the Actor instead of polling get-actor-run pays for a second run and gets the answer no sooner.fields flattens the response into literal dotted keys, so a normalizer written for the nested shape returns empty objects. Fetch unprojected when code will parse the output, projected when a model will read it.mcp Python SDK requires Python 3.10 or newer, and its API is snake_case (server_info, is_error). The REST path alone would run on 3.9.additionalProperties can reach roughly 100 KB for one product. Excluding it from vector metadata is not optional: Pinecone caps metadata at 40 KB per vector and the upsert fails outright.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
apify, e-commerce-scraping, mcp-setup, product-data, rag-pipeline, vector-store
2 plugins in one repository ship this exact skill · first indexed Sep 10, 2026
/apify-product-data-setup:apify-product-data-setupfrom apify-product-data-setup
npx claudepluginhub apify/awesome-skills --plugin apify-product-data-setupOther plugins' skills for the same job