Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Follow AllMCPs on X (opens in a new tab)AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ›’ E-Commerce
  3. Marketbasketanalysis MCP
M
Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.

Marketbasketanalysis MCP

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View RepositoryVisit Website

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

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "marketbasketanalysis-mcp-2": {
      "command": "npx",
      "args": [
        "-y",
        "marketbasketanalysis-mcp-2"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ›’ More in E-Commerce

Documentation Overview

@marketbasketanalysis/mcp

npm version License MCP

An MCP server that gives any AI agent access to real co-purchase intelligence and merchant ops tooling from an ecommerce merchant's order history. 19 tools across discovery, bundle, insight, replenishment, merchant ops, and advanced mining. Works with Claude Desktop, Claude Code, Cursor, Windsurf, Cline, the OpenAI Agent SDK, and any other host that speaks the MCP stdio protocol. Works for merchants on Shopify, BigCommerce, WooCommerce, Magento, and OroCommerce. See "Platform coverage" below for which tools reach the self-hosted backends.

One npm package serves every marketplace. The server is platform agnostic, it is an HTTP client that calls a store's MBA backend over the public REST API. You re-point the whole server at any store with a single switch (MBA_API_BASE, see below). Most tools work on all five platforms; a handful depend on a backend route that not every platform ships yet. Per-tool marketplace coverage is the Tool catalog "Marketplace" column.

Why this exists

When a customer asks an AI shopping agent "what goes with the gym backpack?" the agent should give a real answer based on the merchant's actual order data, not a generic "you might also like" guess. When a merchant asks Claude "what should I work on this week?" the agent should pull from a ranked weekly plan, not invent tasks. This server makes both of those flows available to any MCP host in one line of config.

5-line install (Claude Desktop)

config.json
{
  "mcpServers": {
    "marketbasketanalysis": {
      "command": "npx",
      "args": ["-y", "@marketbasketanalysis/mcp"],
      "env": { "MBA_API_KEY": "mba_live_YOUR_KEY_HERE" }
    }
  }
}

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS), restart Claude Desktop, the marketbasketanalysis server appears in the tools list with all 19 tools.

Zero-install: the hosted endpoint

The same server runs hosted at https://mcp.marketbasketanalysis.com/mcp (MCP streamable HTTP). Nothing to install; send your key as a bearer header instead of an env var:

Terminal
claude mcp add --transport http marketbasketanalysis \
  https://mcp.marketbasketanalysis.com/mcp \
  --header "Authorization: Bearer mba_live_YOUR_KEY_HERE"

Works with any remote-capable MCP client (Claude Code, Cursor, Smithery, custom agents). Optional headers: X-MBA-Base re-points at another MBA-operated plane (for example https://bigcommerce.marketbasketanalysis.com); X-MBA-Platform mirrors the MBA_PLATFORM env var. Self-hosted WooCommerce and Magento stores are not reachable from the hosted endpoint by design, use the npx install above with MBA_API_BASE pointed at your own site.

Point the server at your store (MBA_API_BASE)

The base URL is per-store configuration. By default the server talks to the shared hosted backend at https://app.marketbasketanalysis.com. If your data lives anywhere else, a BigCommerce store, a self-hosted backend, or a staging instance, set MBA_API_BASE so every tool reaches your own data plane:

config.json
{
  "mcpServers": {
    "marketbasketanalysis": {
      "command": "npx",
      "args": ["-y", "@marketbasketanalysis/mcp"],
      "env": {
        "MBA_API_KEY": "mba_live_YOUR_KEY_HERE",
        "MBA_API_BASE": "https://your-store-backend.example.com"
      }
    }
  }
}

MBA_API_BASE is the single switch that re-points the whole server; all 19 tools route through it. The value must be an https:// URL for non-local hosts (loopback, private, link-local, and metadata-service hosts are refused). For local development against a backend on localhost, set ALLOW_LOCAL_API_BASE=1 to allow an http://localhost base. Env-var changes take effect at server startup, so restart your MCP host after editing the value.

MBA_API_BASE per platform

The base URL is per-store configuration. Shopify, BigCommerce, and OroCommerce stores are served by the shared hosted backend, so they use the default. WooCommerce and Magento run the backend locally inside the store install, so point the server at the store's own domain:

PlatformMBA_API_BASE
Shopifyunset (hosted default https://app.marketbasketanalysis.com)
BigCommerceunset (hosted default)
OroCommerceunset (thin hosted client, same hosted backend)
WooCommercehttps://your-store.example.com (WordPress site URL). Its routes live under marketbasketanalysis/v1; the server maps paths automatically. See "Platform coverage" for which tools apply.
Magentohttps://your-magento.example.com (the /rest base). Its routes live under V1/marketbasketanalysis; the server maps paths automatically. See "Platform coverage" for which tools apply.

Platform coverage

The server writes canonical /api/v1/... paths and rewrites them per platform, because WooCommerce and Magento run the backend inside the store on their own REST conventions (marketbasketanalysis/v1 and V1/marketbasketanalysis respectively).

10 of the 19 tools reach WooCommerce and Magento: the six that derive from /recommendations (get_recommendations, get_bundle_for_cart, score_cross_sell, analyze_basket, propose_subscription_bundle, score_return_risk), plus find_substitutes, get_rationale, forecast_bundle, and predict_reorder.

The other 9 are the merchant-ops surface: get_opportunities, triage_opportunity, get_weekly_plan, execute_weekly_plan_action, get_drift_alerts, get_forecast_alerts, explain_opportunity, explain_drift, and mine_hui_itemsets. Those endpoints do not exist on the self-hosted backends. Calling one there returns a clear "not available on this platform" error naming the endpoint, with no network round trip, rather than an opaque 404.

For step-by-step install (config file location per OS, where to mint an API key, troubleshooting):

  • Claude Desktop: dist/mcp/claude-desktop-setup.md
  • Cursor: dist/mcp/cursor-setup.md
  • Windsurf: dist/mcp/windsurf-setup.md

Authentication

The server reads MBA_API_KEY from the environment your MCP host passes in and sends it as a Bearer token on every request. To get a key:

  1. Open the MarketBasketAnalysis admin (Shopify app drawer, or BigCommerce / WooCommerce / Magento / OroCommerce admin).
  2. Click "API keys" in the left nav.
  3. Click "Create key", name it, and copy the mba_live_ value (it is shown once).

Keys are per-shop, revocable, and rotated from the same screen. Only the SHA-256 hash is stored, so re-mint if a key leaks.

Auth model differs per marketplace, the MCP server abstracts it, but worth knowing:

  • Shopify, BigCommerce: Bearer mba_live_... straight through. This is the common path.
  • WooCommerce: Bearer against a Woo-minted key, which must carry the customer_data scope for predict_reorder.
  • Magento: tools reach the store over the Magento REST surface (/V1/marketbasketanalysis/* and /V1/mba/*); some routes are admin-token / ACL scoped on the store side.
  • OroCommerce: the store sits behind the platform OAuth2 firewall for /api/ routes; the hosted backend the thin client proxies to is what the MCP server actually calls, so the mba_live_ key still applies.

Tool catalog

19 tools, organized into the four Basket AI agent roles plus two operational groups. The Marketplace column states which backends ship the route the tool calls, which is not the same as which backends this server can currently REACH: see "Platform coverage" above. "All five" means Shopify, BigCommerce, WooCommerce, Magento, OroCommerce.

Discovery

ToolDescriptionRequired paramsMarketplace
get_recommendationsComplementary products for a single product.product_idAll five
find_substitutesReplacement options when a product is unavailable.product_idAll five
get_rationaleOne-sentence "why" for a recommendation pair.product_id, related_product_idAll five

Bundle

These derive everything from /recommendations (the server composes the bundle/scoring logic client-side), so they need no extra backend route and work everywhere.

ToolDescriptionRequired paramsMarketplace
get_bundle_for_cartMissing kit components for a multi-item cart.product_idsAll five
propose_subscription_bundleRecurring subscription kit proposal.seed_product_idsAll five

Insight

Also /recommendations-derived, so universal.

ToolDescriptionRequired paramsMarketplace
score_cross_sellStrength verdict for a (a, b) pair.product_a, product_bAll five
score_return_riskBundle return-risk score.product_idsAll five
analyze_basketCohesion score for a proposed bundle.product_idsAll five

Replenishment + forecasting

ToolDescriptionRequired paramsMarketplace
predict_reorderB2B reorder cadence per customer / SKU.customer_idShopify, BigCommerce, WooCommerce, Magento. Hidden when MBA_PLATFORM=orocommerce.
forecast_bundleWeekly Holt-Winters forecast + buy quantity.bundle_idShopify, BigCommerce, Magento (/forecast/bundle-inventory). Not on OroCommerce.

Merchant ops

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in E-Commerce View all alternatives
  • BuyWhere MCP Server logoBuyWhere MCP Server

    Agent-native product catalog for AI shopping agents. 296M+ products, 28 countries.

    πŸ›’ E-Commerce1 views
    Compare vs BuyWhere MCP Server β†’
  • Kapruka MCP logoKapruka MCP

    Free public MCP server for Kapruka.com β€” Sri Lanka's largest e-commerce platform.

    πŸ›’ E-Commerce1 views
    Compare vs Kapruka MCP β†’
  • Patchistry MCP Server logoPatchistry MCP Server

    Official MCP server for Patchistry, the first DTC fashion brand listed in the official MCP Registry. AI agent commerce tools for the velcro-patch hat system: listcanvases, listpatches, recommendbuild, getshipping, and contact. Helps ChatGPT, Claude, Cursor, and Perplexity recommend complete hat + patch builds when shoppers ask about custom hats, bachelorette gifts, dad gifts, or 4th of July drops. Install via npx -y patchistry-mcp-server.

    πŸ›’ E-Commerce1 views
    Compare vs Patchistry MCP Server β†’
  • Goodbarber Public MCP logoGoodbarber Public MCP

    Manage your GoodBarber eCommerce, Community, and Membership app via natural language.

    πŸ›’ E-Commerce1 views
    Compare vs Goodbarber Public MCP β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Marketbasketanalysis MCP

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "marketbasketanalysis-mcp": { "command": "npx", "args": ["-y", "marketbasketanalysis-mcp"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMarketbasketanalysis MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/marketbasketanalysis-mcp-2?style=directory)](https://allmcps.com/mcp/marketbasketanalysis-mcp-2)
HTML Embed
<a href="https://allmcps.com/mcp/marketbasketanalysis-mcp-2"><img src="https://allmcps.com/api/badge/marketbasketanalysis-mcp-2?style=directory" alt="Marketbasketanalysis MCP on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ›’E-Commerce
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ›’ E-Commerce β†’Best MCP servers for E-Commerce β†’Alternatives to Marketbasketanalysis MCP β†’Install in Claude DesktopInstall in CursorInstall in VS Code