Skip to main content
Glama
Keepa Price History MCP Server

Keepa Price History MCP Server

Keepa Price History MCP Server

MCP Registry npm version npm downloads license

An MCP server for the Mamba Labs Keepa Price History actor on Apify. Amazon price history for a list of ASINs, on your own Keepa key.

What's Inside

Related MCP server: keepa-mcp

What it does

Give a list of ASINs or Amazon product URLs and your own Keepa API key. The actor reads the official Keepa product API in batches and returns one row per product: current Amazon, new, used, and list prices, 30, 90, and 180 day averages, all time lows and highs with dates, sales rank, bought in past month, out of stock share, and decoded history for the types you pick. Each product uses your Keepa tokens; when the bucket is empty the actor waits for it to refill, up to the wait you set.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

{
  "mcpServers": {
    "mamba-keepa-price-history": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-keepa-price-history"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}

Restart the client. The get_keepa_price_history tool appears.

Prerequisites

Example prompts

  • "Get the Keepa price history of these 10 ASINs on my Keepa key."

  • "What is the lowest price ever for B00M0QVG3W on amazon.de?"

  • "Compare 90 day average prices and sales ranks for these products."

Tool

get_keepa_price_history. One tool. Example arguments:

{
  "asins": [
    "B00M0QVG3W"
  ],
  "marketplace": "com"
}

Inputs

Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.

Input

Type

Required

Description

api_key

string

no

Your own Keepa API access key, 64 characters, from keepa.com/#!api (needs an active Keepa API plan). It is stored encrypted by Apify, sent only to api.keepa.com, and never written to a row or a log. With no key the run writes one free row and reads nothing.

asins

array

no

ASINs (for example B00M0QVG3W) or Amazon product URLs. Repeats are read once. In Clay, put the column inside a one item list.

marketplace

string

no

Which Amazon store to read: com (default), co.uk, de, fr, co.jp, ca, it, es, in, com.mx, or com.br. A product URL's own marketplace wins over this setting.

include_history

boolean

no

yes (default) or no. With no, rows carry current prices and statistics only, and the history column is empty. Keepa charges the same tokens either way.

history_types

array

no

Which histories to decode into the history column: amazon, new, used, sales_rank, list_price, offers_new, offers_used, rating, review_count, lightning_deal, warehouse, buy_box. Default amazon, new, sales_rank. rating and review_count need include_rating; warehouse and buy_box come only when Keepa already holds offer data for the product.

history_days

number

no

Number, default 90. Limits the history column to the last N days (1 to 9999). 0 returns the full history Keepa holds. Averages and all time lows are not affected.

include_rating

boolean

no

yes or no (default). With yes, rows carry Keepa's latest rating and review count, which costs up to 1 extra Keepa token per product.

max_age_hours

number

no

Number, default 24. Keepa refreshes a product from Amazon first when its data is older than this. 0 always refreshes (1 extra Keepa token when the data is under 1 hour old). Higher values are faster.

max_asins

number

no

Number, default 100, at most 10000. ASINs past this count are not read.

max_wait_seconds

number

no

Number, default 300, at most 3000. When your Keepa token bucket is empty, the actor waits for it to refill. Waiting is earned at 20 seconds per product row delivered in this run, up to this many seconds in total, so an empty bucket at the start ends the run at once with one free row. After that the remaining ASINs get one free row that says so.

max_charge_usd

string

no

Optional. The run stops before a charge that would pass this amount. Summary rows are always returned.

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

Event

Free plan

Bronze

Silver

Gold

product-row, one product with Keepa price history

$0.006

$0.0057

$0.0054

$0.0051

apify-actor-start, per run start

$0.005

$0.005

$0.005

$0.005

A missing or refused key, ASINs Keepa has no data for, an empty token bucket after the wait, API errors, and refused input are free. Mamba Labs pays the platform costs of the run. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.

Full actor documentation

apify.com/mambalabs/keepa-price-history

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
      Provides conversational access to Keepa's product and sales data for product research, sales velocity analysis, inventory optimization, and competitive intelligence.
      11
      77
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to access Amazon price history, sales rank trends, product details, best-sellers, and deals via the Keepa API for product research and deal hunting.
      6
      82 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides conversational access to Keepa Amazon product and sales data, enabling product research, sales velocity and inventory analysis, deal discovery, category intelligence, and competitive analytics.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides Amazon product price and sales-rank history, bestseller lists, current deals, and product search via the Keepa API.
      127 npm
      MIT