Skip to main content
Glama
BuyWhere

BuyWhere

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]

快速开始

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

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
3Releases (12mo)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BuyWhere/buywhere-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server