Spree Commerce: open-source B2B and marketplace ecommerce
Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
作者提供的说明(英文原文)
Agent-native product catalog: 300M+ products, 150,000+ stores, deliver_to ranking.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
BUYWHERE_API_KEY, Authorization标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"buywhere": {
"command": "npx",
"args": [
"-y",
"@buywhere/mcp-server"
],
"env": {
"BUYWHERE_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http buywhere https://api.buywhere.ai/mcp --header 'Authorization: your-value'claude mcp add buywhere --env BUYWHERE_API_KEY=your-value -- npx -y @buywhere/mcp-server运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"buywhere": {
"url": "https://api.buywhere.ai/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"buywhere": {
"command": "npx",
"args": [
"-y",
"@buywhere/mcp-server"
],
"env": {
"BUYWHERE_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"buywhere": {
"type": "http",
"url": "https://api.buywhere.ai/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"buywhere": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@buywhere/mcp-server"
],
"env": {
"BUYWHERE_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
Authorization 机密 必填 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 BuyWhere 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:BUYWHERE_API_KEY, Authorization
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(1.2.0)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
MCP server integrating with Stripe - tools for customers, products, payments, and more.
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
AI agents use BuyWhere to search products, compare prices, and discover deals across Singapore and US merchants in real time.
export BUYWHERE_API_KEY=bw_live_xxxx
npx -y @buywhere/mcp-server
Use with Claude Desktop, Cursor, VS Code Copilot, Cline, Windsurf, OpenCode, Codex, Continue.dev, and any MCP-compatible client.
Or get one in 3 seconds, no signup, no email : POST /v1/auth/register · Legacy form: buywhere.ai/api-keys
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.
*44-second demo: product search, deal discovery, price comparison, and multi-region support.*
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_products → side-by-side with best-value pick]
Get a key in 3 seconds — no signup, no email:
# 1. Register (one call, returns api_key instantly)
curl -X POST https://api.buywhere.ai/v1/auth/register \ -H "Content-Type: application/json" \ -d '{"agent_name":"your-agent"}'
export BUYWHERE_API_KEY=bw_... npx -y @buywhere/mcp-server
Legacy email signup (60s, manual approval) → buywhere.ai/api-keys
Read the [BuyWhere Engineering Blog](https://buywhere.ai/blog) for deep dives on MCP architecture, agent commerce, and the ecosystem.
Also follow the [BuyWhere Hashnode blog mirror](https://buywhere.hashnode.dev/) for the same engineering content on Hashnode.
| Tool | Description |
|---|---|
search_products | Search catalog by keyword, category, price, country |
get_product | Full product details by ID (prices, specs, images) |
compare_products | Side-by-side comparison of 2–10 products |
find_best_price | Cheapest deliverable listing for a product across merchants |
get_deals | Products with significant price drops |
list_categories | Available product category taxonomy |
find_similar | Similar products by vector similarity |
ingest_products | Submit product URLs for catalog ingestion (agents/merchants) |
search_products_v2 | v2 search; requires deliver_to (ISO country) |
get_product_v2 | v2 product details by ID |
compare_products_v2 | v2 comparison; optional deliver_to |
get_deals_v2 | v2 deals; requires deliver_to |
find_best_price_v2 | v2 best price; requires deliver_to |
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
Framework quickstarts:
Add to claude_desktop_config.json:
{
"mcpServers": { "buywhere": { "command": "npx", "args": ["-y", "@buywhere/mcp-server"], "env": { "BUYWHERE_API_KEY": "bw_live_xxxx" } } } }
Add to your MCP settings file:
{
"mcpServers": { "buywhere": { "command": "npx", "args": ["-y", "@buywhere/mcp-server"], "env": { "BUYWHERE_API_KEY": "bw_live_xxxx" } } } }
Add to ~/.windsurf/mcp.json:
{
"mcpServers": { "buywhere": { "command": "npx", "args": ["-y", "@buywhere/mcp-server"], "env": { "BUYWHERE_API_KEY": "bw_live_xxxx" } } } }
Add to opencode.json:
{
"mcpServers": { "buywhere": { "command": "npx", "args": ["-y", "@buywhere/mcp-server"], "env": { "BUYWHERE_API_KEY": "bw_live_xxxx" } } } }
Add to ~/.continue/config.json:
{
"experimental": { "mcpServers": { "buywhere": { "command": "npx", "args": ["-y", "@buywhere/mcp-server"], "env": { "BUYWHERE_API_KEY": "bw_live_xxxx" } } } } }
Mastra is a TypeScript-first AI agent framework with native MCP support.
npm install @mastra/core @mastra/mcp
import { Mastra } from '@mastra/core';
import { MastraMCPClient } from '@mastra/mcp';
const buywhere = new MastraMCPClient({ name: 'buywhere', server: { url: new URL('https://api.buywhere.ai/mcp'), requestInit: { headers: { 'Authorization': Bearer ${process.env.BUYWHERE_API_KEY} }, }, }, });
const agent = new Mastra({ agents: { shoppingAgent: { instructions: 'You are a shopping assistant. Use BuyWhere to find and compare products.', tools: await buywhere.tools(), }, }, });
const result = await agent.agents.shoppingAgent.generate( 'Find me the best deal on a Sony WH-1000XM5 in Singapore' );
Full guide: BuyWhere + Mastra Integration
Use BuyWhere tools in LangChain agents via the MCP adapter:
from langchain_mcp_adapters.client import MultiServerMCPClient
from langgraph.prebuilt import create_react_agent from langchain_anthropic import ChatAnthropic
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 = await client.get_tools() agent = create_react_agent(ChatAnthropic(model="claude-sonnet-4-5"), tools) result = await agent.ainvoke({"messages": [("user", "Find the cheapest Sony headphones in Singapore")]})
Connect BuyWhere via LlamaIndex MCP client:
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec
from llama_index.agent.openai import OpenAIAgent
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.to_tool_list() agent = OpenAIAgent.from_tools(tools) response = await agent.achat("Compare prices for iPhone 16 Pro across Singapore and US")
Use BuyWhere in a CrewAI agent with MCP tool integration:
from crewai import Agent, Task, Crew
from crewai_tools import MCPServerAdapter
buywhere_server = MCPServerAdapter( server_params={ "url": "https://api.buywhere.ai/mcp", "headers": {"Authorization": f"Bearer {BUYWHERE_API_KEY}"}, "transport": "streamable-http", } )
shopping_agent = Agent( role="Shopping Research Analyst", goal="Find the best deals across Singapore and US markets", tools=[buywhere_server], )
task = Task( description="Find the best price for Sony WH-1000XM5 headphones across all available markets", agent=shopping_agent, expected_output="Product comparison with prices and merchant links", )
crew = Crew(agents=[shopping_agent], tasks=[task]) result = crew.kickoff()
| Variable | Default | Description |
|---|---|---|
BUYWHERE_API_KEY | (required) | API key (no signup: POST /v1/auth/register {"agent_name":" "}) — returns instantly, no email verification |
| `B
只显示了开头部分;其余内容请在仓库中阅读