smartscout-domo

smartscout-domo

An MCP server that provides Claude Desktop access to SmartScout's Amazon marketplace intelligence data stored in Domo.

Category
访问服务器

README

SmartScout Domo MCP Server

An MCP (Model Context Protocol) server that provides Claude Desktop access to SmartScout's Amazon marketplace intelligence data stored in Domo.

Overview

This MCP server enables Claude to query SmartScout's comprehensive Amazon marketplace database, including:

  • 16M+ products with pricing, sales, and ranking data
  • 350K+ brands with performance metrics
  • 374K+ sellers with revenue and feedback data
  • 10M+ search terms with volume and CPC estimates
  • Historical data for trend analysis
  • Organic and paid search rankings

Installation

  1. Clone this repository:
git clone https://github.com/smartscout/mcp-smartscout-domo.git
cd mcp-smartscout-domo
  1. Install dependencies:
npm install
  1. Create a .env file from the example:
cp .env.example .env
  1. Update .env with your credentials:
DOMO_INSTANCE=your-instance
DOMO_ACCESS_TOKEN=your-access-token
  1. Build the project:
npm run build

Configuration for Claude Desktop

Add the following to your Claude Desktop configuration file:

Windows: %APPDATA%\Claude\claude_desktop_config.json macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "smartscout-domo": {
      "command": "node",
      "args": ["C:/Users/Aeciu/OneDrive/Desktop/Smartscout/mcp-smartscout-domo/dist/server.js"],
      "env": {
        "DOMO_INSTANCE": "recommercebrands",
        "DOMO_ACCESS_TOKEN": "DDCIa8d82cba537ecf54032551681695985167811ebb95a8ea02"
      }
    }
  }
}

Deployment to Railway (Public HTTP API)

This server can now be deployed to Railway as a public HTTP API:

1. Push to GitHub

git add .
git commit -m "Add HTTP wrapper for Railway deployment"
git push origin main

2. Deploy to Railway

  1. Create account at railway.app
  2. Create new project → "Deploy from GitHub repo"
  3. Select your repository
  4. Add environment variables in Railway dashboard:
    • DOMO_INSTANCE - Your Domo instance
    • DOMO_ACCESS_TOKEN - Your Domo access token
    • API_KEYS - Comma-separated API keys (e.g., key1,key2,key3)
    • CORS_ORIGINS - Allowed origins (e.g., https://yourdomain.com)

3. Access Your API

Once deployed, Railway will provide a URL like https://your-app.railway.app

Test the deployment:

# Health check
curl https://your-app.railway.app/health

# List tools (requires API key)
curl -X POST https://your-app.railway.app/mcp \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/list","params":{},"id":1}'

See API.md for full API documentation.

Available Tools

Product Tools

smartscout_product_search

Search for products by various criteria.

Example: Find products with "coffee maker" in title, priced $50-200, with 100+ reviews

smartscout_product_details

Get detailed information about a specific product including sellers.

Example: Get full details for ASIN B08N5WLMXB

smartscout_product_history

Get historical price and sales rank data for a product.

Example: Show 30-day history for ASIN B08N5WLMXB

smartscout_top_products

Find top-selling products in categories.

Example: Top 20 products in "Home & Kitchen" category

Brand Tools

smartscout_brand_search

Search brands by name or performance metrics.

Example: Brands with >$100K monthly revenue and 30%+ growth

smartscout_brand_details

Get comprehensive brand information including top products and sellers.

Example: Full analysis of brand "Anker"

smartscout_brand_coverage

Analyze seller coverage for brands.

Example: Which sellers carry Nike products

smartscout_brand_growth

Find fastest-growing brands.

Example: Top 20 fastest growing brands with >$50K revenue

Seller Tools

smartscout_seller_search

Search sellers by name, ID, or metrics.

Example: Sellers with >$500K monthly revenue and 95%+ positive feedback

smartscout_seller_details

Get detailed seller profile with products and brands.

Example: Full profile for seller ID A2VJCB1F3Q7JZX

smartscout_seller_products

List all products sold by a specific seller.

Example: Products from seller A2VJCB1F3Q7JZX with >50% buy box

smartscout_top_sellers

Find top sellers by various metrics.

Example: Top 20 sellers by 30-day revenue growth

Search/Keyword Tools

smartscout_keyword_search

Find keywords with search volume and CPC data.

Example: Keywords containing "wireless" with >10K monthly searches

smartscout_keyword_products

Get products ranking for a specific keyword.

Example: Top organic and paid results for "bluetooth speaker"

smartscout_product_keywords

Find keywords that a product ranks for.

Example: All keywords where ASIN B08N5WLMXB ranks in top 50

smartscout_keyword_brands

Analyze brand presence for keywords.

Example: Which brands dominate "coffee maker" searches

Analytics Tools

smartscout_market_analysis

Comprehensive market analysis for categories.

Example: Full market analysis for "Pet Supplies" category

smartscout_competitor_analysis

Find and analyze competitors.

Example: Find competitors for ASIN B08N5WLMXB

smartscout_opportunity_finder

Discover market opportunities.

Example: Find low-competition subcategories with >$50K revenue

smartscout_custom_query

Execute custom SQL queries (SELECT only).

Example: SELECT * FROM PRODUCTS WHERE BRAND = 'Apple' LIMIT 10

smartscout_system_info

Get information about available databases and schemas.

Example: Show schema for products database

Example Queries in Claude

Here are some example prompts you can use with Claude:

  1. Product Research:

    • "Find the top 10 best-selling yoga mats under $50"
    • "Show me the price history for ASIN B08N5WLMXB over the last 30 days"
    • "What products are competing with [ASIN]?"
  2. Brand Analysis:

    • "Which brands are growing fastest in the Home & Kitchen category?"
    • "Give me a full analysis of the Anker brand"
    • "Which sellers have the most revenue from Nike products?"
  3. Seller Intelligence:

    • "Find the top sellers in Pet Supplies with over 95% positive feedback"
    • "What products does seller A2VJCB1F3Q7JZX sell?"
    • "Show me sellers with the highest 30-day revenue growth"
  4. Keyword Research:

    • "What are the top keywords for wireless headphones?"
    • "Which products rank #1 organically for 'coffee maker'?"
    • "What keywords does ASIN B08N5WLMXB rank for?"
  5. Market Opportunities:

    • "Find low-competition subcategories in Sports & Outdoors"
    • "Show me high-revenue products with ratings under 3.5 stars"
    • "What subcategories have the largest price gaps?"

Token Management

The server automatically limits results to prevent token overflow:

  • Default limit: 100 results per query
  • Maximum limit: 1000 results
  • Results include a count and truncation notice when applicable
  • Complex queries return summarized data

Database Schema

The server provides access to these SmartScout databases:

  • PRODUCTS: Product catalog (16.1M rows)
  • BRANDS: Brand performance (350K rows)
  • SELLERS: Seller profiles (374K rows)
  • SEARCHTERMS: Keyword data (10.5M rows)
  • SELLERPRODUCTS: Seller-product relationships (17.7M rows)
  • BRANDCOVERAGES: Brand-seller relationships (997K rows)
  • PRODUCTHISTORIES: Historical product data (1.2B rows)
  • And more...

Use smartscout_system_info to explore available databases and their schemas.

Query Approach

This MCP server uses Domo's SQL query API. Key points about how queries work:

  1. Dataset Selection: Each tool targets a specific dataset ID, and queries use FROM dataset syntax
  2. Single Dataset Queries: Due to Domo API design, each query operates on one dataset at a time
  3. Column Names: All queries use the actual column names from the SmartScout schema (e.g., ASIN, MONTHLYSALES)

Troubleshooting

Common Issues

  1. Rate Limiting: The server handles Domo API rate limits automatically. If you encounter rate limit errors, wait a moment before retrying.

  2. Large Result Sets: If queries return too much data, try:

    • Adding more specific filters
    • Reducing the limit parameter
    • Using aggregation queries instead of raw data
  3. Connection Errors: Ensure your Domo credentials are correct and the instance URL is properly formatted.

Development

To run in development mode:

npm run dev

To run tests:

npm test

Security

  • API credentials are stored in environment variables
  • Only SELECT queries are allowed in custom SQL
  • All user inputs are sanitized to prevent SQL injection
  • Token limits prevent data exfiltration

Support

For issues or questions:

License

Copyright (c) 2024 SmartScout. All rights reserved.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选