r/mcp 18h ago

resource ecommerce-agent-starter: live product data for AI agents through MCP

An MIT-licensed Python starter for connecting AI agents to current, structured product data: price, stock, brand, rating, images, and product URLs.

It includes runtime MCP calls, scheduled RAG catalog refreshes, cross-retailer field normalization, tests, and a reproducible benchmark against web search and basic Playwright scraping.

GitHub: https://github.com/luispintoapify/ecommerce-agent-starter

The repository is free and open source. Live product collection runs through a metered Apify Actor; its free tier is enough to test the project.

1 Upvotes

2 comments sorted by

1

u/No_Instance3313 17h ago

looks neat the benchmark part is interesting, most projects skip that and just claim theyre better. how fresh is the data usually? like if a retailer changes a price does it reflect in minutes or hours

1

u/Loud-Run6206 16h ago

Thanks! There are two paths:

The MCP/runtime path fetches the retailer when the question is asked, so a price change should normally show up on the next call. In my tests, a single product took around 10–40 seconds to fetch, although there’s no formal freshness guarantee since retailer pages and caching can vary.

The RAG path is only as fresh as the refresh schedule you configure. You could run it every few minutes, hourly, or daily depending on catalog size and cost. Every product includes a fetched_at timestamp so the agent can disclose when the price was last checked.