{"body": "Ask most AI assistants for a grocery price and you'll get a plausible-sounding number pulled from stale training data, not what's actually on the shelf right now. If you're building an agent that's supposed to help someone actually buy something, that gap matters.\n\n## What we built\n\nPriceGrid runs a hosted MCP (Model Context Protocol) server at `/mcp`, authenticated with the same API key you already use for the REST API. Point any MCP-aware client \u2014 Claude, or your own agent framework \u2014 at it, and the agent gets three tools:\n\n- **`get_product`** \u2014 live price, MRP and stock for a product, by URL or by platform + product ID, scoped to a pincode, lat/lon, or store ID. Costs 1 credit on a successful lookup.\n- **`check_credits`** \u2014 how many credits are left on the key, free to call.\n- **`list_platforms`** \u2014 which platforms are supported right now and their status (live or coming soon), free to call.\n\n## Why this matters for agent reliability\n\nAn agent that calls `get_product` before answering isn't guessing \u2014 it's reading the same data PriceGrid serves to the REST API, which comes straight from the platform at call time. That means:\n\n- No stale prices baked into a model's training cutoff.\n- No hallucinated stock status \u2014 a sold-out item comes back as unavailable, not as a confident wrong answer.\n- The agent can compare the same product across Blinkit, Instamart, BigBasket, Croma, Flipkart and Flipkart Minutes in one conversation turn.\n\n## Getting started\n\nAdd PriceGrid's MCP endpoint to your client's server config with your API key as the bearer credential, and the three tools above show up automatically \u2014 no separate SDK, no extra setup beyond the key you already have.\n\nFull connection details are on the [MCP](/#/mcp) page, including the exact config block for Claude and other common clients.", "category": "Engineering", "color": "#38bdf8", "created_at": 1791864619.7210188, "excerpt": "PriceGrid ships a hosted MCP server so Claude, or any MCP-aware agent, can check real price and stock before recommending a product \u2014 not guess from training data.", "read_minutes": 2, "slug": "mcp-server-for-ai-shopping-agents", "title": "Giving an AI Agent Live Grocery Prices with an MCP Server", "time_ist": "2026-12-01 13:22:05 IST"}