Keepa Mcp

io.github.purahmanian由 GitHub 帳號 purahmanian 發布v0.1.2更新於 Oct 24, 2026

MCP server for Keepa Amazon price and sales rank history API

已驗證STDIO僅桌面資料與分析商業與電商

概覽

AI 產生的概覽

非官方本機 MCP 伺服器,透過 Keepa API 讓助理取得亞馬遜價格、銷售排名與促銷資料。

可以做什麼
依 ASIN 查詢商品標題、品牌、類別、目前價格、購買盒價格、評分與評論數,並以關鍵字搜尋商品取得 ASIN。取得亞馬遜、新品、二手與購買盒價格的解碼價格歷史,以及附需求趨勢摘要的銷售排名歷史。列出 Keepa 類別下的熱銷商品,以及依折扣比例與評分篩選的目前降價促銷。
適用情境
適合亞馬遜選品研究、價格追蹤與找優惠,讓助理根據歷史價格與需求訊號回答,而非憑空猜測。適用於賣家、分析師以及需要跨時間比較 ASIN 的買家。
執行需求
透過 npx(Node.js)以 stdio 程序在本機執行。需要 Keepa API 金鑰,透過 KEEPA_API_KEY 環境變數提供,可於 Keepa API 頁面註冊取得。需要連線至 Keepa API 的網路;免費額度為每分鐘 100 個 token。
安裝前請注意
此套件為非官方專案,與 Keepa 及亞馬遜無關。每次請求都會消耗 Keepa API token,熱銷榜與促銷查詢的消耗遠高於單次查詢,小額度容易快速用完。API 金鑰會連同所查詢的 ASIN、關鍵字或類別 ID 一併傳送給 Keepa;不收集遙測資料,也不寫入磁碟。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Keepa Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

keepa-mcp

Amazon price and sales-rank history for your AI assistant, via the Keepa API.

[CI] [npm]


Unofficial package. keepa-mcp is not affiliated with, endorsed by, or supported by Keepa GmbH. "Keepa" and "Amazon" are trademarks of their respective owners. This is an independent open-source client for the publicly documented Keepa API.


What it does

ToolDescriptionExample prompt
get_productTitle, brand, category, current prices, buy box, review count and rating"What is the current Amazon price and rating for ASIN B08N5WRWNW?"
get_price_historyDecoded price time series for Amazon, new, used, and buy-box prices"Show me the price history for B08N5WRWNW over the past year"
get_sales_rank_historySales rank over time plus a demand trend summary"Is demand trending up or down for B07PXGQC1Q?"
search_productsKeyword product search, returns matching ASINs"Find ASINs for 'wireless earbuds' on Amazon"
get_best_sellersTop ASINs in a Keepa category"What are the best sellers in Electronics?"
get_dealsCurrent price-drop deals filtered by drop % and rating"Show deals with at least 30% off and 4.5 stars"

Quick start

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "keepa": {      "command": "npx",      "args": ["-y", "keepa-mcp"],      "env": {        "KEEPA_API_KEY": "YOUR_API_KEY_HERE"      }    }  }}

Claude Code

bash
claude mcp add keepa -e KEEPA_API_KEY=your_key -- npx -y keepa-mcp

OpenAI Codex CLI

Add to ~/.codex/config.toml:

toml
[mcp_servers.keepa]command = "npx"args = ["-y", "keepa-mcp"]
[mcp_servers.keepa.env]KEEPA_API_KEY = "YOUR_API_KEY_HERE"

Getting a Keepa API key

Sign up at https://keepa.com/#!api to get your API key.

The free tier provides 100 tokens per minute. Each product data request costs tokens proportional to the data retrieved (history length, number of offers, etc.). Typical product lookups cost 1-5 tokens; best-seller lists and deals cost more. See the Keepa API docs for the full token cost table.

Token economics at a glance:

  • get_product: ~2-4 tokens — the product record plus the stats, rating and buybox add-ons it needs. Keepa returns no current price, rating, review count or offer count without them.
  • get_price_history / get_sales_rank_history: ~2-4 tokens
  • get_best_sellers: 50-100 tokens per request
  • get_deals: 5-25 tokens per page
  • Free tier refills at 100 tokens/minute

Live offer data (offers) is not requested. It triggers a real-time marketplace lookup costing 10+ extra tokens per call, which on a small bucket can fail the request outright. Versions before 0.1.2 always sent offers=20, so get_product never actually cost the 1 token this table used to claim.

If you hit the quota, the tool returns a clear error message and you can retry after the bucket refills.


Example conversations

1. Product research

"Look up B08N5WRWNW, then show me the last 6 months of price history and tell me whether demand has been growing."

The assistant calls get_product, then get_price_history with range="6m", then get_sales_rank_history with range="6m", and synthesises a verdict.

2. Category opportunity scan

"Pull the top 20 best sellers in Electronics (category 172282), then get current details and sales rank trends for the first three."

The assistant calls get_best_sellers, then get_product and get_sales_rank_history for the first three ASINs, and summarises the demand signals.

3. Deal hunting

"Find highly-rated Amazon deals with at least 25% off, then show me the price history for the top result to confirm it is a genuine dip."

The assistant calls get_deals with min_price_drop_pct=25, min_rating=45, picks the top ASIN, then calls get_price_history with range="6m" to validate the claimed price drop against historical data.


Development

bash
# Install dependenciesnpm install
# Run tests (no live HTTP; all upstream calls are mocked)npm test
# Build TypeScript to dist/npm run build
# Start the server (requires KEEPA_API_KEY in environment)KEEPA_API_KEY=your_key node dist/index.js

Project structure

src/  index.ts                 # Server entry point, tool registration  constants.ts             # API base URL, Keepa time offset, limits  types.ts                 # TypeScript interfaces  services/    keepa-client.ts        # Fetch wrapper, time utilities, history decoder  tools/    get-product.ts    get-price-history.ts    get-sales-rank-history.ts    search-products.ts    get-best-sellers.ts    get-deals.tstests/  keepa-client.test.ts     # Unit tests for time conversion and history decoding  tools.test.ts            # Integration tests with mocked fetch + fixture JSON  fixtures/                # Realistic Keepa response shapes

Built by

Built by Puya Ventures LLC. I build custom MCP servers and AI integrations for product-research, e-commerce, and SaaS teams. Get in touch: [email protected] | Portfolio: puyarahmanian.com

Part of the Product-Research MCP Suite: keepa-mcp · google-trends-mcp · junglescout-mcp


Privacy

This server runs entirely on your machine. It collects no telemetry and stores no data. The only network calls it makes are to the Keepa API (api.keepa.com), sending your API key and the ASINs, keywords, or category ids you ask about. Your API key is read from the KEEPA_API_KEY environment variable and never written to disk or sent anywhere except Keepa. See Keepa's privacy policy: https://keepa.com/#!privacy

License

MIT. See LICENSE.

來源:README.md,提交 84c2145

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分