io.github.48x-ai/marketbasketanalysis-mcp
Co-purchase intelligence and merchant ops tools for AI shopping, ecommerce, and B2B agents
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/48x-ai/marketbasketanalysis
- Website
- www.marketbasketanalysis.com/docs/mcp
- Server address
https://mcp.marketbasketanalysis.com/mcp(streamable-http)- Version
- 0.7.1
- Author
- 48x-ai (namespace verified by the registry)
- Source
- Official MCP registry (updated Sep 2, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
The server requires a header: Authorization, X-MBA-Base, X-MBA-Platform. Replace YOUR_KEY with your key.
Variables to fill in: MBA_API_KEY, MBA_API_BASE, MBA_PLATFORM.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http marketbasketanalysis-mcp https://mcp.marketbasketanalysis.com/mcp \
--header "Authorization: Bearer YOUR_KEY" \
--header "X-MBA-Base: YOUR_KEY" \
--header "X-MBA-Platform: YOUR_KEY"Claude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://mcp.marketbasketanalysis.com/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://mcp.marketbasketanalysis.com/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"marketbasketanalysis-mcp": {
"url": "https://mcp.marketbasketanalysis.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY",
"X-MBA-Base": "YOUR_KEY",
"X-MBA-Platform": "YOUR_KEY"
}
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"marketbasketanalysis-mcp": {
"type": "http",
"url": "https://mcp.marketbasketanalysis.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY",
"X-MBA-Base": "YOUR_KEY",
"X-MBA-Platform": "YOUR_KEY"
}
}
}
}On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add marketbasketanalysis-mcp -e MBA_API_KEY=YOUR_MBA_API_KEY -e MBA_API_BASE=YOUR_MBA_API_BASE -e MBA_PLATFORM=YOUR_MBA_PLATFORM -- npx -y @marketbasketanalysis/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"marketbasketanalysis-mcp": {
"command": "npx",
"args": [
"-y",
"@marketbasketanalysis/[email protected]"
],
"env": {
"MBA_API_KEY": "YOUR_MBA_API_KEY",
"MBA_API_BASE": "YOUR_MBA_API_BASE",
"MBA_PLATFORM": "YOUR_MBA_PLATFORM"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"marketbasketanalysis-mcp": {
"command": "npx",
"args": [
"-y",
"@marketbasketanalysis/[email protected]"
],
"env": {
"MBA_API_KEY": "YOUR_MBA_API_KEY",
"MBA_API_BASE": "YOUR_MBA_API_BASE",
"MBA_PLATFORM": "YOUR_MBA_PLATFORM"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"marketbasketanalysis-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@marketbasketanalysis/[email protected]"
],
"env": {
"MBA_API_KEY": "YOUR_MBA_API_KEY",
"MBA_API_BASE": "YOUR_MBA_API_BASE",
"MBA_PLATFORM": "YOUR_MBA_PLATFORM"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 09:29 (test run by L’Atlas)
- Response time
- 1,013 ms (whole test)
- Tools found
- 6
- Announced name
- marketbasketanalysis 0.8.0
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (6)
get_recommendations
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 gget_bundle_for_cart
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 carscore_cross_sell
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 vaanalyze_basket
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 pget_opportunities
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 haexplain_opportunity
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
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
io.github.48x-ai/marketbasketanalysis-mcp · L’Agora · Tested on
[io.github.48x-ai/marketbasketanalysis-mcp — L’Agora](https://lagora.dev/en/entry/io.github.48x-ai/marketbasketanalysis-mcp)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.48x-ai/marketbasketanalysis-mcp)HTML
<a href="https://lagora.dev/en/entry/io.github.48x-ai/marketbasketanalysis-mcp"><img src="https://lagora.dev/badge/io.github.48x-ai/marketbasketanalysis-mcp.svg?lang=en" alt="io.github.48x-ai/marketbasketanalysis-mcp on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.