Product search API for AI agents via Model Context Protocol. Search and compare products across Singapore and US merchants with real-time pricing
Product search API for AI agents via Model Context Protocol. Search and compare products across Singapore and US merchants with real-time pricing, inventory, and deal discovery for AI agent commerce. Official MCP Registry. The buywhere mcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 11 defined tools rather than through you.
Use with Claude Desktop, Cursor, VS Code Copilot, Cline, Windsurf, OpenCode, Codex, Continue.dev, and any MCP-compatible client.
@buywhere/mcp-server on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Everything the assistant can do here goes through one of these:
search_products — Search catalog by keyword, category, price, regionget_product — Full product details by ID (prices, specs, images)compare_prices — Side-by-side comparison of 2–5 productsget_price — Current prices across all merchants for one productget_affiliate_link — Click-tracked affiliate URL for a productget_catalog — Available product category taxonomyWindsurf — The Windsurf tool exposed by this serverMastra — Mastra is a TypeScript-first AI agent framework with native MCP supportLangChain — async def main(): async with MultiServerMCPClient({ "buywhere": { "url": "https://api.buywhere.ai/mcp", "transport": "streamable_http", "headers"LlamaIndex — async def main(): mcp_client = BasicMCPClient( command_or_url="https://api.buywhere.ai/mcp", headers={"Authorization": f"Bearer {BUYWHERE_API_KEY}"}CrewAI — shopping_agent = Agent( role="Shopping Research Analyst", goal="Find the best deals across Singapore and US markets", tools=[buywhere_server], )You will need 2 environment variables: BUYWHERE_API_KEY, BUYWHERE_API_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Buywhere MCP's toolset — search_products, get_product, compare_prices and 8 more — is a fair guide to whether it matches your workflow. It is maintained by buywhere; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| search_products | Search catalog by keyword, category, price, region |
| get_product | Full product details by ID (prices, specs, images) |
| compare_prices | Side-by-side comparison of 2–5 products |
| get_price | Current prices across all merchants for one product |
| get_affiliate_link | Click-tracked affiliate URL for a product |
| get_catalog | Available product category taxonomy |
| Windsurf | The Windsurf tool exposed by this server. |
| Mastra | [Mastra](https://mastra.ai) is a TypeScript-first AI agent framework with native MCP support. |
| LangChain | async def main(): async with MultiServerMCPClient({ "buywhere": { "url": "https://api.buywhere.ai/mcp", "transport": "streamable_http", "headers": {"Authorization": f"Bearer {BUYWHERE_API_KEY}"}, } }) as client: tools = |
| LlamaIndex | async def main(): mcp_client = BasicMCPClient( command_or_url="https://api.buywhere.ai/mcp", headers={"Authorization": f"Bearer {BUYWHERE_API_KEY}"}, ) mcp_tool_spec = McpToolSpec(client=mcp_client) tools = mcp_tool_spec |
| CrewAI | shopping_agent = Agent( role="Shopping Research Analyst", goal="Find the best deals across Singapore and US markets", tools=[buywhere_server], ) |
{
"mcpServers": {
"buywhere": {
"command": "npx",
"args": ["-y", "@buywhere/mcp-server"],
"env": { "BUYWHERE_API_KEY": "bw_live_xxxx" }
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| BUYWHERE_API_KEY | Credential the server authenticates with. | Yes |
| BUYWHERE_API_URL | Endpoint or connection string the server talks to. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.