Skip to main content
ClaudeWave

MCP server for Attribloom: read-only affiliate attribution and commission data for iOS (StoreKit 2) and Shopify, for Claude Code, Cursor and other MCP clients

MCP ServersOfficial Registry0 stars0 forksTypeScriptMITUpdated today
Install in Claude Code / Claude Desktop
Method: NPX · @attribloom/mcp
Claude Code CLI
claude mcp add attribloom-mcp -- npx -y @attribloom/mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "attribloom-mcp": {
      "command": "npx",
      "args": ["-y", "@attribloom/mcp"],
      "env": {
        "ATTRIBLOOM_API_KEY": "<attribloom_api_key>"
      }
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Detected environment variables
ATTRIBLOOM_API_KEY
Use cases

MCP Servers overview

# @attribloom/mcp

[![npm](https://img.shields.io/npm/v/@attribloom/mcp)](https://www.npmjs.com/package/@attribloom/mcp)
[![license](https://img.shields.io/npm/l/@attribloom/mcp)](./LICENSE)

Model Context Protocol server for [Attribloom](https://attribloom.com). It lets Claude Code, Claude Desktop, Cursor, and any other MCP client read your tenant's affiliate data and get integration guidance, using a tenant API key.

Attribloom is affiliate attribution and commission tracking for iOS apps (StoreKit 2 and App Store Server Notifications v2) and Shopify stores. Two of the seven tools need no key at all, so an agent can learn how to integrate before you have an account.

## Install

### Claude Code

```bash
claude mcp add attribloom --env ATTRIBLOOM_API_KEY=eak_live_... -- npx -y @attribloom/mcp
```

### Claude Desktop / any client using `mcpServers` JSON

```json
{
  "mcpServers": {
    "attribloom": {
      "command": "npx",
      "args": ["-y", "@attribloom/mcp"],
      "env": {
        "ATTRIBLOOM_API_KEY": "eak_live_..."
      }
    }
  }
}
```

### Cursor

Settings, then MCP, then Add new server:

- **Name:** `attribloom`
- **Type:** `command`
- **Command:** `env ATTRIBLOOM_API_KEY=eak_live_... npx -y @attribloom/mcp`

### HTTP transport (self-hosted)

```bash
ATTRIBLOOM_API_KEY=eak_live_... npx -y @attribloom/mcp --http
```

Serves Streamable HTTP at `http://127.0.0.1:3000/mcp`. Set `PORT` and `HOST` to override.

Get a key from the Attribloom dashboard: Settings, then API keys. Keys are shown once and are scoped read-only.

## Tools

| Tool | Scope required | Description |
| --- | --- | --- |
| `get_started_guidance` | none | Public onboarding steps |
| `connect_store_guidance` | none | How to connect Shopify or an iOS app |
| `whoami` | any key | Verify the key and show tenant plus scopes |
| `list_campaigns` | `read:campaigns` | List campaigns and commission rules |
| `campaign_readout` | `read:conversions` + `read:commissions` | Conversions and matured commission summary |
| `list_payouts` | `read:payouts` | List payouts |
| `payout_eligibility` | `read:payouts` | Per-affiliate available balance vs threshold |

Money mutations (approving an affiliate, creating a campaign, approving a payout) stay in the Attribloom dashboard and are intentionally not exposed here. This server is read-only by design.

Every figure returned comes from the real ledger. There are no estimated or projected numbers.

## Environment variables

| Variable | Required | Default | Description |
| --- | --- | --- | --- |
| `ATTRIBLOOM_API_KEY` | for data tools | none | Tenant API key from Dashboard, Settings, API keys |
| `ATTRIBLOOM_BASE_URL` | no | `https://api.attribloom.com` | Management API base URL |
| `PORT` | no | `3000` | HTTP transport port |
| `HOST` | no | `127.0.0.1` | HTTP transport host |

Without a key the server still starts and the two guidance tools work. The data tools return a clear "API key required" message rather than failing silently.

## Scope table

| Scope | Tools |
| --- | --- |
| `read:campaigns` | `list_campaigns` |
| `read:conversions` | `campaign_readout` |
| `read:commissions` | `campaign_readout` |
| `read:payouts` | `list_payouts`, `payout_eligibility` |

## Example session

```text
User: connect my Attribloom account
whoami: Tenant: Acme Corp (tenant-123), scopes: read:campaigns, read:conversions, read:commissions, read:payouts

User: what campaigns do I have?
list_campaigns: Summer Launch, Web Purchase funnel

User: how is it performing?
campaign_readout: 42 conversions, $1,240 USD matured commission

User: who can be paid out?
payout_eligibility: 3 affiliates above threshold
```

## CLI

```bash
attribloom-mcp             # stdio transport (default; what MCP clients spawn)
attribloom-mcp --http      # Streamable HTTP transport
attribloom-mcp --version
attribloom-mcp --help
```

## Development

```bash
npm install
npm run build
npm test
```

## Related

- [AttribloomKit](https://github.com/attribloom/AttribloomKit): the Swift package for StoreKit 2 attribution in iOS apps
- [attribloom-examples](https://github.com/new-usemame/attribloom-examples): signed postback, Shopify ref preservation, and StoreKit bind examples
- [Agent onboarding guide](https://attribloom.com/agents/ios-affiliate-attribution): zero-auth integration steps written for coding agents
- [OpenAPI spec](https://api.attribloom.com/openapi.json)

## License

MIT
affiliate-marketingattributionclaudeiosmcpmcp-servermodel-context-protocolshopifystorekit2typescript

What people ask about attribloom-mcp

What is attribloom/attribloom-mcp?

+

attribloom/attribloom-mcp is mcp servers for the Claude AI ecosystem. MCP server for Attribloom: read-only affiliate attribution and commission data for iOS (StoreKit 2) and Shopify, for Claude Code, Cursor and other MCP clients It has 0 GitHub stars and was last updated today.

How do I install attribloom-mcp?

+

You can install attribloom-mcp by cloning the repository (https://github.com/attribloom/attribloom-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is attribloom/attribloom-mcp safe to use?

+

attribloom/attribloom-mcp has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.

Who maintains attribloom/attribloom-mcp?

+

attribloom/attribloom-mcp is maintained by attribloom. The last recorded GitHub activity is from today, with 0 open issues.

Are there alternatives to attribloom-mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy attribloom-mcp to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: attribloom/attribloom-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/attribloom-attribloom-mcp)](https://claudewave.com/repo/attribloom-attribloom-mcp)
<a href="https://claudewave.com/repo/attribloom-attribloom-mcp"><img src="https://claudewave.com/api/badge/attribloom-attribloom-mcp" alt="Featured on ClaudeWave: attribloom/attribloom-mcp" width="320" height="64" /></a>

More MCP Servers

attribloom-mcp alternatives