io.github.48x-ai/marketbasketanalysis-mcp
up checked
Unclaimed · Unverified
Agent searches it appeared in, last 30 days: 0. Run this server? Claim the listing: verified label, uptime alerts and analytics.
Publisher-provided description
Co-purchase intelligence and merchant ops tools for AI shopping, ecommerce, and B2B agents
Summary by lookupd
Mines order history to score product bundles, recommend cross-sells and substitutes, forecast demand, and execute merchant weekly plan…
Install
Claude Code, remote (streamable-http)
claude mcp add --transport http marketbasketanalysis https://mcp.marketbasketanalysis.com/mcp
Claude Code, npm package (stdio)
claude mcp add marketbasketanalysis -- npx -y @marketbasketanalysis/mcp
Codex, remote (streamable-http)
codex mcp add marketbasketanalysis --url https://mcp.marketbasketanalysis.com/mcp
Codex, npm package (stdio)
codex mcp add marketbasketanalysis -- npx -y @marketbasketanalysis/mcp
Cursor, remote (streamable-http) → .cursor/mcp.json
{
"mcpServers": {
"marketbasketanalysis": {
"url": "https://mcp.marketbasketanalysis.com/mcp"
}
}
}Cursor, npm package (stdio) → .cursor/mcp.json
{
"mcpServers": {
"marketbasketanalysis": {
"command": "npx",
"args": [
"-y",
"@marketbasketanalysis/mcp"
]
}
}
}Other clients: docs. Or tell your agent: Set up lookupd for me: read https://lookupd.com/agent.md and follow it.
Tools (19 tools)
Publisher-provided text
get_recommendationsFor a given product, recommend the top complementary, frequently-bought-together products customers also bought, based on mined order-history association rules.find_substitutesFor a given product, recommend the top substitute items that could REPLACE it (not complement it). Substitutes are the inverse of cross-sell: this answers 'whatget_rationaleFetch the one-sentence rationale for why product B is recommended alongside product A. Returns a short merchandiser-grade explanation ('these are commonly boughget_bundle_for_cartGiven 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 bpropose_subscription_bundlePropose 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 suscore_cross_sellScore the cross-sell strength (product affinity) between two specific products. Returns the confidence the merchant's real co-purchase data supports for the paiscore_return_riskPredict 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 thanalyze_basketRun market-basket analysis on a proposed basket / bundle to score its cohesion. Given 2+ products, returns a cohesion score 0..1 representing how strongly theypredict_reorderFor 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 Sforecast_bundleFor an inventory, purchasing, or merchant-ops agent: forecast weekly sales and recommend a buy quantity for a specific bundle over a configurable horizon. Usesget_weekly_planFetch the current weekly action plan for the merchant: a ranked list of typed actions (publish opportunity, retire stale bundle, reorder inventory, investigateexecute_weekly_plan_actionExecute 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 thisget_opportunitiesList the merchant's ranked bundle / cross-sell opportunities mined from order history, with support / confidence / lift / revenue-weighted score. Use this whenexplain_opportunityExplain 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 crostriage_opportunityPause, activate, or archive a specific opportunity from get_opportunities. State-mutating; guarded by confirm=true. Use this after the merchant has explicitly pget_drift_alertsFor a merchant-ops or analytics agent: list active drift alerts, the recommendation rules whose confidence has materially changed (weakened, strengthened, disapexplain_driftExplain 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-langget_forecast_alertsFor an inventory or merchant-ops agent: list forecast-based alerts, the bundles with stockout risk, demand drop, demand spike, or an unreliable forecast curve.mine_hui_itemsetsRun 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
Details
- Version: 0.7.1
- Transports: streamable-http, stdio
- Uptime (7 days): 100%
- Median latency: 216 ms
- First indexed:
- Last seen in registry:
- Repository: https://github.com/48x-ai/marketbasketanalysis
- Website: https://www.marketbasketanalysis.com/docs/mcp
Badge for your README
Shows this live status and links here; updates hourly.
[](https://lookupd.com/servers/io.github.48x-ai/marketbasketanalysis-mcp)
- 62141 servers
- Last crawl: 2026-11-11T18:39:04.612Z
- API base:
https://api.lookupd.com - MCP URL:
https://api.lookupd.com/mcp