# Affiliate Networks MCP

Ask your agent about affiliate earnings and it pulls the numbers from the networks' APIs. Works for publishers, and for brands and agencies.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 7
- Author: bobberrisford
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/bobberrisford/affiliatemcp
- Updated: 2026-08-11
- HTML: https://affpapa.org/en/nevibecode/mcp/affiliate-networks-mcp

## What it does

This server plugs affiliate networks into your coding agent. A publisher can ask what came in across every network last month, or which transactions are still pending. A brand or agency can ask for revenue by client and for anything that looks off. The agent picks the networks to query and fetches the figures from their APIs at the moment you ask.

There are 72 networks and 86 adapters inside, but most adapters are experimental and community-built. So check any number headed for a report against the network's own dashboard. You need Node.js 20 or newer. The `npx affiliate-networks-mcp setup` wizard goes through networks one at a time, asks whether you are a publisher or a brand, and tests each key against the live network.

Credentials stay on your machine in `~/.affiliate-mcp/.env`. For brand work, the wizard saves your client nicknames to `~/.affiliate-mcp/brands.json`. Result caching is off by default and switches on with `AFFILIATE_MCP_CACHE=on`; current periods still go live.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://mcp.agenticaffiliate.ai/mcp`

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http affiliate-networks-mcp https://mcp.agenticaffiliate.ai/mcp
```

2. **Platform CLI**
```bash
claude mcp add affiliate-networks-mcp -- npx -y affiliate-networks-mcp
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add affiliate-networks-mcp --url https://mcp.agenticaffiliate.ai/mcp
```

2. **Platform CLI**
```bash
codex mcp add affiliate-networks-mcp -- npx -y affiliate-networks-mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "affiliate-networks-mcp": {
            "url": "https://mcp.agenticaffiliate.ai/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "affiliate-networks-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "affiliate-networks-mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "affiliate-networks-mcp": {
            "type": "http",
            "url": "https://mcp.agenticaffiliate.ai/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "affiliate-networks-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "affiliate-networks-mcp"
            ]
        }
    }
}
```

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http affiliate-networks-mcp https://mcp.agenticaffiliate.ai/mcp
```

2. **Platform CLI**
```bash
gemini mcp add affiliate-networks-mcp npx -y affiliate-networks-mcp
```

## When to use it
- total earnings across all affiliate networks for last month
- find transactions stuck in pending status
- compare income month on month
- roll up revenue for every agency client this week
- spot anomalies in a brand's affiliate programme data

## Example prompts
- Use affiliate-networks-mcp to list which affiliate networks you can reach
- Use affiliate-networks-mcp to add up my earnings across every network last month
- Use affiliate-networks-mcp to check the Acme programme for anomalies this quarter

## Similar
- [labelhead-artist-momentum](https://affpapa.org/en/nevibecode/mcp/labelhead-artist-momentum.md) — MCP server · ★ 107423
- [openshorts](https://affpapa.org/en/nevibecode/mcp/openshorts.md) — MCP server · ★ 7049
- [OpenScreen](https://affpapa.org/en/nevibecode/mcp/openscreen.md) — MCP server · ★ 4863
- [Usertour MCP Server](https://affpapa.org/en/nevibecode/mcp/usertour-mcp-server.md) — MCP server · ★ 2326
- [Appllama](https://affpapa.org/en/nevibecode/mcp/appllama.md) — MCP server · ★ 3046
- [obsei](https://affpapa.org/en/nevibecode/mcp/obsei.md) — MCP server · ★ 1441

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
