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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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: quick-commerce-mcp
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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
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.
PriceInIndia is a price-comparison assistant for products sold in India. Ask about any product — phones, laptops, cameras, appliances and more — and it searches live listings from Amazon, Flipkart, Croma, Reliance Digital and 50+ other Indian retailers, then shows current prices and the best available offer as interactive product cards with direct links to buy from the retailer. You can also browse product categories to explore. Prices are in INR and come from live listings, so they can change quickly. PriceInIndia is for shopping research only — it does not sell products or process payments.
Cheapest delivered price for any product: tech, home, shoes, beauty. Read from each store's checkout
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables 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.-
- AlicenseBqualityBmaintenanceAggregates quick commerce platforms like Zepto, Swiggy Instamart, and BigBasket for searching, comparing prices, and ordering through a single MCP interface.760 npm6MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that compares grocery basket prices across Blinkit, Zepto, BigBasket, and Amazon Now in real time, identifying the cheapest platform for the entire basket.28 npmMIT
- FlicenseNot gradedqualityCmaintenanceEnables users to compare and get recommendations across multiple supermarket products, combining curated specifications with realtime price and review lookups.-