BuyWhere MCP Server — Product Search & Price Comparison for AI Agents
AI agents use BuyWhere to search products, compare prices, and discover deals across Singapore and US merchants in real time.
Install in 30 Seconds
Use with Claude Desktop, Cursor, VS Code Copilot, Cline, Windsurf, OpenCode, Codex, Continue.dev, and any MCP-compatible client.
[Get your free API key]
Or get one in 3 seconds, no signup, no email: POST /v1/auth/register · Legacy form: buywhere.ai/api-keys
[npm version]
[npm downloads]
[npm weekly downloads]
[License: MIT]
[Node version]
[TypeScript]
[GitHub stars]
[Smithery]
[MCP Registry]
[Hashnode Blog]
AI Agents: Use This Package To
- Search products across Singapore, US, Malaysia, Thailand, and Vietnam markets by keyword, category, or price range
- Compare products across Lazada, Shopee, Amazon, and local retailers in a single query
- Find deals and track real-time pricing with multi-currency support
- Build shopping agents that recommend, compare, and link to products programmatically
- Discover product catalogs with structured taxonomy for supported markets
Product search API for AI agents via Model Context Protocol. Built for AI agent commerce, not store management.
Official MCP Registry listing: io.github.BuyWhere/buywhere-mcp
Works with Claude Desktop, Cursor, VS Code Copilot, Cline, Windsurf, OpenCode, Codex, Continue.dev, and any MCP-compatible client. Also supports Agent-to-Agent (A2A) protocol.
Demo
[BuyWhere MCP in Claude Desktop]
44-second demo: product search, deal discovery, price comparison, and multi-region support.
Quick Start
Get a key in 3 seconds — no signup, no email:
Legacy email signup (60s, manual approval) → buywhere.ai/api-keys
Tutorials
From the Blog
Read the BuyWhere Engineering Blog for deep dives on MCP architecture, agent commerce, and the ecosystem.
Also follow the BuyWhere Hashnode blog mirror for the same engineering content on Hashnode.
Tools
Remote MCP: POST https://api.buywhere.ai/mcp (JSON-RPC 2.0, protocolVersion 2024-11-05, 13 tools). Glama listing: https://glama.ai/mcp/servers/BuyWhere/buywhere-mcp
MCP Client Configuration
Framework quickstarts:
Claude Desktop
Add to claude_desktop_config.json:
Cursor / VS Code / Cline
Add to your MCP settings file:
Windsurf
Add to ~/.windsurf/mcp.json:
OpenCode / Codex
Add to opencode.json:
Continue.dev (VS Code / JetBrains)
Add to ~/.continue/config.json:
Mastra
Mastra is a TypeScript-first AI agent framework with native MCP support.
Full guide: BuyWhere + Mastra Integration
LangChain
Use BuyWhere tools in LangChain agents via the MCP adapter:
LlamaIndex
Connect BuyWhere via LlamaIndex MCP client:
CrewAI
Use BuyWhere in a CrewAI agent with MCP tool integration:
Configuration
Install
Use Cases
- Shopping agents — build AI agents that search, compare, recommend products across markets
- Price comparison — multi-market pricing in a single query across Lazada, Shopee, Amazon, local retailers
- Deal discovery — find best-value products with real-time pricing and inventory
- Ecommerce automation — integrate product search into any MCP-compatible app
- Cross-border commerce — compare prices between Singapore, US, Malaysia, Thailand, and Vietnam markets
- Agent-to-Agent commerce — delegate shopping tasks between agents via A2A protocol
Architecture
Development
Why BuyWhere?
BuyWhere is a product search API for AI agents. We aggregate product data from Singapore, US, Malaysia, Thailand, and Vietnam merchants into a single, agent-friendly interface — no store management, no Shopify integration. Just search and compare products in real time.
- One API — all markets, all retailers
- Agent-native — built for MCP from day one
- Real-time — live pricing and availability
- Developer-first — no SDK needed, just add the server
Works Well With
These complementary MCP packages extend BuyWhere into powerful multi-tool workflows:
- @modelcontextprotocol/server-filesystem — Save shopping results and product research to your local filesystem. Combine with BuyWhere to export deal lists, price comparisons, and product specs as structured files.
- @supabase/mcp-server-supabase — Store favorite products, user preferences, and price alerts in Supabase. Persist shopping history across agent sessions.
- n8n-mcp — Automate price monitoring workflows. Build no-code pipelines that watch BuyWhere prices and trigger notifications on price drops.
- tavily-mcp — Research products before buying. Use Tavily to find reviews and comparisons, then use BuyWhere to get current prices and purchase links.
- @playwright/mcp — E2E test your shopping agent interactions. Verify that product search, price comparison, and checkout flows work correctly in browser automation.
Protocols
Contributing
See CONTRIBUTING.md for how to report issues, submit PRs, and suggest features.
From the Blog
Learn more about MCP servers and the BuyWhere ecosystem:
Support
If you find this project useful:
- ⭐ Star the repo — it helps others discover BuyWhere
- 🐛 Open an issue for bugs or feature requests
- 💬 Start a discussion for questions or ideas
- 📣 Share it with other developers who build AI agent tools
License
MIT