Skip to main content

marketbasketanalysis-mcp

io.github.48x-ai/marketbasketanalysis-mcpVersion 0.7.1

Co-purchase intelligence and merchant ops tools for AI shopping, ecommerce, and B2B agents

Status

Responds180 msAnswered our handshake without sign-in.

Registry data may be out of date

We could not refresh it, so this page shows the last copy.
Last checked
Nov 14, 2026, 14:34 UTC
Latency
180 ms
Remotes responding
1 of 1
Sign-in
API key
Hosting
Hosted outside the EU (detected)
Registry data as of
Nov 14, 2026, 22:14 UTC

Data from the official MCP Registry, checked by run.zero. How we check

Connect

Streamable HTTP
https://mcp.marketbasketanalysis.com/mcpResponds180 ms
No sign-in

Claude Code

claude mcp add --transport http marketbasketanalysis-mcp https://mcp.marketbasketanalysis.com/mcp --header 'Authorization: Bearer <YOUR_TOKEN>'

Replace <YOUR_TOKEN> before running.

Claude Desktop and claude.ai

Settings > Connectors > Add custom connector
Name: marketbasketanalysis-mcp
Remote MCP server URL: https://mcp.marketbasketanalysis.com/mcp
This server expects the header Authorization.

Cursor

{
  "mcpServers": {
    "marketbasketanalysis-mcp": {
      "url": "https://mcp.marketbasketanalysis.com/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

Replace <YOUR_TOKEN> before running.

VS Code

code --add-mcp '{"name":"marketbasketanalysis-mcp","type":"http","url":"https://mcp.marketbasketanalysis.com/mcp","headers":{"Authorization":"Bearer <YOUR_TOKEN>"}}'

Replace <YOUR_TOKEN> before running.

Streamable HTTP
npm: @marketbasketanalysis/mcp 0.7.1
Package only

npm (npx)

claude mcp add marketbasketanalysis-mcp -e 'MBA_API_KEY=<YOUR_MBA_API_KEY>' -- npx -y @marketbasketanalysis/mcp@0.7.1

Replace <YOUR_MBA_API_KEY> before running.

Built your own server? run.zero hosts MCP servers on European infrastructure.

Host your own MCP server on run.zero

Tools

6 tools

Tools of marketbasketanalysis-mcp
Read-only
Idempotent
Open world
analyze_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 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.NoYesYesNo
explain_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 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.NoYesYesNo
get_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 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.NoYesYesNo
get_opportunitiesList 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?'. Read-only. Pair with explain_opportunity for the evidence behind 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.NoYesYesNo
get_recommendationsFor 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.NoYesYesNo
score_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 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?'.NoYesYesNo

Details

Registry status
Active
Published
Sep 2, 2026
Updated
Sep 2, 2026
Categories (suggested)
E-commerceSuggested categories are assigned automatically from the registry text and may be wrong. Verified operators can correct them.
GDPR
Not declared

Are you the operator? Claim this listing