DEV Community

Cover image for Quickstart: Let Any AI Agent Search and Compare Product Prices with MCP
BuyWhere
BuyWhere

Posted on

Quickstart: Let Any AI Agent Search and Compare Product Prices with MCP

What You Will Build

In 5 minutes, give any MCP-compatible AI agent the ability to search products across 6 markets.

Install

npx -y @buywhere/mcp-server
Enter fullscreen mode Exit fullscreen mode

Connect

Add to MCP client config:

{
  "mcpServers": {
    "buywhere": {
      "command": "npx",
      "args": ["-y", "@buywhere/mcp-server"]
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Ask Your Agent

Try: "Search for wireless headphones under $100 SGD"

API

curl -H "X-Buywhere-Key: YOUR_KEY" "https://api.buywhere.ai/v1/search?q=macbook&market=SG"
Enter fullscreen mode Exit fullscreen mode

Live Agent Card: https://buywhere.ai/.well-known/agent.json
GitHub: https://github.com/BuyWhere/buywhere-mcp

Built for AI agents that need to shop.

Related reading:

Top comments (0)