launchfast-mcp
Version:
π Professional Amazon & Alibaba research tools for Claude AI - Product research, keyword intelligence, and supplier discovery via MCP
757 lines (558 loc) β’ 22.5 kB
Markdown
<div align="center">
# π LaunchFast MCP Server
**Professional Amazon & Alibaba Research Tools for Claude AI**
[](https://opensource.org/licenses/MIT)
[](https://www.typescriptlang.org/)
[](https://modelcontextprotocol.io/)
[](https://nodejs.org/)
**[Features](#-features)** β’ **[Quick Start](#-quick-start)** β’ **[Tools](#-available-tools)** β’ **[Examples](#-usage-examples)** β’ **[Docs](#-documentation)**
</div>
---
## π Overview
LaunchFast MCP Server brings **enterprise-grade Amazon and Alibaba intelligence** directly into your AI coding assistant. Get instant market research, keyword analysis, and supplier discoveryβall powered by real-time data and optimized for speed.
### Why LaunchFast MCP?
- **β‘ 3x Faster** - Optimized caching and parallel processing
- **π― Accurate** - Real-time data from Amazon and Alibaba APIs
- **π§ Intelligent** - AI-powered market grading and opportunity scoring
- **π Universal** - Works with Claude Desktop, Cursor, Claude Code & ChatGPT
- **π‘οΈ Production Ready** - Rate limiting, error handling, and retry logic built-in
---
## β¨ Features
### π **Market Research**
- Research 50+ Amazon products in seconds
- A10-F1 market grading system (demand vs competition)
- Revenue estimates, BSR tracking, and sales velocity
- Filter by price, ratings, reviews, and more
- Multi-marketplace support (US, UK, DE, FR, IT, ES, CA, MX, JP)
### π― **Keyword Intelligence**
- Deep ASIN keyword analysis (1-10 products)
- Search volume, CPC, and competition metrics
- **Opportunity Mining** - Find underserved, high-volume keywords
- **Gap Analysis** - Discover what competitors rank for that you don't
- Side-by-side ASIN comparison matrix
### π **Supplier Discovery**
- Smart Alibaba supplier search with quality scoring
- Top 20 suppliers ranked by trust metrics
- Pricing, MOQ, certifications, and years in business
- Gold Supplier & Trade Assurance filtering
- Response rate and review score tracking
---
## π Quick Start
### Prerequisites
- **Node.js 18+** ([Download](https://nodejs.org/))
- **Claude Desktop**, **Cursor**, or **Claude Code** installed
- **LaunchFast API Key** ([Get yours](https://launchfastlegacyx.com/admin/usage-stats))
### One-Click Installation
#### Option 1: NPX (Recommended)
Just add this to your AI tool's MCP config:
```json
{
"mcpServers": {
"launchfast": {
"command": "npx",
"args": ["-y", "@launchfast/mcp-server"],
"env": {
"LAUNCHFAST_API_URL": "https://launchfastlegacyx.com",
"LAUNCHFAST_API_KEY": "lf_your_key_here",
"LAUNCHFAST_USER_ID": "your_user_id_here"
}
}
}
}
```
**That's it!** No git clone, no npm install. Just restart your AI tool.
#### Option 2: Interactive Setup
```bash
# Install globally
npm install -g @launchfast/mcp-server
# Run interactive setup
launchfast-mcp setup
# Follow the prompts to configure Claude Desktop, Cursor, or Claude Code
```
#### Option 3: Manual Installation
<details>
<summary>Click to expand manual setup instructions</summary>
**1. Clone and Install**
```bash
git clone https://github.com/launchfast/mcp-server.git
cd mcp-server
npm install
npm run build
```
**2. Configure Your AI Tool**
<details>
<summary><b>Claude Desktop</b></summary>
Edit: `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS)
Or: `%APPDATA%\Claude\claude_desktop_config.json` (Windows)
```json
{
"mcpServers": {
"launchfast": {
"command": "node",
"args": ["/absolute/path/to/mcp-server/build/index.js"],
"env": {
"LAUNCHFAST_API_URL": "https://launchfastlegacyx.com",
"LAUNCHFAST_API_KEY": "lf_your_key_here",
"LAUNCHFAST_USER_ID": "your_user_id_here"
}
}
}
}
```
</details>
<details>
<summary><b>Cursor</b></summary>
Open Cursor Settings β Features β Claude β MCP Servers
Add the same config as Claude Desktop above.
</details>
<details>
<summary><b>Claude Code (VS Code)</b></summary>
Open VS Code Settings β Extensions β Claude Code β MCP Servers
Add the same config as Claude Desktop above.
</details>
**3. Restart Your AI Tool**
Look for the π¨ hammer icon to confirm MCP tools are loaded.
</details>
---
## π οΈ Available Tools
### 1οΈβ£ `research_amazon_market`
**Get instant market intelligence for any product keyword**
```
π€ Example: "Research the Amazon market for portable saunas"
```
**Input:**
- `keyword` (required) - Product to research (e.g., "wireless earbuds")
- `marketplace` (optional) - Amazon domain (default: "com" for US)
- `limit` (optional) - Max products (default: 50)
- `useCache` (optional) - Use caching for speed (default: true)
- `minPrice`, `maxPrice`, `minRating` (optional) - Filters
**Output:**
- **Market Overview** - Grade (A10-F1), total revenue, competition level
- **Top 10 Products** - ASIN, title, price, BSR, reviews, grade
- **Sales Data** - Monthly units, revenue, estimated profit per unit
- **Keywords** - Top ranking keywords with search volumes
- **Performance** - Cache stats, processing time, provider used
<details>
<summary><b>View Example Output</b></summary>
```
π MARKET RESEARCH: portable sauna
π― Market Overview
ββ Grade: A7 (Strong demand, moderate competition)
ββ Market Revenue: $2,450,000/month
ββ Competition Level: MEDIUM
ββ Recommended Entry Price: $179-$199
ββ Total Products Analyzed: 50
π Top 5 Products
1. β A9 | B08N5WRWNW | HigherDOSE Infrared Sauna Blanket
ββ $199 β’ BSR #1,234 in Health β’ 4.5β
(2,340 reviews)
ββ Sales: 450 units/mo β’ Revenue: $89,550/mo β’ Profit/unit: ~$85
2. β A8 | B07XJ8C8F5 | REVIIV Portable Infrared Sauna
ββ $169 β’ BSR #2,567 in Home β’ 4.3β
(1,890 reviews)
ββ Sales: 320 units/mo β’ Revenue: $54,080/mo β’ Profit/unit: ~$72
[... more products ...]
π Top Keywords
ββ "portable infrared sauna" - 12,300 vol/mo, High competition
ββ "sauna blanket infrared" - 8,900 vol/mo, Medium competition
ββ "home sauna portable" - 5,400 vol/mo, Low competition β
ββ "infrared sauna pod" - 3,200 vol/mo, Low competition β
β‘ Performance
ββ Processed in 3.2s (Cache: 87% hit rate, Provider: Axesso)
```
</details>
---
### 2οΈβ£ `research_asin_keywords`
**Deep keyword analysis for Amazon products with opportunity mining**
```
π€ Example: "Research keywords for ASIN B08N5WRWNW with gap analysis"
```
**Input:**
- `asins` (required) - Array of 1-10 ASINs (e.g., ["B08N5WRWNW"])
- `maxKeywordsPerAsin` (optional) - Max keywords per ASIN (default: 50)
- `minSearchVolume` (optional) - Min monthly searches (default: 100)
- `includeOpportunities` (optional) - Find low-competition gems (default: true)
- `includeGapAnalysis` (optional) - Compare against competitors (default: true)
**Output:**
- **Per-ASIN Breakdown** - Keywords, rankings, traffic percentage
- **Aggregated Keywords** - All keywords sorted by search volume
- **Opportunity Keywords** - Low competition, high volume targets
- **Gap Analysis** - Keywords competitors rank for but you don't
- **ASIN Comparison** - Side-by-side keyword matrix
<details>
<summary><b>View Example Output</b></summary>
```
π KEYWORD RESEARCH: 2 ASINs
π ASIN: B08N5WRWNW (HigherDOSE Sauna Blanket)
ββ Total Keywords: 147
ββ Top Keywords:
ββ "infrared sauna blanket" - 14,800 vol, Rank #3, 22% traffic
ββ "sauna blanket" - 9,200 vol, Rank #5, 14% traffic
ββ "portable sauna" - 12,300 vol, Rank #8, 9% traffic
π ASIN: B07XJ8C8F5 (REVIIV Portable Sauna)
ββ Total Keywords: 132
ββ Top Keywords:
ββ "portable infrared sauna" - 12,300 vol, Rank #2, 26% traffic
ββ "home sauna" - 8,100 vol, Rank #4, 18% traffic
ββ "infrared sauna" - 18,900 vol, Rank #12, 7% traffic
π Opportunity Keywords (Low Competition, High Volume)
1. "home sauna portable" - 5,400 vol/mo, 32/100 competition, CPC $1.45
2. "infrared sauna therapy" - 4,200 vol/mo, 28/100 competition, CPC $1.82
3. "sauna blanket weight loss" - 3,800 vol/mo, 25/100 competition, CPC $2.10
4. "far infrared sauna" - 3,100 vol/mo, 30/100 competition, CPC $1.67
π Gap Analysis (Competitors rank for, you don't)
ββ "infrared sauna benefits" - 6,700 vol/mo, Comp rank #4
ββ "sauna at home" - 4,900 vol/mo, Comp rank #7
ββ "detox sauna blanket" - 2,800 vol/mo, Comp rank #3
π ASIN Comparison Matrix
Keyword | B08N5... | B07XJ...
---------------------------|----------|----------
infrared sauna blanket | #3 | #15
portable infrared sauna | #8 | #2
sauna blanket | #5 | #22
home sauna portable | - | #6
```
</details>
---
### 3οΈβ£ `search_alibaba_suppliers`
**Find verified suppliers with quality scoring and MOQ filtering**
```
π€ Example: "Find Gold Suppliers for portable saunas on Alibaba"
```
**Input:**
- `searchQuery` (required) - Product to source (e.g., "bluetooth speaker")
- `maxResults` (optional) - Max suppliers (1-20, default: 20)
- `goldSupplierOnly` (optional) - Filter Gold Suppliers (default: false)
- `tradeAssuranceOnly` (optional) - Require Trade Assurance (default: false)
- `minYearsInBusiness` (optional) - Min years active (default: 0)
- `minMoq`, `maxMoq` (optional) - MOQ range filters
- `location` (optional) - Filter by country (e.g., "China")
**Output:**
- **Top 20 Suppliers** - Sorted by quality score (0-100)
- **Pricing & MOQ** - Unit prices, minimum order quantities
- **Trust Indicators** - Gold Supplier, Trade Assurance, certifications
- **Performance Metrics** - Review scores, response rate, years in business
- **Quality Breakdown** - Trust, experience, pricing, and review scores
- **Direct Links** - Product URLs for instant contact
<details>
<summary><b>View Example Output</b></summary>
```
π SUPPLIER SEARCH: portable infrared sauna
π Top 5 Suppliers (by Quality Score)
1. β 94/100 | Shenzhen Wellness Tech Co., Ltd.
ββ π
Gold Supplier (12 years) | β Trade Assurance
ββ π Guangdong, China | π¬ 98% response rate
ββ β 4.9/5.0 (234 reviews) | ποΈ ISO 9001, CE, FDA certified
ββ π° $45-$89/unit (MOQ: 100 units, Min order: $6,500)
ββ π https://alibaba.com/product/...
2. β 89/100 | Foshan HealthCare Manufacturing
ββ π
Gold Supplier (8 years) | β Trade Assurance
ββ π Guangdong, China | π¬ 95% response rate
ββ β 4.7/5.0 (156 reviews) | ποΈ CE, RoHS certified
ββ π° $52-$78/unit (MOQ: 50 units, Min order: $3,200)
ββ π https://alibaba.com/product/...
3. β 87/100 | Ningbo Thermal Solutions Ltd.
ββ π
Gold Supplier (15 years) | β Trade Assurance
ββ π Zhejiang, China | π¬ 92% response rate
ββ β 4.8/5.0 (89 reviews) | ποΈ ISO 9001, CE certified
ββ π° $38-$72/unit (MOQ: 200 units, Min order: $9,800)
ββ π https://alibaba.com/product/...
[... more suppliers ...]
π Quality Score Breakdown
ββ Trust Score (40%): Gold badge, Trade Assurance, certifications
ββ Experience (30%): Years in business, transaction history
ββ Pricing (20%): Competitive rates, flexible MOQ
ββ Reviews (10%): Rating score, review count, response rate
π‘ Recommendation: Supplier #2 (Foshan HealthCare) offers the best balance
of quality (89/100), low MOQ (50 units), and competitive pricing ($52-78).
π Search Usage: 18/500 searches used today
```
</details>
---
## π‘ Usage Examples
### Scenario 1: Full Product Launch Research
```
π€ You: "Help me launch a portable sauna business on Amazon"
π€ Claude:
1. [Calls research_amazon_market with keyword="portable sauna"]
β Market Grade A7, $2.5M monthly revenue, moderate competition
2. [Extracts top 3 ASINs from results]
3. [Calls research_asin_keywords with asins=[...]]
β Finds 12 opportunity keywords like "home sauna portable"
4. [Calls search_alibaba_suppliers with searchQuery="portable infrared sauna"]
β Identifies 5 quality suppliers at $45-89/unit, MOQ 50-200
5. Synthesizes launch plan:
β
Market is viable with strong demand
β
Enter at $179-199 price point
β
Target keywords: "home sauna portable", "infrared sauna therapy"
β
Source from Foshan HealthCare (89/100 score, $52-78/unit, MOQ 50)
β
Estimated profit: $80-100/unit after costs
β
Goal: 50-100 sales/month in first 3 months
```
### Scenario 2: Competitor Analysis
```
π€ You: "Analyze competitor ASIN B08N5WRWNW and find keyword gaps"
π€ Claude:
[Calls research_asin_keywords with includeGapAnalysis=true]
π Results:
β’ Competitor ranks for 147 keywords
β’ 23 gap keywords found (they rank, you don't)
β’ Top gaps: "infrared sauna benefits" (6.7K vol), "detox sauna" (2.8K vol)
β’ 8 opportunity keywords with low competition
π‘ Strategy: Target gap keywords "infrared sauna benefits" and "sauna at home"
in your listing and PPC campaigns for quick ranking wins.
```
### Scenario 3: Pricing Strategy
```
π€ You: "Research wireless earbuds under $50 with 4.5+ stars"
π€ Claude:
[Calls research_amazon_market with filters: maxPrice=50, minRating=4.5]
π Results:
β’ 23 products match criteria
β’ Price range: $24.99 - $49.99
β’ Sweet spot: $34.99-$39.99 (highest sales velocity)
β’ Top seller: $36.99 with 680 units/month
π‘ Recommendation: Price at $39.99 for premium positioning while staying
competitive. Products at $35-40 show 2.3x higher conversion than $45+.
```
---
## ποΈ Architecture
```
@launchfast/mcp-server/
βββ src/
β βββ index.ts # MCP server entry point
β βββ client/
β β βββ launchfast-client.ts # API client with retry logic
β βββ tools/
β β βββ market-research.ts # Tool 1: Market research
β β βββ asin-keywords.ts # Tool 2: Keyword intelligence
β β βββ alibaba-suppliers.ts # Tool 3: Supplier discovery
β βββ types/
β β βββ launchfast.ts # TypeScript interfaces
β βββ utils/
β βββ logger.ts # Structured logging
β βββ formatter.ts # Response formatters
βββ scripts/
β βββ setup.js # Interactive setup wizard
βββ install/
β βββ claude-desktop.json # Claude Desktop config
β βββ cursor.json # Cursor config
β βββ claude-code.json # Claude Code config
βββ build/ # Compiled output
βββ .env.example # Environment template
βββ package.json
βββ tsconfig.json
```
### Key Design Principles
**π Performance First**
- Multi-layer caching (keywordβASIN, product data)
- Parallel API requests where possible
- Optimized for 3x speed improvement over standard endpoints
**π‘οΈ Production Ready**
- Exponential backoff retry (1s, 2s, 4s)
- Rate limit handling with 429 retry
- Comprehensive error messages
- Graceful degradation
**π§ͺ Type Safe**
- Full TypeScript with strict mode
- Zod schema validation
- Runtime type checking
**π Universal Compatibility**
- Works with any MCP-compatible AI tool
- No streaming complexity (pure JSON responses)
- Simple stdio transport
---
## π Documentation
### Configuration
#### Environment Variables
```bash
LAUNCHFAST_API_URL=https://launchfastlegacyx.com
LAUNCHFAST_API_KEY=lf_your_64_char_hex_key
LAUNCHFAST_USER_ID=your_uuid_here
```
Get your credentials from: [LaunchFast Admin Dashboard](https://launchfastlegacyx.com/admin/usage-stats)
#### Rate Limits
- **Global Rate Limit**: 20 requests/minute across all MCP users
- **Market Research**: Cached results recommended (useCache: true)
- **Keyword Research**: Session-based caching
- **Supplier Search**: Usage tracking in response (`searchesUsed`, `searchesRemaining`)
All responses include rate limit headers:
```
X-RateLimit-Limit: 20
X-RateLimit-Remaining: 15
X-RateLimit-Reset: 1704067200
```
### Development
```bash
# Install dependencies
npm install
# Run in development mode
npm run dev
# Build for production
npm run build
# Inspect MCP tool schemas
npm run inspect
# Run interactive setup
node scripts/setup.js
```
### Testing
```bash
# Test market research
curl -X POST https://launchfastlegacyx.com/api/products/research \
-H "X-LaunchFast-API-Key: lf_your_key" \
-H "Content-Type: application/json" \
-d '{"keyword": "test product", "limit": 5}'
# Test keyword research
curl -X POST https://launchfastlegacyx.com/api/keywords/research \
-H "X-LaunchFast-API-Key: lf_your_key" \
-H "Content-Type: application/json" \
-d '{"asins": ["B08N5WRWNW"]}'
# Test supplier search
curl -X POST https://launchfastlegacyx.com/api/suppliers/search \
-H "X-LaunchFast-API-Key: lf_your_key" \
-H "Content-Type: application/json" \
-d '{"keyword": "bluetooth speaker"}'
```
---
## π Troubleshooting
<details>
<summary><b>π¨ Tools not appearing in Claude</b></summary>
1. **Verify config location**:
```bash
# macOS
cat ~/Library/Application\ Support/Claude/claude_desktop_config.json
# Windows
type %APPDATA%\Claude\claude_desktop_config.json
```
2. **Check build exists**:
```bash
ls -la build/index.js
# If missing: npm run build
```
3. **Test server directly**:
```bash
npm run inspect
# Should list 3 tools without errors
```
4. **Check Claude logs**:
```bash
# macOS
tail -f ~/Library/Logs/Claude/mcp*.log
# Windows
type %APPDATA%\Claude\logs\mcp*.log
```
</details>
<details>
<summary><b>π Authentication errors</b></summary>
**401 Unauthorized**
- Check `LAUNCHFAST_API_KEY` starts with `lf_`
- Verify key in admin dashboard: [LaunchFast Admin](https://launchfastlegacyx.com/admin/usage-stats)
**403 Forbidden**
- Verify `LAUNCHFAST_USER_ID` matches your account
- Check key is not disabled in admin dashboard
**429 Too Many Requests**
- Global rate limit: 20 req/min across all users
- Check `Retry-After` header for wait time
- Enable caching with `useCache: true` for market research
</details>
<details>
<summary><b>β οΈ API errors</b></summary>
**"Cannot read properties of undefined"**
- API response format may have changed
- Check API docs: [LaunchFast API](https://launchfastlegacyx.com/api/docs)
- Report issue: [GitHub Issues](https://github.com/launchfast/mcp-server/issues)
**500 Server Error**
- Automatic retry will attempt 3 times (1s, 2s, 4s backoff)
- If persists, check API status
**Timeout errors**
- Default timeout: 30 seconds
- Try with `useCache: true` for faster response
- Reduce `limit` parameter for market research
</details>
<details>
<summary><b>π§ Installation issues</b></summary>
**"Missing required environment variables"**
```bash
# Create .env file
cat > .env << EOF
LAUNCHFAST_API_URL=https://launchfastlegacyx.com
LAUNCHFAST_API_KEY=lf_your_key_here
LAUNCHFAST_USER_ID=your_user_id_here
EOF
```
**"Node version too old"**
```bash
node --version # Must be v18.0.0+
# Upgrade: https://nodejs.org/
```
**"Cannot find module '@modelcontextprotocol/sdk'"**
```bash
rm -rf node_modules package-lock.json
npm install
npm run build
```
</details>
---
## π€ Contributing
We love contributions! Here's how to get started:
1. **Fork** the repository
2. **Clone** your fork: `git clone https://github.com/YOUR_USERNAME/mcp-server.git`
3. **Create** a branch: `git checkout -b feature/amazing-feature`
4. **Make** your changes
5. **Test** thoroughly: `npm run dev`
6. **Commit**: `git commit -m 'Add amazing feature'`
7. **Push**: `git push origin feature/amazing-feature`
8. **Open** a Pull Request
### Development Guidelines
- β
Use TypeScript strict mode
- β
Add JSDoc comments for public functions
- β
Include error handling (try/catch)
- β
Follow existing code style (2 spaces, single quotes)
- β
Test with real API calls before submitting
- β
Update README if adding features
### Good First Issues
- [ ] Add support for more Amazon marketplaces
- [ ] Improve error messages with actionable suggestions
- [ ] Add progress indicators for long-running requests
- [ ] Create video tutorial for installation
- [ ] Add unit tests for formatter functions
---
## π License
MIT License - see [LICENSE](LICENSE) file for details.
You are free to use, modify, and distribute this software for commercial or non-commercial purposes.
---
## π Acknowledgments
- **[Anthropic](https://anthropic.com)** - For Claude AI and the Model Context Protocol
- **[LaunchFast](https://launchfastlegacyx.com)** - For the powerful e-commerce research APIs
- **[MCP Community](https://modelcontextprotocol.io)** - For tools, docs, and inspiration
---
## π Support & Community
- π **Documentation**: [GitHub Wiki](https://github.com/launchfast/mcp-server/wiki)
- π¬ **Discussions**: [GitHub Discussions](https://github.com/launchfast/mcp-server/discussions)
- π **Bug Reports**: [GitHub Issues](https://github.com/launchfast/mcp-server/issues)
- π§ **Email**: support@launchfastlegacy.com
- π **Website**: [launchfastlegacyx.com](https://launchfastlegacyx.com)
---
## πΊοΈ Roadmap
### Q1 2025
- [ ] Session management for research history
- [ ] Export results to CSV/Excel/JSON
- [ ] Bulk ASIN analysis (50+ products)
- [ ] Product tracking and price alerts
### Q2 2025
- [ ] eBay marketplace support
- [ ] Walmart marketplace support
- [ ] Web dashboard for visualization
- [ ] Slack/Discord notifications
### Q3 2025
- [ ] Competitive intelligence reports
- [ ] AI-powered product ideation
- [ ] Listing optimization suggestions
- [ ] PPC campaign builder
**Vote on features**: [Feature Requests](https://github.com/launchfast/mcp-server/discussions/categories/feature-requests)
---
## π Star History
If you find this project useful, please consider giving it a β on GitHub!
---
<div align="center">
**Built with β€οΈ by the LaunchFast team for Amazon sellers and product researchers**
[Get Started](#-quick-start) β’ [View Demo](#-usage-examples) β’ [Read Docs](#-documentation) β’ [Join Community](#-support--community)
</div>