Skip to main content
Glama
BuyWhere Catalog MCP Server

BuyWhere Catalog MCP Server

Official

BuyWhere MCP 服务器

npm version npm downloads License: MIT GitHub stars Smithery MCP Registry


面向 AI 智能体的跨境产品目录。通过 模型上下文协议 (Model Context Protocol) 搜索并比较新加坡、东南亚和美国市场的产品。

适用于 Claude Desktop、Cursor、VS Code Copilot、Cline、OpenCode、Codex 以及任何兼容 MCP 的客户端。


演示

BuyWhere MCP 在 Claude Desktop 中的演示

44 秒演示:产品搜索、优惠发现、价格比较以及多区域支持。

User:   "Find me wireless earbuds under $50 available in Singapore"
Agent:  [calls search_products → returns 5 matching products]

User:   "Compare the top 3"
Agent:  [calls compare_prices → side-by-side with best-value pick]

Related MCP server: Agentic Product Protocol MCP Server

快速开始

export BUYWHERE_API_KEY=bw_live_xxxx
npx -y @buywhere/mcp-server

获取您的免费 API 密钥 → buywhere.ai/api-keys

工具

工具

描述

search_products

按关键词、类别、价格、区域搜索目录

get_product

通过 ID 获取完整产品详情(价格、规格、图片)

compare_prices

2–5 个产品的并排比较

get_price

获取单个产品在所有商家的当前价格

get_affiliate_link

获取产品的点击追踪联盟链接

get_catalog

可用的产品类别分类法

使用场景

  • AI 智能体 — 实时搜索、比较和推荐新加坡、东南亚和美国市场的产品

  • 开发者 — 无需 API 集成,即可为任何兼容 MCP 的应用添加跨境购物功能

  • 价格比较 — 在一次查询中获取 Lazada、Shopee、Amazon 和本地零售商的多市场定价

快速设置

Claude Desktop

添加到 claude_desktop_config.json:

{
  "mcpServers": {
    "buywhere": {
      "command": "npx",
      "args": ["-y", "@buywhere/mcp-server"],
      "env": { "BUYWHERE_API_KEY": "bw_live_xxxx" }
    }
  }
}

Cursor / VS Code / Cline

配置相同 — 添加到您的 MCP 设置文件中:

{
  "mcpServers": {
    "buywhere": {
      "command": "npx",
      "args": ["-y", "@buywhere/mcp-server"],
      "env": { "BUYWHERE_API_KEY": "bw_live_xxxx" }
    }
  }
}

配置

变量

默认值

描述

BUYWHERE_API_KEY

(必填)

来自 buywhere.ai/api-keys 的 API 密钥

BUYWHERE_API_URL

https://api.buywhere.ai/mcp

自定义 API 基础 URL

安装

# Run directly (no install)
npx -y @buywhere/mcp-server

# Install globally
npm install -g @buywhere/mcp-server
buywhere-mcp

开发

git clone https://github.com/BuyWhere/buywhere-mcp.git
cd buywhere-mcp
npm install
npm run build
npm start

为什么选择 BuyWhere?

BuyWhere 是首个专为 AI 智能体构建的跨境产品目录 API。我们将新加坡、东南亚和美国市场的产品聚合到一个对智能体友好的单一接口中。

  • 单一 API — 涵盖所有市场、所有零售商

  • 智能体原生 — 从第一天起就为 MCP 构建

  • 实时性 — 实时价格和库存状态

  • 开发者优先 — 无需 SDK,只需添加服务器即可

A2A 协议

BuyWhere 还支持用于多智能体任务委派的 智能体到智能体 (A2A) 协议。请在 /.well-known/agent.json 查看我们的智能体卡片。

贡献

请参阅 CONTRIBUTING.md 了解如何报告问题、提交 PR 以及建议功能。

支持

如果您觉得本项目有用:

  • ⭐ 给仓库加星 — 这有助于其他人发现 BuyWhere

  • 🐛 提交 Issue 以反馈 Bug 或功能请求

  • 💬 发起讨论 以提出问题或想法

  • 📣 分享给其他构建 AI 智能体工具的开发者

许可证

MIT

Available Tools

6 tools
compare_pricesA

Compare 2–5 products side-by-side. Returns structured differentiators, price range, pros/cons, and a best-value recommendation — purpose-built for AI agent decision-making.

Inputs: product_ids (required).

get_catalogA

List available product categories in the BuyWhere catalog. Use this to discover what categories exist before searching or filtering.

Inputs: parent_slug.

get_priceA

Get current prices for a product across all available merchants. Returns a ranked list of listings with price, shipping, merchant rating, and stock status. Use this to find the cheapest place to buy a specific product.

Inputs: product_id (required).

get_productB

Fetch full details for a single product by its BuyWhere product ID.

Inputs: product_id (required).

search_productsA

Search the BuyWhere product catalog using keywords or natural language. Returns matching products with title, price, availability, merchant, and URL.

Inputs: query (required), country, category, limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: compare_prices does side-by-side comparison, get_affiliate_link provides affiliate links, get_catalog lists categories, get_price shows merchant prices, get_product fetches details, search_products searches catalog. No overlapping functionality.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern in snake_case (e.g., compare_prices, search_products). The naming is predictable and easy to understand.

    Tool Count5/5

    With 6 tools, the set is well-scoped for a price comparison and affiliate linking service. Each tool serves a necessary function without unnecessary bloat.

    Completeness4/5

    Core workflows are covered: search, get details, compare, get prices, affiliate links, and category discovery. Minor gaps like lack of explicit filtering or sorting in search are acceptable for the scope.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      A Model Context Protocol server enabling product searches across e-commerce platforms, price history tracking, and product specification-based searches using natural language prompts.
      2
      113 PyPI
      19
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Real-time Shopee competitor price monitoring, powered by AI agents through the Model Context Protocol (MCP). Enables AI agents to track, analyze, and alert on price movements across Shopee Southeast Asia.
      22
      3
      MIT