DEV Community

BuyWhere
BuyWhere

Posted on • Originally published at buywhere.ai

How I Built an AI Shopping Agent for Singapore in 10 Minutes

The Problem

Singapore has some of the best online shopping in Southeast Asia — Lazada, Shopee, Amazon SG, Courts, Harvey Norman, Challenger. But comparing prices across all of them manually is a nightmare. Tab after tab, searching the same product name, mentally tracking which merchant has the better deal.

The Solution: AI Shopping Agents

AI agents can do this work for you. And with BuyWhere MCP, any AI agent (Claude, Cursor, Windsurf, or custom apps) can query live Singapore product data across multiple merchants.

What You'll Build

In this tutorial, I'll show you how to connect an AI agent to BuyWhere's MCP server and start comparing laptop prices in Singapore in under 10 minutes.

Step 1: Get a BuyWhere API Key

Go to buywhere.ai/api-keys and sign up. It takes 30 seconds — no sales call, no credit card.

Step 2: Configure Your MCP Client

For Claude Desktop:

{
  "mcpServers": {
    "buywhere": {
      "command": "npx",
      "args": ["-y", "@buywhere/mcp-server"],
      "env": {
        "BUYWHERE_API_KEY": "your-api-key-here"
      }
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

For any MCP-compatible client:

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

Set the environment variable BUYWHERE_API_KEY before launching.

Step 3: Start Shopping

Once connected, you can ask your AI agent:

"Find me the best laptop deals in Singapore under $1500 SGD"

"Compare prices for iPhone 16 across all Singapore merchants"

"What's the cheapest air purifier available on Shopee SG?"

The agent will query BuyWhere's API and return live, structured product data — prices in SGD, merchant names, product links — so you can make an informed decision instantly.

What's Under the Hood

BuyWhere normalizes product data across multiple Singapore merchants into a single API. The MCP server handles:

  • Product search — query by keyword, category, or merchant
  • Price comparison — see prices across merchants in SGD
  • Live data — fresh inventory and pricing

Here's a quick example query:

User: Show me the best laptop deals in Singapore
Agent: [calls buywhere_search with query="laptop", merchant="singapore"]
Returns: {products: [{name: "...", price: "S$...", merchant: "...", url: "..."}]}
Enter fullscreen mode Exit fullscreen mode

Why This Matters for Developers

If you're building AI agent tools, shopping agents, or price comparison bots, BuyWhere gives you:

  • A normalized product layer across merchants
  • Live pricing (not scraped data from weeks ago)
  • Simple MCP interface that any AI agent can use
  • Singapore-focused data with plans for more regions

Try It Yourself

  1. Get your free API key at buywhere.ai
  2. Install the MCP server: npx -y @buywhere/mcp-server
  3. Connect it to your favorite AI agent
  4. Start comparing prices in Singapore instantly

Built for developers and AI agents. SG$ prices. Live data. No scraping.

Related reading:

Top comments (0)