{
  "schemaVersion": "0.1",
  "name": "MarketBasketAnalysis",
  "description": "Per-merchant co-purchase mining + bundle intelligence. Basket AI: four named agents (Discovery, Bundle, Insight, Replenishment) over 19 typed MCP tools, 18 on OroCommerce (headline tools listed below: recommendations, substitutions, basket cohesion, cross-sell scoring, reorder prediction, subscription bundling, quote-bundle proposals). First-party by design: mining runs on the merchant's store; no cross-merchant pooling.",
  "homepage": "https://www.marketbasketanalysis.com",
  "documentation": "https://www.marketbasketanalysis.com/docs",
  "icon": "https://www.marketbasketanalysis.com/favicon.svg",
  "publisher": {
    "name": "48x.ai",
    "url": "https://48x.ai",
    "product": "https://www.marketbasketanalysis.com",
    "support": "mailto:support@marketbasketanalysis.com"
  },
  "mcp": {
    "package": "@marketbasketanalysis/mcp",
    "registry": "https://www.npmjs.com/package/@marketbasketanalysis/mcp",
    "source": "https://github.com/48x-ai/marketbasketanalysis-mcp",
    "command": "npx",
    "args": ["-y", "@marketbasketanalysis/mcp"],
    "envRequired": ["MBA_API_KEY"],
    "envOptional": ["MBA_API_BASE", "MBA_PLATFORM", "MBA_SENTRY_DSN"],
    "transport": "stdio",
    "agents": [
      {
        "name": "Discovery Agent",
        "description": "Surfaces what customers buy together and what they buy instead.",
        "tools": ["get_recommendations", "find_substitutes"]
      },
      {
        "name": "Bundle Agent",
        "description": "Proposes complete kits from a partial cart or RFQ. Covers consumer pre-checkout upsell and B2B requisition flows.",
        "tools": ["get_bundle_for_cart", "propose_quote_bundle"]
      },
      {
        "name": "Insight Agent",
        "description": "Scores and audits proposed bundles before they ship. Returns lift, confidence, and cohesion for any candidate basket.",
        "tools": ["score_cross_sell", "analyze_basket"]
      },
      {
        "name": "Replenishment Agent",
        "description": "Predicts reorder cadence and proposes subscription kits tuned to the predicted refresh schedule.",
        "tools": ["predict_reorder", "propose_subscription_bundle"]
      }
    ],
    "tools": [
      {
        "name": "get_recommendations",
        "description": "Top-k cross-sell products for a given product, from mined co-purchase rules.",
        "agent": "Discovery Agent"
      },
      {
        "name": "find_substitutes",
        "description": "Top-k items that could replace a given product when it is unavailable.",
        "agent": "Discovery Agent"
      },
      {
        "name": "get_bundle_for_cart",
        "description": "Propose a bundle to add to the products already in cart.",
        "agent": "Bundle Agent"
      },
      {
        "name": "propose_quote_bundle",
        "description": "Given seed products in an RFQ or requisition, returns a complete bundle proposal with cohesion score.",
        "agent": "Bundle Agent"
      },
      {
        "name": "score_cross_sell",
        "description": "Return confidence and lift for a specific (antecedent, consequent) pair.",
        "agent": "Insight Agent"
      },
      {
        "name": "analyze_basket",
        "description": "Cohesion score for a proposed basket. Returns coverage and average pairwise confidence.",
        "agent": "Insight Agent"
      },
      {
        "name": "predict_reorder",
        "description": "Given a customer ID, returns predicted next-purchase dates per product. Available on every platform except OroCommerce, where it is hidden.",
        "agent": "Replenishment Agent"
      },
      {
        "name": "propose_subscription_bundle",
        "description": "Given a customer's first-order items, propose a recurring subscription kit tuned to their predicted reorder cadence.",
        "agent": "Replenishment Agent"
      }
    ]
  },
  "rest": {
    "baseUrl": "https://app.marketbasketanalysis.com",
    "auth": "bearer",
    "endpoints": [
      "GET /api/v1/recommendations?product_id=X&limit=N",
      "GET /api/v1/substitutions?product_id=X&limit=N"
    ]
  },
  "platforms": [
    {
      "name": "Shopify",
      "url": "https://www.marketbasketanalysis.com/platforms/shopify"
    },
    {
      "name": "Magento",
      "url": "https://www.marketbasketanalysis.com/platforms/magento"
    },
    {
      "name": "Adobe Commerce",
      "url": "https://www.marketbasketanalysis.com/platforms/magento"
    },
    {
      "name": "WooCommerce",
      "url": "https://www.marketbasketanalysis.com/platforms/woocommerce"
    },
    {
      "name": "OroCommerce",
      "url": "https://www.marketbasketanalysis.com/platforms/orocommerce",
      "status": "coming-soon"
    }
  ],
  "discovery": {
    "llmsTxt": "https://www.marketbasketanalysis.com/llms.txt",
    "sitemap": "https://www.marketbasketanalysis.com/sitemap.xml",
    "robotsTxt": "https://www.marketbasketanalysis.com/robots.txt"
  },
  "license": "Proprietary; MCP server is MIT-licensed.",
  "lastModified": "2026-09-11"
}
