JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q28136F
  • License ISC

WTB MCP server for price and SKU information from PriceSpider and Hatch APIs

Package Exports

  • wtb-mcp
  • wtb-mcp/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 (wtb-mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

WTB MCP

A Model Context Protocol (MCP) server for retrieving SKU and pricing information from PriceSpider and Hatch APIs.

Installation

You can run this MCP server using npx:

npx wtb-mcp

Or install it globally:

npm install -g wtb-mcp

Environment Variables

Before running the server, you need to set the following environment variables:

  • CLIENT_ID - Your PriceSpider client ID
  • CONFIG_ID - Your PriceSpider config ID
  • TOKEN - Your PriceSpider API token

Example:

export CLIENT_ID="your_client_id"
export CONFIG_ID="your_config_id"
export TOKEN="your_token"
npx wtb-mcp

Usage

Important: MCP servers don't accept command line arguments. They communicate via stdin/stdout using the Model Context Protocol. You need to connect this server to an MCP client (like Claude Desktop, Cline, or other MCP-compatible tools).

The server will wait for MCP protocol messages on stdin.

Available Tools

get-sku-information

Retrieves SKU information from PriceSpider API.

Parameters:

  • sku (string, required) - The SKU to look up
  • country_code (string, optional) - Country code (defaults to "US")

Connecting to MCP Clients

To use this server with Claude Desktop, add it to your claude_desktop_config.json:

{
  "mcpServers": {
    "wtb": {
      "command": "npx",
      "args": ["wtb-mcp"],
      "env": {
        "CLIENT_ID": "your_client_id",
        "CONFIG_ID": "your_config_id",
        "TOKEN": "your_token"
      }
    }
  }
}

Development

To build and run locally:

npm install
npm run build
npm start

License

ISC