@marketbasketanalysis/mcp
@marketbasketanalysis/mcp
あらゆる AI エージェントに、Eコマースマーチャントの注文履歴に基づく実際の併買インテリジェンスとマーチャント運用ツールへのアクセスを提供する MCP サーバーです。ディスカバリー、バンドル、インサイト、補充、マーチャント運用、高度なマイニングにわたる 19 のツールを備えています。Claude Desktop、Claude Code、Cursor、Windsurf、Cline、OpenAI Agent SDK、その他 MCP stdio プロトコルを話すあらゆるホストで動作します。Shopify、BigCommerce、WooCommerce、Magento、OroCommerce のマーチャント向けに動作します。セルフホスト型バックエンドに到達できるツールについては、下の「プラットフォーム対応状況」を参照してください。
単一の npm パッケージがすべてのマーケットプレイスに対応します。サーバーはプラットフォームに依存せず、公開 REST API を介してストアの MBA バックエンドを呼び出す HTTP クライアントです。単一のスイッチ(MBA_API_BASE、下記参照)でサーバー全体を任意のストアに向け直せます。ほとんどのツールは 5 つのプラットフォームすべてで動作します。一部は、まだすべてのプラットフォームが提供していないバックエンドルートに依存します。ツールごとのマーケットプレイス対応状況は、ツールカタログ の「マーケットプレイス」列に記載されています。
存在理由
顧客が AI ショッピングエージェントに「ジム用バックパックに合うものは?」と尋ねたとき、エージェントはマーチャントの実際の注文データに基づいた本当の回答を返すべきであり、一般的な「おすすめはこちら」のような当てずっぽうであってはなりません。マーチャントが Claude に「今週は何に取り組むべき?」と尋ねたとき、エージェントはランク付けされた週次プランから引き出すべきであり、タスクをでっち上げるべきではありません。このサーバーは、その両方のフローを 1 行の設定で任意の MCP ホストに提供します。
Related MCP server: dentro MCP
5行インストール(Claude Desktop)
{
"mcpServers": {
"marketbasketanalysis": {
"command": "npx",
"args": ["-y", "@marketbasketanalysis/mcp"],
"env": { "MBA_API_KEY": "mba_live_YOUR_KEY_HERE" }
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json(macOS)に貼り付け、Claude Desktop を再起動すると、marketbasketanalysis サーバーが 19 個すべてのツールとともにツール一覧に表示されます。
ゼロインストール:ホステッドエンドポイント
同じサーバーが https://mcp.marketbasketanalysis.com/mcp(MCP streamable HTTP)でホスト型実行されています。インストールは不要です。環境変数ではなく Bearer ヘッダーとしてキーを送信してください:
claude mcp add --transport http marketbasketanalysis \
https://mcp.marketbasketanalysis.com/mcp \
--header "Authorization: Bearer mba_live_YOUR_KEY_HERE"リモート対応の MCP クライアント(Claude Code、Cursor、Smithery、カスタムエージェント)で動作します。オプションヘッダー:X-MBA-Base は別の MBA 運営プレーンに向け直します(例:https://bigcommerce.marketbasketanalysis.com)。X-MBA-Platform は MBA_PLATFORM 環境変数をミラーリングします。セルフホスト型の WooCommerce および Magento ストアは、設計上ホステッドエンドポイントからは到達できません。MBA_API_BASE を自社サイトに向けた上記の npx インストールを使用してください。
サーバーをストアに向ける(MBA_API_BASE)
ベース URL はストアごとの設定です。デフォルトでは、サーバーは共有ホスト型バックエンド https://app.marketbasketanalysis.com と通信します。データが他の場所(BigCommerce ストア、セルフホスト型バックエンド、ステージングインスタンスなど)にある場合は、MBA_API_BASE を設定して、すべてのツールが独自のデータプレーンに到達するようにしてください:
{
"mcpServers": {
"marketbasketanalysis": {
"command": "npx",
"args": ["-y", "@marketbasketanalysis/mcp"],
"env": {
"MBA_API_KEY": "mba_live_YOUR_KEY_HERE",
"MBA_API_BASE": "https://your-store-backend.example.com"
}
}
}
}MBA_API_BASE はサーバー全体を向け直す単一のスイッチであり、19 個すべてのツールがこれを経由します。値は非ローカルホストでは https:// URL である必要があります(ループバック、プライベート、リンクローカル、メタデータサービスホストは拒否されます)。localhost 上のバックエンドに対するローカル開発では、ALLOW_LOCAL_API_BASE=1 を設定して http://localhost ベースを許可してください。環境変数の変更はサーバー起動時に反映されるため、値を編集した後は MCP ホストを再起動してください。
プラットフォーム別の MBA_API_BASE
ベース URL はストアごとの設定です。Shopify、BigCommerce、OroCommerce のストアは共有ホスト型バックエンドが提供するため、デフォルトを使用します。WooCommerce と Magento はストアインストール内でバックエンドをローカル実行するため、サーバーをストア自身のドメインに向けてください:
プラットフォーム |
|
Shopify | 未設定(ホスト型デフォルト |
BigCommerce | 未設定(ホスト型デフォルト) |
OroCommerce | 未設定(シン・ホステッドクライアント、同じホスト型バックエンド) |
WooCommerce |
|
Magento |
|
プラットフォーム対応状況
サーバーは正規の /api/v1/... パスを書き出し、プラットフォームごとに書き換えます。WooCommerce と Magento はストア内でバックエンドを独自の REST 規約(それぞれ marketbasketanalysis/v1 と V1/marketbasketanalysis)で実行するためです。
19 のツールのうち 10 が WooCommerce と Magento に到達します:/recommendations から派生する 6 つ(get_recommendations、get_bundle_for_cart、score_cross_sell、analyze_basket、propose_subscription_bundle、score_return_risk)に加え、find_substitutes、get_rationale、forecast_bundle、predict_reorder です。
残りの 9 つはマーチャント運用サーフェスです:get_opportunities、triage_opportunity、get_weekly_plan、execute_weekly_plan_action、get_drift_alerts、get_forecast_alerts、explain_opportunity、explain_drift、mine_hui_itemsets。これらのエンドポイントはセルフホスト型バックエンドには存在しません。そこで呼び出すと、ネットワーク往復なしで、エンドポイント名を明示した明確な "not available on this platform" エラーが返り、不透明な 404 にはなりません。
ステップバイステップのインストール手順(OS ごとの設定ファイルの場所、API キーの発行方法、トラブルシューティング)はこちら:
Claude Desktop: dist/mcp/claude-desktop-setup.md
Cursor: dist/mcp/cursor-setup.md
Windsurf: dist/mcp/windsurf-setup.md
認証
サーバーは MCP ホストが渡す環境から MBA_API_KEY を読み取り、すべてのリクエストで Bearer トークンとして送信します。キーを取得するには:
MarketBasketAnalysis 管理画面を開きます(Shopify のアプリドロワー、または BigCommerce / WooCommerce / Magento / OroCommerce の管理画面)。
左ナビゲーションの「API keys」をクリックします。
「Create key」をクリックし、名前を付けて、
mba_live_の値をコピーします(一度だけ表示されます)。
キーはショップごとで、失効・ローテーションも同じ画面から行えます。SHA-256 ハッシュのみが保存されるため、キーが漏えいした場合は再発行してください。
認証モデルはマーケットプレイスごとに異なりますが、MCP サーバーが抽象化しています。それでも知っておく価値があります:
Shopify、BigCommerce:
Bearer mba_live_...をそのまま通します。これが一般的な経路です。WooCommerce:WooCommerce が発行したキーに対する
Bearerです。predict_reorderにはcustomer_dataスコープが必要です。Magento:ツールは Magento REST サーフェス(
/V1/marketbasketanalysis/*と/V1/mba/*)経由でストアに到達します。一部のルートはストア側で admin トークン / ACL スコープに制限されています。OroCommerce:
/api/ルートではストアがプラットフォームの OAuth2 ファイアウォールの背後にあります。シンクライアントがプロキシするホスト型バックエンドを MCP サーバーが実際に呼び出すため、mba_live_キーが引き続き適用されます。
ツールカタログ
19 のツールは、4 つの Basket AI エージェント ロールと 2 つの運用グループに分類されます。マーケットプレイス列は、ツールが呼び出すルートを提供しているバックエンドを示しています。これは、このサーバーが現在到達できるバックエンドとは異なります。「プラットフォーム対応状況」を参照してください。「All five」は Shopify、BigCommerce、WooCommerce、Magento、OroCommerce を意味します。
ディスカバリー
ツール | 説明 | 必須パラメータ | マーケットプレイス |
| 単一商品に対する補完商品。 |
| 全5プラットフォーム |
| 商品が入手できない場合の代替オプション。 |
| 全5プラットフォーム |
| レコメンドペアに対する一言の「理由」。 |
| 全5プラットフォーム |
バンドル
これらはすべて /recommendations から派生します(サーバーがバンドル/スコアリングロジックをクライアントサイドで構成します)。そのため、追加のバックエンドルートは不要で、どこでも動作します。
ツール | 説明 | 必須パラメータ | マーケットプレイス |
| 複数アイテムのカートに不足しているキット構成部品。 |
| 全5プラットフォーム |
| 定期購入キットの提案。 |
| 全5プラットフォーム |
インサイト
これらも /recommendations から派生するため、すべてのプラットフォームで動作します。
ツール | 説明 | 必須パラメータ | マーケットプレイス |
| (a, b) ペアに対する関連性の強さの判定。 |
| 全5プラットフォーム |
| バンドルの返品リスクスコア。 |
| 全5プラットフォーム |
| 提案バンドルの凝集性スコア。 |
| 全5プラットフォーム |
補充と予測
ツール | 説明 | 必須パラメータ | マーケットプレイス |
| 顧客 / SKU ごとの B2B 再発注サイクル。 |
| Shopify、BigCommerce、WooCommerce、Magento。 |
| 週次の Holt-Winters 予測と購入数量。 |
| Shopify、BigCommerce、Magento( |
マーチャントオペレーション
これらは、現在 BigCommerce で提供されている Bearer /api/v1 ルートを呼び出します。Shopify は、機会、ドリフト、週次プランを /api/v1 ルートではなく埋め込み管理ビューを通じて提供するため、これらのツールは BigCommerce バックエンドに対して解決されます。唯一の例外は /explain-opportunity で、現在 BigCommerce と Shopify の両方で提供されています。/explain-drift は BigCommerce のみのままです。これらのツールは、そのルートを持たないプラットフォームでは明確なアップストリーム 404 を返します。
ツール | 説明 | 必須パラメータ | マーケットプレイス |
| 優先順位付けされた週次アクションリスト。 | (なし) | BigCommerce |
| 特定のアクションを実行します(確認ゲート付き)。 |
| BigCommerce |
| 発掘された機会をランク付けして表示。 | (なし) | BigCommerce |
| 1 つの機会について、統計(支持度 / 信頼度 / リフト / サンプル数)に加えて、テンプレート化された「なぜこれが良いクロスセルなのか」の説明を表示します。 |
| BigCommerce、Shopify |
| アクティブ化 / 一時停止 / アーカイブ(確認ゲート付き)。 |
| BigCommerce( |
| 信頼度にドリフトが生じたルール。 | (なし) | BigCommerce |
| 1 つのドリフトアラートについて、統計と、テンプレート化された「なぜこのペアがドリフトしたのか」の説明を表示します(消失したペアにはグレースフルに縮退します)。 |
| BigCommerce |
| 在庫切れ / 需要低下のリスクがあるバンドル。 | (なし) | BigCommerce |
高度なマイニング
ツール | 説明 | 必須パラメータ | マーケットプレイス |
| 高ユーティリティアイテムセットマイニング(Plus / Enterprise)。 |
| Shopify、BigCommerce、WooCommerce、OroCommerce。Plus / Enterprise ティア。 |
ツールごとのプロンプト例
サーバーを接続した後、これらのいずれかを Claude Desktop / Claude Code / Cursor のチャットに貼り付けてください:
get_recommendations: "marketbasketanalysis を使って、ジム用バックパック(商品 8472918765)と一緒に顧客がよく購入するものを調べてください。"find_substitutes: "DSLR ボディが在庫切れです。 良い代替品はありますか?"get_rationale: "ジム用バックパックと一緒にウォーターボトルが推奨される理由は?"get_bundle_for_cart: "カートにカメラボディ、32GB SDカード、 三脚があります。完全なキットにするために不足していそうなものは 何ですか?"propose_subscription_bundle: "顧客 9876 向けの毎月のサブスクリプションキットを組み立ててください。"score_cross_sell: "クリーニングキットは DSLR カメラボディの良いクロスセルですか?"score_return_risk: *"カメラ + レンズの返品リスクは?三脚 + バッグのバンドル?"*
analyze_basket: "カメラ + レンズ + SDカード + バッグを バンドルしようと考えています。実際の顧客データに基づくと、 それは強いバンドルですか?"predict_reorder: "Acme Corp(顧客 7654321)は今週 何を再発注する予定ですか?"forecast_bundle: "バンドル b-camera-kit の今後 12 週間を予測し、購入数量を推奨してください。"get_weekly_plan: "今週のプランは何ですか?"execute_weekly_plan_action: "週次プランからアクション a-42 を実行してください。確認済みです。"get_opportunities: "提案された機会の上位 3 件を 表示してください。"explain_opportunity: "機会 opp-17 がなぜ良いクロスセルなのですか?"triage_opportunity: "機会 opp-17 をアクティブ化してください。確認済みです。"get_drift_alerts: "いずれかのルールがドリフトしていますか?"explain_drift: "ドリフトアラート alert-7 のペアは なぜドリフトしたのですか?"get_forecast_alerts: "在庫切れのリスクがあるバンドルはどれですか?"mine_hui_itemsets: "この 90 日間の注文ペイロードから 上位 20 件の高ユーティリティアイテムセットをマイニングしてください。" (Plus / Enterprise ティア)
ツール別の説明ドキュメントは cookbook にあります。
環境変数
変数 | 必須 | デフォルト | 備考 |
| 必須 | -- | 管理画面の |
| 任意 |
| ストアごとのベース URL。BigCommerce、セルフホスト、またはステージングバックエンドでは、サーバーがデータプレーンを指すようにこれを設定します。ローカル以外のホストでは |
| 任意 |
|
|
| 任意 | -- | オプトインのエラーテレメトリ(マーチャント側で制御) |
| 任意 | -- |
|
| 任意 | -- | 開発中に |
開発
git clone https://github.com/48x-ai/marketbasketanalysis-mcp
cd marketbasketanalysis-mcp
npm install
npm run typecheck
npm test
npm run dev # tsx-based local run
npm run build # emit ./dist新しいツールの追加
各ツールは src/tools/ 配下の自己完結型モジュールです。追加するには:
definitionとhandlerをエクスポートするsrc/tools/myNewTool.tsを作成します。単純な GET の場合はsrc/tools/getRecommendations.ts、confirm ゲート付き POST の場合はsrc/tools/triageOpportunity.tsの構造を参考にしてください。src/tools/index.tsで、モジュールをインポートしてallModules配列に追加することで登録します。src/tools/myNewTool.test.tsにテストを追加します。カバー内容: キー欠落時の応答、ハッピーパス、そして少なくとも 1 つの上流エラーパス。src/tools/findSubstitutes.test.tsを参考にしてください。上記の表と
dist/mcp/smithery.yamlにドキュメントを記載します。
配布物
モノレポルートの dist/mcp/ ディレクトリには、インストールサンプル(Claude Desktop、Cursor、Windsurf)、Smithery YAML、Anthropic マーケットプレイス提出用コンテンツが含まれています。完全なレイアウトは dist/mcp/README.md を参照してください。
公開
package.json のバージョンを引き上げ(server.json と src/index.ts の同期を維持)、main にマージしてから、mcp-v タグを付けてプッシュします。ワークフローは型チェック、テスト、ビルド、タグ/バージョンの一致チェックを実行し、その後 NPM_TOKEN リポジトリシークレットを使用して npm publish --access public --provenance を実行します。レスキュー実行用に workflow_dispatch の手動トリガーも利用できます。
一度だけ必要な NPM_TOKEN の設定や、CI を使わない手動公開のフォールバックを含む、完全なオペレーター向けチェックリストは docs/RELEASE.md にあります。
トラブルシューティング
症状 | 原因 / 対処 |
サーバーがツールドロワーに表示されない | JSON のタイポ、または |
"Error: MBA_API_KEY environment variable not set" |
|
"MBA API 401" | キーが失効しているか誤り。新しいキーを発行してください。 |
"MBA API unreachable" | ネットワーク到達に失敗。 |
初回呼び出しでツールがタイムアウトする | 最初の |
"MBA API returned malformed response" | 上流バックエンドのドリフト。 |
| このツールはプラットフォームゲート付きです。 |
より詳細な診断については、dist/mcp/ 配下の IDE 別セットアップドキュメントを参照してください。
ライセンス
UNLICENSED、プロプライエタリ。
Available Tools
19 toolsanalyze_basketAInspect
Run market-basket analysis on a proposed basket / bundle to score its cohesion. Given 2+ products, returns a cohesion score 0..1 representing how strongly they bind together (their affinity) in the merchant's order data. Use this to vet a proposed bundle BEFORE recommending it, so agents can avoid suggesting bundles that look plausible but have no statistical signal. Also useful for 'is this a good bundle?', 'analyze this basket', or 'do these products go together?' questions.
Inputs: product_ids (required).
execute_weekly_plan_actionAInspect
Execute a specific action from the merchant's weekly plan (publish bundle, run mining job, archive rule, etc.). Idempotent by action_id, safe to retry. Use this AFTER the merchant has confirmed which action from get_weekly_plan they want to run; do not call preemptively. Merchant-ops surface: BigCommerce today; on other platforms merchants manage this from the admin, and the tool returns a clear not-available message.
Inputs: confirm (required), action_id (required).
explain_driftAInspect
Explain ONE drift alert: return its prior and current confidence (plus support, lift, and order sample count when the rule is still live) and a short plain-language narrative of how the pair moved versus the prior mining run. Use this when a merchant asks 'why did this pair drift?', 'explain this alert', or 'what changed for these two products?' after seeing it in get_drift_alerts. Different from get_drift_alerts: that lists the feed, this drills into a single alert_id with the change spelled out in a sentence. Handles a disappeared pair gracefully (only the prior confidence is available). BigCommerce only today.
Inputs: alert_id (required).
explain_opportunityAInspect
Explain ONE mined opportunity: return its support, confidence, lift, and order sample count plus a short plain-language narrative of why the pair is a good cross-sell. Use this when a merchant asks 'why is this a good cross-sell?', 'explain this opportunity', or 'why should I bundle these?' after seeing it in get_opportunities. Different from get_opportunities: that lists the ranked set, this drills into a single opportunity_id with the stats spelled out in a sentence. Different from get_rationale: rationale is a generic pair 'why', this is the specific mined opportunity's own numbers. BigCommerce only today.
Inputs: opportunity_id (required).
find_substitutesAInspect
For a given product, recommend the top substitute items that could REPLACE it (not complement it). Substitutes are the inverse of cross-sell: this answers 'what to buy instead', not 'what to buy with'. Use this when the user asks 'what's a substitute for X?', 'X is out of stock, what's a good alternative?', 'recommend a replacement for Y', 'find an equivalent product', or when a procurement agent needs to swap an unavailable SKU. Returns a ranked list with a similarity score and a reason (context_similar / category_match / vendor_match). Works for all five platforms: Shopify, BigCommerce, WooCommerce, Magento, and OroCommerce.
Inputs: product_id (required), limit.
forecast_bundleAInspect
For an inventory, purchasing, or merchant-ops agent: forecast weekly sales and recommend a buy quantity for a specific bundle over a configurable horizon. Uses additive Holt-Winters on the bundle's stored historical sales (demand forecasting). Use this when the agent asks 'how many of bundle X should I order?', 'what should I stock for the next N weeks?', 'what's the demand outlook for bundle Y?', or 'forecast the next 8 weeks for the camera bundle'.
Inputs: bundle_id (required), horizon_weeks.
get_bundle_for_cartAInspect
Given a list of products already in the cart, recommend products that frequently bundle with the cart to complete a high-confidence bundle. This is multi-item basket analysis for cart completion. Use when the user describes a multi-item cart and asks 'what else do I need?', 'what completes this set?', 'what's missing from this bundle?', 'recommend add-ons for this cart', or similar. Different from get_recommendations: this takes MULTIPLE products and returns items that pair with the cart as a whole, not single-item pairings.
Inputs: product_ids (required), limit.
get_drift_alertsAInspect
For a merchant-ops or analytics agent: list active drift alerts, the recommendation rules whose confidence has materially changed (weakened, strengthened, disappeared, emerged) versus the prior mining job. Use this when a merchant asks 'what's changed?', 'is my model still accurate?', 'are any rules drifting?', or wants to investigate a SKU swap / seasonal shift. Merchant-ops surface: BigCommerce today; on other platforms merchants manage this from the admin, and the tool returns a clear not-available message.
Inputs: limit, severity.
get_forecast_alertsAInspect
For an inventory or merchant-ops agent: list forecast-based alerts, the bundles with stockout risk, demand drop, demand spike, or an unreliable forecast curve. Use this when a merchant asks 'what's at risk of stockout?', 'which bundles are losing demand?', 'do I need to reorder anything?', or 'what should I restock?'. Pair with forecast_bundle to drill into a specific bundle. Merchant-ops surface: BigCommerce today; on other platforms merchants manage this from the admin, and the tool returns a clear not-available message.
Inputs: kind, limit, severity.
get_opportunitiesAInspect
List the merchant's ranked bundle / cross-sell opportunities mined from order history, with support / confidence / lift / revenue-weighted score. Use this when a merchant asks 'what are my top opportunities?', 'show me the best bundles I haven't published yet', or 'what should I prioritize?'. Pair with triage_opportunity to act on a specific one. Merchant-ops surface: BigCommerce today; on other platforms merchants manage this from the admin, and the tool returns a clear not-available message.
Inputs: limit, status.
get_rationaleAInspect
Fetch the one-sentence rationale for why product B is recommended alongside product A. Returns a short merchandiser-grade explanation ('these are commonly bought together by customers buying X') suitable for surfacing in a recommendation tile or chat reply. Use this after get_recommendations / get_bundle_for_cart when the agent or user asks 'why are these recommended together?' or 'explain this pairing'.
Inputs: product_id (required), related_product_id (required).
get_recommendationsAInspect
For a given product, recommend the top complementary, frequently-bought-together products customers also bought, based on mined order-history association rules. This is the single-product cross-sell tool. Use this when the user asks 'what goes with X?', 'what should I bundle with X?', 'what do customers also buy with X?', 'recommend products to cross-sell with X', or similar single-product co-purchase questions. Works for all five platforms: Shopify, BigCommerce, WooCommerce, Magento, and OroCommerce.
Inputs: product_id (required), limit.
get_weekly_planAInspect
Fetch the current weekly action plan for the merchant: a ranked list of typed actions (publish opportunity, retire stale bundle, reorder inventory, investigate drift, etc.) the merchant should take this week. Use this when a merchant asks 'what should I work on this week?', 'what's on my plate?', 'show me my weekly plan', or wants a summary of pending tasks before opening the admin. Merchant-ops surface: BigCommerce today; on other platforms merchants manage this from the admin, and the tool returns a clear not-available message.
Inputs: no named parameters.
mine_hui_itemsetsAInspect
Run high-utility itemset (HUI) mining on a caller-supplied payload of orders + per-line unit_profit. Returns top-K itemsets ranked by aggregate utility (sum of profit across all occurrences). Use this when an agent needs to evaluate which item combinations drive the most profit (not just frequency) for a specific time window or product subset. Plus or Enterprise tier required on the merchant account.
Inputs: orders (required), top_k, min_utility.
predict_reorderAInspect
For a sales-rep or inventory / account-management agent: predict when a B2B customer / account is due to reorder. Returns predicted next-order dates for every SKU the customer has ordered >=2 times, with confidence based on the regularity of their cadence (reorder prediction / replenishment forecasting). Bucketed into 'overdue' / 'due_soon' / 'on_track' / 'not_predictable'. Use this when the agent asks 'what's Acme Corp due to reorder?', 'when will customer X need more of Y?', 'show me stockout risks for my B2B accounts', or for proactive replenishment workflows. Works on the Shopify, BigCommerce, WooCommerce, and Magento backends. Not available on OroCommerce.
Inputs: customer_id (required), product_id.
propose_subscription_bundleAInspect
Propose a recurring subscription bundle for a customer based on their first-order items. Given 1-5 seed products the customer has bought, returns a recurring subscription bundle (3-6 items) of the seeds plus complementary products, with a predicted cadence (median days between reorders), a 0..1 confidence score, and a rough monthly_value when prices are known. Use this when a merchant agent asks 'what should they subscribe to?', 'build a monthly subscription bundle from this order', 'propose a subscription bundle', 'recommend a recurring replenishment bundle', or 'what's the right subscription frequency for this customer?'. If a customer_id is supplied the tool blends in the customer's per-SKU reorder cadence; without one it falls back to the seed catalog cohesion alone. Works for all five platforms: Shopify, BigCommerce, WooCommerce, Magento, and OroCommerce (the optional reorder-cadence blend needs a customer_id and is not available on OroCommerce).
Inputs: seed_product_ids (required), kit_size, customer_id, cadence_days.
score_cross_sellAInspect
Score the cross-sell strength (product affinity) between two specific products. Returns the confidence the merchant's real co-purchase data supports for the pair, or a clear 'no signal' result when there's no qualifying rule. Use this to validate a proposed pair before recommending it, or to answer 'is X a good cross-sell for Y?', 'how strong is the affinity between X and Y?', or 'how often are X and Y bought together?'.
Inputs: product_a (required), product_b (required).
score_return_riskAInspect
Predict return risk for a candidate bundle of 2-6 products. Returns the composite bundle return rate (max of items, since one returned item typically returns the whole bundle), each item's historical return rate, and a low/medium/high risk recommendation. Use this when the user asks 'will this bundle get returned?', 'predict return risk for these items', 'fashion bundle risk', 'is this set risky to ship together?', or when an agent is composing a bundle and wants to verify it won't tank the merchant's return KPIs. Backed by return-aware mining over the merchant's real order + refund history.
Inputs: product_ids (required), threshold.
triage_opportunityAInspect
Pause, activate, or archive a specific opportunity from get_opportunities. State-mutating; guarded by confirm=true. Use this after the merchant has explicitly picked an opportunity to act on. Pass action='activate' to publish a proposed rule, 'pause' to temporarily hide an active one, 'archive' to permanently retire it. Merchant-ops surface: BigCommerce today; on other platforms merchants manage this from the admin, and the tool returns a clear not-available message.
Inputs: action (required), confirm (required), opportunity_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Most tools are clearly differentiated by resource and action (single-product vs cart vs subscription, list vs explain vs act), and several descriptions explicitly call out differences from related tools. However, the cluster of explanation tools (get_rationale, explain_opportunity, explain_drift) and the several scoring/analysis tools (score_cross_sell, analyze_basket, score_return_risk) could still cause minor selection confusion from names alone.
All tool names follow snake_case verb_noun conventions and are mostly predictable (get_*, explain_*, score_*). There are minor inconsistencies: related recommendation tools use different verbs (get_recommendations, find_substitutes, propose_subscription_bundle, get_bundle_for_cart), and predict_reorder vs forecast_bundle split an otherwise uniform forecasting concept.
With 19 tools, the server sits in the 16-25 range, which feels heavy and exceeds the ideal well-scoped 3-15 band. The count is defensible given the broad domain coverage, but agents will need to navigate a large surface to find the right tool.
The tool surface covers a comprehensive market-basket workflow: recommending, substituting, scoring, explaining, mining, alerting, forecasting, and acting on opportunities. Minor gaps exist—such as no direct tool for managing custom rules beyond triage and no bulk scoring—but the core domain is well covered with no critical dead ends.
Maintenance
Related MCP Connectors
Connect AI to store orders, products and inventory with scoped access and human approvals.
The E-commerce Marketplace For Every AI Agent. A Governed Catalog Of 600M+ US Products.
Your Shopify, Stripe, WooCommerce, Odoo and more, live: read the data, act on it, run agents.
The E-commerce Marketplace For Every AI Agent. A Governed Catalog Of 600M+ US Products, Plus Four Agent Ready Capabilities Search, Price Comparison, Product-Vs-Product, And Detailed Q&A.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI agents to manage e-commerce operations across multiple platforms (Shopify, WooCommerce, Stripe, MercadoLibre) through a conversational interface.41MIT

dentro MCPofficial
AlicenseAqualityNot gradedmaintenanceProvides structured commerce data for AI agents, enabling real-time product searches and brand discovery across 22,000+ DTC brands without scraping or hallucination.538 npmMIT- FlicenseNot gradedqualityDmaintenanceEnables AI agents to browse product catalogs, search products with filters, and initiate checkouts, generating order summaries and checkout URLs.-
- AlicenseNot gradedqualityCmaintenanceEnables AI shopping agents to search products, check stock, apply promotions, manage cart sessions, and create cryptographically signed checkout sessions on e-commerce storefronts, while giving merchants analytics into agent intent and catalog demand gaps.MIT