JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 149
  • Score
    100M100P100Q101978F
  • License MIT

BuyWhere MCP server — stdio transport for Claude, Cursor, and other MCP clients

Package Exports

  • @buywhere/mcp-server
  • @buywhere/mcp-server/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@buywhere/mcp-server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@buywhere/mcp-server

BuyWhere product catalog as MCP tools — stdio transport for Claude, Cursor, and any MCP client.

npm install @buywhere/mcp-server

Setup

Add the server to your MCP client config:

Claude Desktop

claude_desktop_config.json:

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

Cursor

~/.cursor/mcp.json:

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

Get your API key at buywhere.ai.

Tools

Tool Description
search_products Search catalog by keyword, category, price range, merchant, or region
get_product Full product details and current price by ID
compare_products Side-by-side comparison of 2–10 products
get_deals Discounted products sorted by discount percentage
list_categories Browse available product categories

Environment variables

Variable Required Default Description
BUYWHERE_API_KEY Yes API bearer token
BUYWHERE_API_URL No https://api.buywhere.ai/mcp Hosted MCP endpoint URL

Usage with Claude CLI

BUYWHERE_API_KEY=bw_live_your_api_key npx @buywhere/mcp-server

Usage programmatically

import { spawn } from "child_process";

const mcp = spawn("npx", ["@buywhere/mcp-server"], {
  env: { BUYWHERE_API_KEY: "bw_live_your_api_key" },
  stdio: ["pipe", "pipe", "pipe"],
});

Development

npm run build
npm run typecheck