marketbasketanalysis-mcp
Server Details
Co-purchase intelligence and merchant ops tools for AI shopping, ecommerce, and B2B agents
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Server Listing
- @marketbasketanalysis/mcp
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 6 tools
The set explicitly delineates boundaries: get_recommendations is single-product while get_bundle_for_cart is multi-item cart completion, and get_opportunities lists while explain_opportunity drills into one id. The only residual overlap is analyze_basket versus score_cross_sell, since a two-product basket is effectively a pair, but the descriptions distinguish '2+ products' from 'exactly two'.
All names are snake_case with a leading verb (analyze_, explain_, get_, score_) targeting a clear object, so the pattern is predictable. Minor deviation: three get_ tools with different semantics and one name (get_bundle_for_cart) breaking the simple verb_noun shape, but all remain readable.
Six tools is well-scoped for a market-basket analysis server and each earns its place: mining, explaining, single-product recommendation, cart completion, pair scoring, and basket scoring. Nothing is redundant or padding.
The read-only analysis lifecycle (mine -> explain -> recommend -> complete cart -> validate pair/basket) is covered with no dead ends. Gaps are minor but real: no product lookup/search to resolve names to ids, no way to act on an opportunity (publish/dismiss), and platform coverage is uneven since opportunity tools are BigCommerce-only.
Available Tools
6 toolsanalyze_basketARead-onlyIdempotentInspect
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).
explain_opportunityARead-onlyIdempotentInspect
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).
get_bundle_for_cartARead-onlyIdempotentInspect
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_opportunitiesARead-onlyIdempotentInspect
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?'. 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.
Inputs: limit, status.
get_recommendationsARead-onlyIdempotentInspect
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.
score_cross_sellARead-onlyIdempotentInspect
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).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
The E-commerce Marketplace For Every AI Agent. A Governed Catalog Of 600M+ US Products.
AI-agent product catalog: search, lookup & purchase routing over verified merchant data.
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.
Product discovery for AI agents: ranked products and bundles from the open merchant web.
Related MCP Servers
- AlicenseAqualityDmaintenanceKlarna-style product discovery for AI shopping agents. Makes product catalogs machine-readable so AI agents can search, compare, and purchase products programmatically.637 PyPIMIT
- 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

dentro MCPofficial
AlicenseAqualityDmaintenanceProvides structured commerce data for AI agents, enabling real-time product searches and brand discovery across 22,000+ DTC brands without scraping or hallucination.542 npmMIT- AlicenseNot gradedqualityCmaintenanceEnables AI agents to search products across Amazon and live Shopify storefronts, vet merchants, build carts, and obtain checkout URLs via a pay-per-call API with no API key or signup.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.