Commerce Price MCP
Allows searching Amazon India (amazon_in) for product listings and comparing landed prices.
Allows searching BigBasket for grocery products and comparing landed prices.
Allows searching Flipkart for product listings and comparing landed prices.
Allows searching JioMart for grocery products and comparing landed prices.
Allows searching Swiggy Instamart for quick-commerce grocery products and comparing landed prices.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Commerce Price MCPCompare prices for Aashirvaad Atta 5kg at pincode 751019"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Commerce Price MCP
A TypeScript MCP server for comparing Indian quick-commerce and e-commerce product prices.
What it does
Searches configured marketplace adapters in parallel.
Normalizes listings into one schema.
Ranks by landed price = item price + known delivery fee.
Returns direct product links supplied by each connector.
Persists every observed price to
data/history.jsonl.Exposes price history.
Predicts 15-30 day direction using an explainable daily-minimum trend + EWMA model.
Provides a
best_buy_decisiontool.
Marketplace connector slots:
blinkit, zepto, instamart, bigbasket, jiomart, amazon_in, flipkart.
Related MCP server: mcp-supermercados-cl
Why connectors are separated
Retailers differ materially in authentication, location handling, public API access, anti-bot controls, and terms. Do not hard-code brittle page scraping into the MCP core.
Each non-core connector can be:
an official retailer/affiliate API,
an official MCP,
a licensed commerce-data provider,
your own compliant browser service.
The MCP never needs to change when a provider changes.
Current Swiggy/Instamart path
Swiggy publishes an Instamart MCP at:
https://mcp.swiggy.com/im
It uses OAuth 2.1 with PKCE. For production, either:
connect your app directly to that MCP and expose its
search_productsresult through a small HTTP bridge matching the adapter contract below, orextend this project with
@modelcontextprotocol/clientand an OAuth token provider.
A bridge is intentionally not bundled here because OAuth is user/session-specific.
Adapter contract
Configure each *_ADAPTER_URL. The MCP sends:
{
"query": "Aashirvaad Shudh Chakki Atta",
"pincode": "751019",
"quantity": 5,
"unit": "kg",
"limit": 10
}Your provider should return:
{
"items": [
{
"title": "Aashirvaad Shudh Chakki Atta 5 kg",
"price": 249,
"mrp": 300,
"deliveryFee": 0,
"url": "https://...",
"inStock": true,
"quantity": 5,
"unit": "kg",
"productId": "..."
}
]
}platform is optional because the adapter injects it.
Install
Requires Node.js 20+.
npm install
cp .env.example .env
# Fill adapter URLs, then export them or load them with your process manager.
npm run devTest with MCP Inspector:
npx @modelcontextprotocol/inspector npx tsx src/index.tsMCP tools
list_marketplaces
Shows supported and currently configured connectors.
search_product
Input:
querypincodeoptional exact
quantityandunitoptional platform filter
Output:
lowestall normalized results sorted by landed price
direct URLs
connector errors without failing the entire search
get_price_history
Takes canonicalKey, days, and optional pincode.
predict_price
Takes canonicalKey, horizonDays (15-30), optional pincode.
At least 3 distinct historical days are required; 14+ is recommended. Confidence is based on observation count and regression noise.
best_buy_decision
Searches now and combines the current lowest listing with available history:
rising forecast ->
buy_nowfalling forecast ->
consider_waitingstable ->
neutraltoo little history ->
insufficient_history
Important matching rule
"Lowest price" is dangerous unless pack sizes are matched. Pass quantity + unit
whenever possible. The server also emits matchScore; for production, improve this
with GTIN/EAN/UPC identifiers and retailer product IDs.
Production upgrades I recommend
PostgreSQL/TimescaleDB instead of JSONL.
GTIN/EAN-based product entity resolution.
Location-aware taxes, fees, membership pricing, coupons, and minimum-cart rules.
Scheduled snapshots (e.g. 2-4/day) so history is real history, not only user searches.
Festival/calendar/promotion features for the forecast.
Per-marketplace rate limits, retries, cache, circuit breakers and observability.
A separate "same product confidence" model to prevent false cheapest matches.
Store both base price and checkout-effective price; do not mix them.
Backtest forecasts (MAE/MAPE/directional accuracy) before displaying confidence.
Respect each provider's terms, robots/automation policy, authentication and rate limits.
Example host configuration
For a local stdio MCP host, configure a command equivalent to:
{
"command": "npx",
"args": ["tsx", "/absolute/path/to/commerce-price-mcp/src/index.ts"],
"env": {
"BLINKIT_ADAPTER_URL": "https://your-provider/blinkit/search",
"ZEPTO_ADAPTER_URL": "https://your-provider/zepto/search"
}
}Forecast caveat
A 15-30 day retail-price forecast is inherently uncertain. Promotions, inventory, seller changes, festival sales, memberships and location can dominate the signal. Treat the forecast as a decision aid, not as a guaranteed future price.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Cross-merchant product search with real price history, comparisons, and demand signals.
Find the best deals on Amazon, Flipkart and more Indian e-commerce stores via AI.
131Shopping search across 100M+ products, with every retailer's offer and live price in one place.
Real-time Amazon prices, product search, 90-day history, AI forecasts, and price drop alerts.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables querying and comparing product prices across different marketplaces with real-time updates. Deployable on Cloudflare Workers with tools for searching products, comparing prices, and retrieving price history.-
- AlicenseAqualityAmaintenanceEnables searching products, comparing prices, and building optimal shopping lists across major Chilean supermarkets, using your local machine to access real-time prices and loyalty deals.144466MIT
- FlicenseBqualityFmaintenanceAggregates quick commerce platforms like Zepto, Swiggy Instamart, and BigBasket for searching, comparing prices, and ordering through a single MCP interface.72-
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to search and compare live UK product prices from marketplaces like eBay and Amazon, returning normalised JSON with direct buy links.-