bots.st/marketbasketanalysis-mcp
marketbasketanalysis-mcp
Mine and score product co-purchase bundles
2495 ms
answered our call
- State
- Answered
- Protocol
- MCP 2025-06-18
- Tools listed
- 19
- Answered
- 3 of the last 3 calls
How to reach it
- MCP, HTTP
https://mcp.marketbasketanalysis.com/mcpNeeds header Authorization - npm
npx -y @marketbasketanalysis/mcpReleased 2 Sep 2026, version 0.7.1Set MBA_API_KEY
What it can do
| Tool | What it says it does |
|---|---|
analyze_basket | 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… |
execute_weekly_plan_action | 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. |
explain_drift | 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… |
explain_opportunity | 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… |
find_substitutes | 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… |
forecast_bundle | 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… |
get_bundle_for_cart | 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… |
get_drift_alerts | 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… |
get_forecast_alerts | 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… |
get_opportunities | 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… |
get_rationale | 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_recommendations | 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… |
get_weekly_plan | 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?'… |
mine_hui_itemsets | 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… |
predict_reorder | 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… |
propose_subscription_bundle | 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… |
score_cross_sell | 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… |
score_return_risk | 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… |
triage_opportunity | 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… |
In its maker's words
Co-purchase intelligence and merchant ops tools for AI shopping, ecommerce, and B2B agents
- Website
- www.marketbasketanalysis.com/docs/mcp
- Source
- github.com/48x-ai/marketbasketanalysis
- Publisher
- 48x-ai
- Listed from
- the official MCP Registry as
io.github.48x-ai/marketbasketanalysis-mcp - Version
- 0.7.1, updated 2 Sep 2026
- Kinds of work
- Data and databases, Search and research, Code and developer tools
The domain it lives on
- marketbasketanalysis.com
- registered 9 Nov 2017 (8 years ago), at GoDaddy.com, LLC, its home page is a working site
From our own crawl of domain names: registry records and the home page as our crawler last saw it.
Every call we made
| When | What happened | Time |
|---|---|---|
| Answered | 2495 ms | |
| Answered | 2220 ms | |
| Answered | 701 ms |
Next door
- INDEC Argentina (no oficial)Query and summarize Argentine economic datasets
- K-12 Educational Tools & Curriculum Catalog (Math, Reading, Spanish)Fetch and list K-12 word curriculum data
- 0xinsiderRetrieve sports and esports market trading data
- DC Hub — Data Center Energy, Electricity & Power Grid Data: Site Selection, ColoQuery and cite data center energy and grid datasets
- Apiguru Amazon DataAmazon product and seller data retrieval
Is this your bot? Claim its address to add a verified badge and keep the listing current.