Skip to main content
Glama
Cart MCP Server

Cart MCP Server

by FlatNineOrg

@usecart/mcp-server

MCP (Model Context Protocol) server for the Cart e-commerce intelligence API. This server exposes Cart's full API as tools that AI agents can call directly.

Available Tools

Tool

Description

search_stores

Search for e-commerce stores by keyword, platform, language, traffic

get_store

Get full store details by domain

get_store_products

List products for a store

get_store_traffic

Get traffic analytics for a store

get_store_tech

Get the technology stack for a store

get_store_ads

Get ads detected for a store

compare_stores

Compare 2-10 stores side by side

search_products

Search for products across all tracked stores

get_product

Get a single product by ID

get_trending

Get trending products and growing stores

search_ads

Search for e-commerce advertisements

get_ad

Get a single ad by ID

search_suppliers

Search for product suppliers and vendors

get_niche_overview

Get a market overview for a niche keyword

get_account

Get API key info and usage stats

Related MCP server: SellerChamp MCP Server

Prerequisites

  • Node.js 18 or later

  • A Cart API key (get one at usecart.com)

Setup

Claude Desktop

Add this to your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "cart": {
      "command": "npx",
      "args": ["@usecart/mcp-server"],
      "env": {
        "CART_API_KEY": "cart_sk_..."
      }
    }
  }
}

VS Code

Add this to your VS Code MCP settings (.vscode/mcp.json or user settings):

{
  "mcpServers": {
    "cart": {
      "command": "npx",
      "args": ["@usecart/mcp-server"],
      "env": {
        "CART_API_KEY": "cart_sk_..."
      }
    }
  }
}

Claude Code

claude mcp add cart -- npx @usecart/mcp-server

Set the environment variable before running:

export CART_API_KEY=cart_sk_...

Other MCP Clients

Any MCP-compatible client can use this server. The configuration is always:

  • Command: npx

  • Args: ["@usecart/mcp-server"]

  • Environment: CART_API_KEY must be set

Environment Variables

Variable

Required

Description

CART_API_KEY

Yes

Your Cart API key (starts with cart_sk_)

CART_API_BASE_URL

No

Override the API base URL (defaults to https://api.usecart.com/v1)

Development

# Install dependencies
npm install

# Build
npm run build

# Run locally
CART_API_KEY=cart_sk_... node dist/index.js

License

MIT

Available Tools

15 tools
compare_storesA

Compare 2 to 10 e-commerce stores side by side. Returns full store profiles for each domain so you can compare traffic, products, platforms, and more.

Inputs: domains (required).

get_accountA

Get information about the authenticated Cart API account, including the current plan, email, daily request count, and request limit. Use this to check remaining API quota.

Inputs: no named parameters.

get_adC

Get full details for a single advertisement by its Cart ad ID.

Inputs: id (required).

get_niche_overviewA

Get a market overview for a niche keyword. Returns the total number of stores and products in the niche, average price, top stores, and trending products. Great for market research and competitive analysis.

Inputs: keyword (required).

get_productA

Get full details for a single product by its Cart product ID. Returns the product title, price, image, vendor, store domain, and timestamps.

Inputs: id (required).

get_storeA

Get the full profile for a single e-commerce store by its domain. Returns detailed info including traffic stats, product count, platform, social links, business model flags (dropshipping, print-on-demand), and more.

Inputs: domain (required).

get_store_adsB

Get advertisements detected for a specific store. Returns ad creatives with platform, image URL, landing URL, and date range when the ad was active.

Inputs: domain (required).

get_store_productsA

List products sold by a specific e-commerce store. Returns a paginated list of product titles, prices, images, and vendors.

Inputs: domain (required), page, sort, per_page.

get_store_techA

Get the technology stack used by a store. Returns a list of technologies with their categories (e.g. analytics, payments, marketing, hosting).

Inputs: domain (required).

get_store_trafficA

Get detailed traffic analytics for a store, including monthly visitors, trend percentage, bounce rate, average visit length, pages per visit, geographic breakdown, and traffic sources (direct, search, social, mail, display, referrals).

Inputs: domain (required).

search_adsA

Search for e-commerce advertisements across platforms. Filter by keyword or store domain. Returns ad creatives with platform, images, landing URLs, and active date ranges.

Inputs: page, sort, keyword, per_page, +2 more.

search_productsA

Search the Cart product database across all tracked stores. Filter by keyword, price range, and currency. Returns product titles, prices, images, store domain, and vendor.

Inputs: page, sort, keyword, currency, +3 more.

search_storesA

Search the Cart database of e-commerce stores. Filter by keyword, platform (e.g. shopify, woocommerce), language, minimum traffic, and more. Returns a paginated list of store summaries with traffic metrics, product counts, and platform info.

Inputs: page, sort, keyword, language, +3 more.

search_suppliersB

Search for product suppliers and vendors. Filter by keyword, location, or type. Useful for finding sourcing and manufacturing partners.

Inputs: page, sort, type, keyword, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 15 tools

    Disambiguation5/5

    All 15 tools have distinct, non-overlapping purposes. For example, search_stores vs get_store search vs detail; get_store_products vs search_products differentiate by store-specific vs cross-store; and get_store_traffic, tech, ads each address unique aspects. No confusion between tools.

    Naming Consistency5/5

    Every tool uses a consistent verb_noun snake_case pattern (e.g., search_stores, get_store, get_store_products, compare_stores). Verbs are appropriately chosen ('search', 'get', 'compare'), and the naming is uniformly descriptive and predictable.

    Tool Count5/5

    With 15 tools, the server is well-scoped for its domain of e-commerce store and product intelligence. Each tool covers a specific operation without unnecessary duplication, and the count feels neither sparse nor overwhelming.

    Completeness5/5

    The tool set provides comprehensive coverage for the intended use case: retrieving store profiles, detailed analytics, product data, ads, supplier info, trends, and niche overviews. No obvious gaps exist—all major data types and operations (search, detail, compare, trending) are represented.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that enables AI agents to manage multi-marketplace e-commerce operations by connecting to the SellerChamp API. It supports inventory reporting, cross-listing analysis, order management, and bulk updates across platforms like Amazon, eBay, and Shopify.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Official MCP server for NanoCart, enabling AI agents to manage products, orders, coupons, categories, subscribers, settings, and pull sales reports from your store.
      31
      50 npm
      MIT