A Model Context Protocol (MCP) server that gives Claude access to Keepa's product and sales data through a more approachable, conversational interface. It simplifies Keepa's complex, engineer-oriented design, making it easier to explore product research, sales trends, inventory signals, and competitive analytics without needing to master Keepa's native UI.
- ๐ Sales Velocity Analysis: Identify fast-moving products that generate cash flow (20+ units/day)
- ๐ Inventory Turnover Intelligence: Avoid slow movers that tie up capital (<5 units/month)
โ ๏ธ Stockout Risk Management: Automated reorder alerts and quantity recommendations- ๐ Seasonal Pattern Recognition: Q4 holiday, back-to-school, and quarterly demand analytics
- ๐ฐ Cash Flow Optimization: Target 20-35 day inventory levels for maximum ROI
- ๐ฏ Advanced Product Finder: 20+ filters including rating, price, competition, and sales volume
- โญ Market Opportunity Scoring: Find high-opportunity, low-competition products
- ๐ Batch Analysis: Process up to 100 ASINs simultaneously for portfolio analysis
- ๐ก Integrated Analytics: Statistics Object provides ongoing velocity data included with product lookups
- ๐ Competition Intelligence: Seller count analysis and market saturation scoring
- ๐ฐ Enhanced Deal Discovery: Find deals with 20%+ discounts and profit potential scoring
- โก Lightning Deal Monitoring: Track time-sensitive deals with urgency alerts
- ๐ฏ Profit Potential Calculator: Automated profit margin and ROI analysis
- ๐ Prime-Eligible Filtering: Focus on high-converting Prime products
- ๐ Comprehensive Category Analysis: Market size, competition levels, and brand concentration
- ๐ฏ Opportunity Scoring: Algorithmic scoring of market entry opportunities (0-100%)
- ๐ Performance Benchmarking: Compare against top performers in any category
- ๐ก Strategic Recommendations: AI-generated market entry and optimization strategies
๐ฌ Natural Language Interface: Simply ask Claude questions - no JSON or technical syntax required! Claude automatically uses these tools based on your requests.
keepa_product_lookup- Deep product analysis with included Statistics Object analyticskeepa_batch_product_lookup- Portfolio analysis for up to 100 ASINs simultaneouslykeepa_price_history- Historical pricing trends and market stability analysis
keepa_product_finder- 20+ advanced filters for opportunity discoverykeepa_category_analysis- Comprehensive market intelligence with opportunity scoringkeepa_search_deals- Enhanced deal discovery with profit potential analysiskeepa_best_sellers- Category rankings and trending product identification
keepa_sales_velocity- Industry-standard velocity calculations for inventory turnoverkeepa_inventory_analysis- Portfolio management with stockout risk assessment
keepa_seller_lookup- Seller performance analysis and competitive research
keepa_token_status- Check remaining API tokens and account status
-
Keepa API Key: Sign up at https://keepa.com/#!api
- Keepa requires a paid subscription with token-based pricing
- Different endpoints have different token costs
- Product history calls are more expensive than basic product info
-
Node.js: Version 18 or higher
-
Clone or download this repository
-
Navigate to the project directory:
cd keepa_mcp -
Install dependencies:
npm install
-
Build the TypeScript code:
npm run build
-
You'll configure your Keepa API key in the Claude Desktop config (next section)
The MCP server accepts these environment variables (configured in Claude Desktop):
KEEPA_API_KEY(required): Your Keepa API keyKEEPA_RATE_LIMIT_DELAY(optional): Delay between requests in milliseconds (default: 1000)KEEPA_TIMEOUT(optional): Request timeout in milliseconds (default: 30000)
Location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%/Claude/claude_desktop_config.json
Note: If the file doesn't exist, create it. Some installations may have config.json instead - copy it to the correct filename:
cp ~/Library/Application\ Support/Claude/config.json ~/Library/Application\ Support/Claude/claude_desktop_config.jsonAdd to your Claude Desktop claude_desktop_config.json:
{
"mcpServers": {
"keepa": {
"command": "node",
"args": ["/path/to/keepa_mcp/dist/index.js"],
"env": {
"KEEPA_API_KEY": "your_keepa_api_key_here"
}
}
}
}Replace /path/to/keepa_mcp with your actual path and your_keepa_api_key_here with your Keepa API key.
claude_desktop_config.json file, you must completely close Claude Desktop (Cmd+Q on macOS or Alt+F4 on Windows) and restart it for the changes to take effect.
When you first start Claude Desktop with the MCP server configured, you'll see a permission dialog. Click "Allow" to grant the server access as needed:
You must grant these permissions for the Keepa tools to appear and function properly.
-
Check Claude Desktop version: Ensure you're running version 0.7.0 or later (MCP support required)
- Click "Claude" menu โ "About Claude"
-
Verify config file location and format:
# Check if file exists ls -la ~/Library/Application\ Support/Claude/claude_desktop_config.json # Validate JSON format cat ~/Library/Application\ Support/Claude/claude_desktop_config.json
-
Test MCP server manually:
cd /path/to/keepa_mcp npm run build KEEPA_API_KEY=your_key_here node dist/index.js -
Complete restart: Force quit Claude Desktop (Cmd+Q) and relaunch
-
Simplified config: Try removing other settings and use minimal config:
{ "mcpServers": { "keepa": { "command": "node", "args": ["/full/path/to/keepa_mcp/dist/index.js"], "env": { "KEEPA_API_KEY": "your_keepa_api_key_here" } } } } -
Check for logs: Look for error messages in Claude Desktop console or system logs
- Wrong file path: Ensure the path to
dist/index.jsis absolute and correct - Missing build: Run
npm run buildafter any code changes - Invalid JSON: Use a JSON validator to check config file syntax
- Missing API key: Make sure
KEEPA_API_KEYis set in the env section of your config
Once you've configured everything and restarted Claude Desktop, you should see your Keepa tools available:
The Keepa MCP server provides 10 powerful tools for Amazon marketplace intelligence, sales velocity analysis, and inventory management.
If you see these tools in Claude Desktop, your MCP server is successfully connected and ready to use!
โ Verify Setup: After configuration, ask Claude any of these questions to test your MCP server connection.
Find Cash Flow Champions:
"Use Keepa to find products in Electronics that sell 50+ units daily with high inventory turnover"
Avoid Cash Flow Killers:
"Show me slow-moving products in my category that tie up capital for 60+ days using Keepa"
Portfolio Health Check:
"Analyze my current inventory for stockout risks and cash flow optimization using Keepa ASINs: [your ASINs]"
Find High-Opportunity Niches:
"Use Keepa to find low-competition products in Home & Kitchen with 4+ star ratings and 1000+ monthly sales"
Category Market Intelligence:
"Analyze the Pet Supplies category for market opportunities, competition levels, and profit potential using Keepa"
Competition Gap Analysis:
"Find products with high sales but fewer than 5 sellers in the Beauty category using Keepa"
High-Margin Deal Discovery:
"Find current Amazon Lightning Deals with 30%+ discounts and high profit potential using Keepa"
Prime Deal Intelligence:
"Show me Prime-exclusive deals under $100 with 4+ star ratings that could be profitable using Keepa"
Seasonal Planning:
"Analyze seasonal patterns for Holiday products and recommend inventory levels for Q4 using Keepa"
Performance Benchmarking:
"Compare my product's sales velocity against top performers in its category using Keepa ASIN: [your ASIN]"
Market Trend Analysis:
"Identify trending products in Electronics with accelerating sales velocity using Keepa"
Check Token Status:
"Check my Keepa token status"
Monitor Usage:
"How many Keepa tokens do I have left?"
Perfect! I found exactly what you're looking for. Here are the top 5 Industrial & Scientific products that meet all your criteria (4.4-5.0 star rating, 4-5 sellers, 2000+ monthly sales), sorted by highest monthly sales:
Top 5 High-Volume Products:
1. ๐ MedPride Nitrile Exam Gloves (Large) - B00GS8VGP6
โข Monthly Sales: ~30,000 units ๐ฅ
โข Rating: 4.4-5.0 stars
โข Sellers: 4 (medium competition)
โข Product: Powder-free nitrile exam gloves, 100-pack
2. ๐งด Zep Industrial Sprayer Bottle - B08JSKYBKQ
โข Monthly Sales: ~10,000 units
โข Rating: 4.4-5.0 stars
โข Sellers: 5 (medium competition)
โข Product: 48oz sprayer with 30ft range, adjustable nozzle
3. ๐ BYASKZIV Ultrasonic Jewelry Cleaner - BOD7L961CR
โข Monthly Sales: ~10,000 units
โข Rating: 4.4-5.0 stars
โข Sellers: 4 (medium competition)
โข Product: 48KHz cleaner with dual modes, stainless steel tank
4. MedPride Nitrile Gloves (X-Large) - B00GS8VIKE
โข Monthly Sales: ~10,000 units
โข Rating: 4.4-5.0 stars
โข Sellers: 4 (medium competition)
โข Product: Powder-free nitrile exam gloves, 100-pack
5. MedPride Nitrile Gloves (Small) - B00GS8W2HC
โข Monthly Sales: ~10,000 units
โข Rating: 4.4-5.0 stars
โข Sellers: 4 (medium competition)
โข Product: Powder-free nitrile exam gloves, 100-pack
Key Insights:
โข MedPride gloves dominate with the highest sales volume (30K monthly for Large size)
โข Medical/safety products show strong consistent demand
โข Medium competition level across all top products (4-5 sellers)
โข Consumable products tend to have higher sales volumes
Would you like me to get more detailed information about any of these specific products, including price history or current pricing data?
โ
Electronics Portfolio Analysis Complete!
๐ Portfolio Overview:
- Total Products: 25
- Average Turnover Rate: 18.5 times/year
- Portfolio Health: Excellent - High velocity, low risk
๐ Performance Metrics:
- Average Velocity: 145.2 units/month
- Total Revenue Velocity: $2,847.33/day
- Average Days Inventory: 22 days
โ ๏ธ Risk Assessment:
- High Risk Products: 2 (8%)
- Fast Movers (โฅ30/month): 76%
- Slow Movers (<10/month): 8%
๐ก Strategic Recommendations:
๐ Strong portfolio velocity - maintain current strategy
๐ก Monitor 2 products with stockout risks
๐ Focus marketing on accelerating trend products
๐ฏ Optimal inventory levels for maximum cash flow
๐ Home & Kitchen Category Analysis:
๐ท๏ธ Market Overview:
- Category Size: 2.3M+ products
- Average Price: $34.67
- Competition Level: Medium
- Opportunity Score: 78%
๐ก Key Insights:
โข Budget-friendly category with high volume potential
โข Quality improvement opportunities exist (avg 3.8โ
)
โข 15% of products have fewer than 5 sellers
โข Growing trend toward eco-friendly products
๐ฏ Top Opportunities:
1. Kitchen gadgets $15-45 price range
2. Storage solutions with premium materials
3. Smart home integration products
4. Seasonal/holiday-themed items
๐ฐ Profit Potential: HIGH
๐ Market Entry Difficulty: LOW-MEDIUM
๐ช Keepa API Token Status
๐ฐ Tokens Remaining: 247
โ
Status: EXCELLENT - Plenty of tokens available
๐ก Recommendation: Use advanced analytics freely
๐ Check detailed usage: https://keepa.com/#!api
โฐ Tokens refresh: According to your Keepa subscription plan
These examples show the level of professional marketplace intelligence you'll receive from the Keepa MCP server.
โ 100% VALIDATED: All 35 category IDs have been tested and verified to work with the Keepa API. Project achieved complete success with full category coverage.
- Electronics: 172282 โ
- Home & Kitchen: 1055398 โ
- Industrial & Scientific: 16310091 โ
- Automotive: 15684181 โ
- Sports & Outdoors: 3375251 โ
- Tools & Home Improvement: 228013 โ
- Health & Household: 3760901 โ
- Beauty & Personal Care: 3760911 โ
- Clothing, Shoes & Jewelry: 7141123011 โ
- Toys & Games: 165793011 โ
- Pet Supplies: 2619533011 โ
- Office Products: 1064954 โ
- Baby Products: 165796011 โ
- Grocery & Gourmet Food: 16310101 โ
- Arts, Crafts & Sewing: 2617941011 โ
- Musical Instruments: 11091801 โ
- Patio, Lawn & Garden: 2972638011 โ
- Video Games: 468642 โ
- Books: 283155 โ
- Movies & TV: 2625373011 โ
- Appliances: 2619525011 โ
- Apps & Games: 2350149011 โ
- Audible Books & Originals: 18145289011 โ
- CDs & Vinyl: 5174 โ
- Cell Phones & Accessories: 2335752011 โ
- Collectibles & Fine Art: 4991425011 โ
- Credit & Payment Cards: 3561432011 โ
- Digital Music: 163856011 โ
- Everything Else: 10272111 โ
- Gift Cards: 2238192011 โ
- Handmade Products: 11260432011 โ
- Kindle Store: 133140011 โ
- Luxury Stores: 18981045011 โ
- Magazine Subscriptions: 599858 โ
- Prime Video: 2858778011 โ
- Software: 229534 โ
- Video Shorts: 9013971011 โ
๐ก Pro Tip: The MCP server automatically validates category IDs and suggests alternatives if you use an invalid one.
Global Intelligence Across 11 Amazon Marketplaces:
- ๐บ๐ธ United States (amazon.com) - Default and most comprehensive
- ๐ฌ๐ง United Kingdom (amazon.co.uk)
- ๐ฉ๐ช Germany (amazon.de)
- ๐ซ๐ท France (amazon.fr)
- ๐ฏ๐ต Japan (amazon.co.jp)
- ๐จ๐ฆ Canada (amazon.ca)
- ๐ฎ๐น Italy (amazon.it)
- ๐ช๐ธ Spain (amazon.es)
- ๐ฎ๐ณ India (amazon.in)
- ๐ฒ๐ฝ Mexico (amazon.com.mx)
- ๐จ๐ณ China (amazon.cn)
๐ฌ Simple Usage: Just mention the country: "Find deals in German Amazon using Keepa"
The Keepa API operates on a token-based system where each API query consumes tokens from your account. Different endpoints consume different amounts of tokens, and your usage is tracked across all requests.
- Product Lookup: ~1 token (includes Statistics Object data at no additional cost)
- Market Analysis: ~5-15 tokens (depending on category size)
- Deal Discovery: ~3-8 tokens (varies by filters)
- Velocity Analysis: ~2-5 tokens (includes portfolio metrics)
- Statistics Object Integration: Sales velocity and inventory analytics included with product lookups (no additional tokens required)
- Smart Batching: Process up to 100 ASINs in single requests to minimize token usage
- Efficient Caching: Built-in rate limiting and request optimization
Critical Limitation: When your Keepa API tokens are exhausted (โค0), the MCP server will fail and return "No products found" messages instead of meaningful data.
What Happens:
- โ Searches return empty results (not actual empty categories)
- โ No error indicating token exhaustion (appears as failed searches)
- โ All tools appear broken until tokens refresh
How to Identify:
- Use the dedicated token status tool: Ask Claude "Check my Keepa token status"
- Multiple categories returning "No products found"
- Recently working searches suddenly failing
- Low token warnings in search results
Solutions:
- Wait for token refresh (daily or monthly depending on your Keepa plan)
- Upgrade your Keepa plan for more tokens
- Check your usage at Keepa API Dashboard
Low Token Warning: The server warns when you have <5 tokens remaining.
๐ฅ For Regular Users: Skip this section - just ask Claude questions in natural language! ๐ ๏ธ For Developers: Technical details for integration and customization.
npm run build # Build TypeScript to JavaScript
npm run dev # Development mode with auto-reload
npm start # Start the built server
npm run lint # Run ESLint
npm run type-check # Check TypeScript types- API Types: See types.ts for complete TypeScript definitions
- MCP Tools: See tools.ts for all 10 tool implementations with Zod validation
- Analytics Engine: See keepa-client.ts for advanced algorithms
Sign up at https://keepa.com/#!api
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"keepa": {
"command": "node",
"args": ["/path/to/keepa_mcp/dist/index.js"],
"env": {
"KEEPA_API_KEY": "your_keepa_api_key_here"
}
}
}
}"Use Keepa to find fast-moving products in Electronics with high profit potential"
- ๐ ๏ธ MCP Server Issues: Create Issue on GitHub
- ๐ Keepa API Questions: Keepa Support
- ๐ MCP Protocol: Official MCP Documentation
MIT License - See LICENSE file for details.
๐ Ready to transform your Amazon marketplace intelligence? Get started today!