launchfastmcp

BlockchainHB/launchfastmcp

3.2

If you are the rightful owner of launchfastmcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

LaunchFast MCP is an enterprise-grade Model Context Protocol server designed to bring real-time e-commerce intelligence into Claude AI, transforming complex research workflows into natural language interactions.

Tools
3
Resources
0
Prompts
0

๐Ÿš€ LaunchFast MCP

Enterprise-Grade Amazon & Alibaba Intelligence for Claude AI

npm version TypeScript MCP SDK License: MIT

Transform 8-hour product research into 30-second AI conversations

Quick Start ยท Features ยท Architecture ยท Demo


๐Ÿ“– 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:

QueryResult
"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

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

Tech Stack

LayerTechnologyPurpose
Transportstdio (local) / SSE (web)Claude Desktop & web client support
ProtocolJSON-RPC 2.0MCP-compliant request/response
RuntimeNode.js 18+Fast, modern JavaScript execution
LanguageTypeScript 5.9 (strict mode)Type safety & developer experience
ValidationZod schemasRuntime input validation
HTTP ClientNative fetch()Exponential backoff retry logic
Deploymentnpm + RailwayLocal 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

MetricValue
Bundle Size163.4 kB (80.3 kB gzipped)
Dependencies4 (minimal footprint)
Type Coverage100%
Cache Hit Rate73% (production data)
Avg Response Time2.8s (cached), 9.2s (fresh)
Uptime (Railway)99.9%

๐Ÿค Contributing

Contributions are welcome! Here's how to get started:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Test thoroughly (npm run build && npm run dev)
  5. Commit your changes (git commit -m 'Add amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. 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 file for details.


๐Ÿ‘จโ€๐Ÿ’ป Author

Hasaam Bhatti


๐Ÿ™ Acknowledgments


๐Ÿ“ˆ Project Stats

npm GitHub Repo stars GitHub code size

Built with โค๏ธ for Amazon sellers, product researchers, and AI enthusiasts

โฌ† Back to Top