LaunchFast MCP
Enterprise-grade Amazon & Alibaba intelligence for Claude AI, enabling natural language market research, keyword analysis, and supplier discovery.
README
<div align="center">
๐ LaunchFast MCP
Enterprise-Grade Amazon & Alibaba Intelligence for Claude AI
Transform 8-hour product research into 30-second AI conversations
Quick Start ยท Features ยท Architecture ยท Demo
</div>
๐ Overview
A production-ready Model Context Protocol (MCP) server that brings real-time e-commerce intelligence directly into Claude Desktop. Built with TypeScript, deployed on Railway, published to npm, and actively used by Amazon sellers.
npx -y @launchfast/mcp
# That's it. No git clone, no npm install, just works. โจ
What It Does
Transforms complex e-commerce research workflows into natural language:
| Query | Result |
|---|---|
"Research the Amazon market for portable chargers" |
Market grade, competition analysis, revenue estimates, top 50 products |
"Find keyword opportunities for ASIN B08N5WRWNW" |
150+ keywords with search volume, CPC, gap analysis |
"Search Alibaba for bluetooth speaker suppliers with MOQ under 100" |
20 suppliers ranked by quality score, pricing, certifications |
Why It Matters
- 10x Faster Research: What takes 8-10 hours manually happens in 30 seconds
- AI-Native Interface: Natural language queries instead of complex dashboards
- Production Ready: Rate limiting, retry logic, error handling, monitoring
- Zero-Config Install: One-line npm install, shared API quota, works instantly
๐ฏ Features
1. Market Research (research_amazon_market)
Intelligent product analysis with A10-F1 grading algorithm.
Key Capabilities:
- Real-time Amazon data via Axesso API integration
- Market grading: A10 (best opportunity) to F1 (oversaturated)
- Multi-layer caching strategy (3x faster responses)
- Sales velocity calculation & revenue estimates
- Competition analysis via BSR tracking
- Advanced filtering: price range, ratings, review count
Technical Highlights:
// Dual caching strategy for 3x performance
Layer 1: Keyword โ ASIN mapping (24h TTL)
Layer 2: Master product data per ASIN
Result: 2-5s cached vs 8-15s fresh
2. Keyword Intelligence (research_asin_keywords)
Deep ASIN analysis with opportunity mining & gap detection.
Key Capabilities:
- Multi-ASIN support (analyze 1-10 products simultaneously)
- Keyword metrics: search volume, CPC, competition score, ranking
- Opportunity mining: AI identifies low-competition, high-volume keywords
- Gap analysis: discovers keywords competitors rank for that you don't
- Traffic attribution per keyword
Technical Highlights:
// Parallel processing with Promise.all()
const results = await Promise.all(
asins.map(asin => fetchKeywordData(asin))
)
3. Supplier Discovery (search_alibaba_suppliers)
Smart Alibaba search with composite quality scoring.
Quality Scoring Algorithm (0-100):
- Trust indicators (40%): Gold Supplier, Trade Assurance, certifications
- Experience (30%): Years in business, transaction history
- Pricing (20%): Competitive rates, flexible MOQ
- Reviews (10%): Rating score, review count, response rate
Advanced Filters: MOQ range, location, certifications, years in business, supplier badges
๐๏ธ Architecture
<div align="center">
graph TB
A[Claude Desktop] -->|JSON-RPC stdio| B[MCP Server]
B -->|Tool Selection| C{Tool Handlers}
C --> D[Market Research]
C --> E[Keyword Intelligence]
C --> F[Supplier Search]
D -->|HTTPS| G[LaunchFast API]
E -->|HTTPS| G
F -->|HTTPS| G
G -->|Auth & Rate Limiting| H[Data Services]
H --> I[Amazon API]
H --> J[Alibaba API]
H --> K[Caching Layer]
K -->|Optimized Response| B
B -->|Formatted Data| A
</div>
Tech Stack
| Layer | Technology | Purpose |
|---|---|---|
| Transport | stdio (local) / SSE (web) | Claude Desktop & web client support |
| Protocol | JSON-RPC 2.0 | MCP-compliant request/response |
| Runtime | Node.js 18+ | Fast, modern JavaScript execution |
| Language | TypeScript 5.9 (strict mode) | Type safety & developer experience |
| Validation | Zod schemas | Runtime input validation |
| HTTP Client | Native fetch() | Exponential backoff retry logic |
| Deployment | npm + Railway | Local execution & cloud SSE server |
๐ฅ Demo
Complete Product Launch Research (30 seconds)
User: "I want to launch bluetooth speakers on Amazon. Full analysis."
Claude executes:
1. Market research โ Grade A7, $2.5M monthly revenue
2. Keyword analysis โ 150+ keywords, 20 opportunities identified
3. Supplier search โ 8 Gold Suppliers, MOQ 50-200, $12-45/unit
4. Profit calculation โ $80-100/unit margin @ $149 price point
5. Launch strategy โ Keywords, supplier, pricing, sales targets
Result: Comprehensive launch plan in one conversation.
๐ Quick Start
Prerequisites
- Node.js 18+ (Download)
- Claude Desktop (Download)
- LaunchFast API Key (Get yours at
https://launchfastlegacyx.com)
Installation (30 seconds)
1. Open your Claude Desktop config:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
2. Add this configuration:
{
"mcpServers": {
"launchfast": {
"command": "npx",
"args": ["-y", "@launchfast/mcp"],
"env": {
"LAUNCHFAST_API_URL": "https://launchfastlegacyx.com",
"LAUNCHFAST_API_KEY": "lf_your_api_key_here"
}
}
}
}
3. Restart Claude Desktop
4. Test it:
Research the Amazon market for "wireless chargers"
๐ป Development
Local Setup
# Clone repository
git clone https://github.com/BlockchainHB/launchfastmcp.git
cd launchfastmcp
# Install dependencies
npm install
# Create .env file
cp .env.example .env
# Edit .env with your API credentials
# Build
npm run build
# Run locally (stdio mode)
npm run dev
# Run SSE server (web mode)
npm run dev:server
Project Structure
launchfastmcp/
โโโ src/
โ โโโ index.ts # MCP server (stdio)
โ โโโ server-sse.ts # MCP server (SSE/HTTP)
โ โโโ client/
โ โ โโโ launchfast-client.ts # API client with retry
โ โโโ tools/
โ โ โโโ market-research.ts # Tool 1 handler
โ โ โโโ asin-keywords.ts # Tool 2 handler
โ โ โโโ alibaba-suppliers.ts # Tool 3 handler
โ โโโ types/
โ โ โโโ launchfast.ts # Type definitions
โ โโโ utils/
โ โโโ logger.ts # Structured logging
โ โโโ formatter.ts # Response formatters
โโโ build/ # Compiled output
โโโ .env.example # Environment template
โโโ package.json # npm metadata
โโโ tsconfig.json # TypeScript config
โโโ README.md # This file
Available Scripts
npm run build # Compile TypeScript โ JavaScript
npm run dev # Run MCP server (stdio mode)
npm run dev:server # Run SSE server (web clients)
npm run inspect # Debug mode with source maps
๐ง Technical Highlights
1. Production-Grade Error Handling
Exponential Backoff Retry:
async function fetchWithRetry(url: string, options: RequestInit, maxRetries = 3) {
for (let attempt = 1; attempt <= maxRetries; attempt++) {
try {
const response = await fetch(url, options)
// Don't retry 4xx errors (client errors)
if (response.status >= 400 && response.status < 500) {
return response
}
if (response.ok) return response
// Retry 5xx errors with exponential backoff
const backoff = Math.pow(2, attempt - 1) * 1000 // 1s, 2s, 4s
await new Promise(resolve => setTimeout(resolve, backoff))
} catch (err) {
if (attempt === maxRetries) throw err
}
}
}
2. Defensive Programming
Handles real-world API variance with multiple fallback strategies:
// Multiple fallback field mappings
const name = data.companyName || data.name || data.supplierName || 'Unknown'
// Null-safe number parsing
const moq = parseInt(data.moq?.toString() || '0') || 0
// Array safety
const items = Array.isArray(data.items) ? data.items : []
3. Type-Safe End-to-End
Full TypeScript strict mode with runtime validation:
// Zod schemas for runtime validation
export const MarketResearchSchema = z.object({
keyword: z.string().min(1),
marketplace: z.string().default('com'),
limit: z.number().int().min(1).max(100).default(50),
useCache: z.boolean().default(true),
filters: z.object({
minPrice: z.number().optional(),
maxPrice: z.number().optional(),
minRating: z.number().min(0).max(5).optional()
}).optional()
})
// Type inference
type MarketResearchRequest = z.infer<typeof MarketResearchSchema>
4. Multi-Layer Caching Strategy
// Layer 1: Keyword โ ASIN mapping (24h cache)
// Avoids expensive Amazon search API calls
// Layer 2: Master product data per ASIN
// Reuses product details across queries
// Result: 3x performance improvement
5. Security Best Practices
- โ User-specific API keys (lf_ prefix validation)
- โ Keys in headers, not request bodies
- โ Rate limiting with sliding windows (20 req/min)
- โ Request audit logging
- โ RLS policies for data isolation
๐ Performance Metrics
| Metric | Value |
|---|---|
| Bundle Size | 163.4 kB (80.3 kB gzipped) |
| Dependencies | 4 (minimal footprint) |
| Type Coverage | 100% |
| Cache Hit Rate | 73% (production data) |
| Avg Response Time | 2.8s (cached), 9.2s (fresh) |
| Uptime (Railway) | 99.9% |
๐ค Contributing
Contributions are welcome! Here's how to get started:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Test thoroughly (
npm run build && npm run dev) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Code Style
- TypeScript strict mode enabled
- ESLint + Prettier for formatting
- Zod for runtime validation
- Descriptive variable names & comments
- Error handling on all async operations
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐จโ๐ป Author
Hasaam Bhatti
- Website: hasaamb.com
- X/Twitter: @automatingwork
- GitHub: @BlockchainHB
๐ Acknowledgments
- Anthropic - Claude AI and Model Context Protocol
- MCP Community - Tools, docs, and inspiration
- Launch Fast(https://launchfastlegacyx.com/admin/usage-stats) - API infrastructure and data pipelines
๐ Project Stats
<div align="center">
Built with โค๏ธ for Amazon sellers, product researchers, and AI enthusiasts
</div>
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.