Skip to main content
Glama
Waltrack MCP Server

Waltrack MCP Server

Official
by waltrack

Waltrack MCP Server

Official Model Context Protocol server for the Waltrack Walmart price tracking API.

Track Walmart prices and products with a scheduled watchlist, price history and alerts.

It lets Claude, Cursor, VS Code, Windsurf and any MCP client call the API as tools. Runs over stdio (local) or Streamable HTTP (self-hosted).

Requirements

  • Node.js 20 or newer

  • a Waltrack API key — sign up, then copy it from the dashboard

Related MCP server: @retailerapi/mcp

Waltrack runs this server for you at https://www.waltrack.dev/api/mcp (Streamable HTTP). Send your API key as a Bearer token in the Authorization header; nothing to install.

{
  "mcpServers": {
    "waltrack": {
      "url": "https://www.waltrack.dev/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

The hosted server and this package expose the same tools; run the package locally when you want stdio, your own network egress, or to self-host it.

Run it locally

Claude Desktop, Cursor, Windsurf and other clients

Add the server to the client's MCP configuration (claude_desktop_config.json, .cursor/mcp.json…):

{
  "mcpServers": {
    "waltrack": {
      "command": "npx",
      "args": ["-y", "@waltrack/mcp"],
      "env": {
        "WALTRACK_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

VS Code

{
  "servers": {
    "waltrack": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@waltrack/mcp"],
      "env": {
        "WALTRACK_API_KEY": "${input:waltrack-api-key}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "waltrack-api-key",
      "description": "Waltrack API key",
      "password": true
    }
  ]
}

Claude Desktop extension

Download the .mcpb bundle from the releases page and open it; Claude Desktop asks for your API key.

Docker

docker build -t waltrack-mcp .
docker run -i --rm -e WALTRACK_API_KEY=YOUR_API_KEY waltrack-mcp

Tools

Tool

Description

check_product

Asks for a check right away (1 credit), at most once per 5 minutes; earlier calls return the product unchanged. A paused product has to be resumed first. The check runs in the background; with wait=t…

untrack_product

Removes the product and its price history.

get_account

Your plan, the credits left (monthly allowance and packs), how many products you track and the credits they use per month, the credits each alert email costs, the days of history you can read and, on…

get_item_history

Every price Waltrack read for an item ID on a marketplace over the period, whoever tracks it, oldest first, with the lowest, highest and average of those prices. A history of more than 5000 points is…

get_price_history

The product's latest state and every price read of the period, oldest first. The history covers every read of this item ID on this marketplace, including those made before you added it, so a product…

list_products

Your watchlist, newest first, with each product's latest state and its recent prices (trend). Filter with item_id (and marketplace) to know if a product is tracked, or with filter to get the same lis…

search_walmart

Walmart search results (sponsored included), to find the item ID of a product. Free, limited to 30 searches per hour.

track_product

Adds an item ID, a Walmart link or a short link (walmrt.us) to your watchlist. The first check runs in the background within seconds (checking is true until then): poll GET /products/{id}, or send wa…

update_product

Target price, drop alerts, check interval, or pause. Send only what changes. On the free plan, alerts (price drop, back in stock, target price) email for the first 5 products added among the active o…

Every tool that calls the API consumes credits. JSON results are returned as text; images are returned inline and other files (PDF…) as embedded resources, up to 4 MB.

Streamable HTTP

npx @waltrack/mcp --http --port 3000

The endpoint is POST /mcp (stateless, JSON responses). Each client sends its own key in the x-api-key header (or Authorization: Bearer <key>); the server never uses a key of its own. It binds to 127.0.0.1 by default and rejects browser origins unless you allow them — put it behind TLS before exposing it.

createHttpHandler() is exported for Fetch-compatible runtimes (Cloudflare Workers, Deno, Bun):

import { createHttpHandler } from "@waltrack/mcp";

export default { fetch: createHttpHandler({ allowedOrigins: [] }) };

Security

  • The API key is read from WALTRACK_API_KEY (stdio) or the request headers (HTTP) and removed from error messages.

  • Content fetched from websites is untrusted: the server instructions tell the model to treat it as data, not instructions.

  • See SECURITY.md to report a vulnerability.

Development

npm install
npm test
npm run build
npx @modelcontextprotocol/inspector node dist/stdio.js

Built on the SDK

The server uses the official Node.js SDK (@waltrack/sdk).

All Waltrack SDKs

SDK

Package

Install

Node.js

@waltrack/sdk

npm install @waltrack/sdk

Python

waltrack

pip install waltrack

Go

waltrack-go

go get github.com/waltrack/waltrack-go

.NET

Waltrack

dotnet add package Waltrack

Ruby

waltrack

gem install waltrack

PHP

waltrack/sdk

composer require waltrack/sdk

Java

waltrack-java

build from source, see its README

CLI

@waltrack/cli

npm install -g @waltrack/cli

MCP server

@waltrack/mcp

npx -y @waltrack/mcp

Trademarks

Walmart® is a registered trademark of Walmart Apollo, LLC. Waltrack is not affiliated with, endorsed or sponsored by Walmart.

License

MIT — see LICENSE.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server for the SnapAPI web capture API. Take screenshots, scrape pages, extract structured data, generate PDFs, record videos, and run AI analysis on any URL — all from Claude, Cursor, VS Code, or any MCP client. 9 tools, 30+ device presets, ad/cookie blocking. Install: npx snapapi-mcp
      9
      8 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to access Walmart product data including lookups, price history, offers, seller profiles, reviews, and sales stats via tools callable in MCP-compatible clients like Claude Desktop and Cursor.
      5
      1,030 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that relays Walmart order history collected by the Walmart Invoice Exporter browser extension, enabling Claude and other AI clients to query orders and spending.
      14 npm
      1
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI coding assistants to run web searches that return organic results with related queries and to analyze images from URLs or local files via prompt-driven vision models. It connects to MCP clients such as Claude Desktop, Cursor, and Windsurf over stdio or SSE transports for code development workflows.
      -