keepa-mcp MCP Server
MCP server for Keepa Amazon price and sales rank history API
keepa-mcp scores 57 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It declares 3 tools. Filed under Uncategorized. GitHub shows 1 stars. Package registries report about 73 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
57 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
73/100 for listing completeness. Lost points: 2 of 3 tools barely described, short summary, no docs link.
How quality is graded
Where the 57 comes from
22 + 10 + 1 + 10 + 4 + 10 = 57. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 1 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "purahmanian-keepa-mcp": { "command": "npx", "args": [ "-y", "keepa-mcp@0.1.2" ], "env": { "KEEPA_API_KEY": "YOUR_KEEPA_API_KEY" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
KEEPA_API_KEYSecret | Required | Keepa API key (https://keepa.com/#!api) |
Tools3Tool docs quality grade F
All capabilitiesget_best_sellerstool50-100 tokens per request
get_dealstool5-25 tokens per page
get_producttool~2-4 tokens — the product record plus the stats, rating
About
keepa-mcp
Amazon price and sales-rank history for your AI assistant, via the Keepa API.
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
| Tool | Description | Example prompt |
|---|---|---|
get_product | Title, brand, category, current prices, buy box, review count and rating | "What is the current Amazon price and rating for ASIN B08N5WRWNW?" |
get_price_history | Decoded 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_history | Sales rank over time plus a demand trend summary | "Is demand trending up or down for B07PXGQC1Q?" |
search_products | Keyword product search, returns matching ASINs | "Find ASINs for 'wireless earbuds' on Amazon" |
get_best_sellers | Top ASINs in a Keepa category | "What are the best sellers in Electronics?" |
get_deals | Current 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):
{
"mcpServers": {
"keepa": {
"command": "npx",
"args": ["-y", "keepa-mcp"],
"env": {
"KEEPA_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
Claude Code
claude mcp add keepa -e KEEPA_API_KEY=your_key -- npx -y keepa-mcp
OpenAI Codex CLI
Add to ~/.codex/config.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 thestats,ratingandbuyboxadd-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 tokensget_best_sellers: 50-100 tokens per requestget_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
# Install dependencies
npm 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.ts
tests/
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: purahmanian@gmail.com | 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.
Frequently asked questions
What is keepa-mcp MCP Server?
MCP server for Keepa Amazon price and sales rank history API
How do I install keepa-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. keepa-mcp MCP Server runs locally from the npm package keepa-mcp with the command npx -y keepa-mcp@0.1.2.
Is keepa-mcp MCP Server free and open source?
Yes. keepa-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does keepa-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for keepa-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does keepa-mcp MCP Server provide?
keepa-mcp MCP Server provides 3 tools: get_best_sellers, get_deals, and get_product. See the full tool list for descriptions and parameters.
How is keepa-mcp MCP Server's trust score calculated?
keepa-mcp MCP Server scores 57 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.