CBAPI.dev MCP Server
Enables AI agents to search products across affiliate networks, compare commissions, find arbitrage opportunities, and get auto-injected affiliate links via MCP.
README
CBAPI.dev MCP Server
Give your AI agent the ability to discover products, compare commissions, and earn affiliate revenue — all through MCP.
MCP server for CBAPI.dev — the free, agent-first affiliate commerce API. 55+ AI agents already use it. Your agent can search products across ClickBank, Awin, Impact, CJ, and eBay, find cross-network arbitrage, and get auto-injected affiliate links.
Why cbapi?
| Feature | What it means for your agent |
|---|---|
| 9 tools | Product search, network comparison, arbitrage, agent directory, trending |
| Auto affiliate links | Every product comes with primary_affiliate_url — ready to use, no extra call |
| Free tier | get_trending works without API key — try before signing up |
| Cross-network | Compare ClickBank vs Awin vs Impact commissions in one call |
| Agent directory | List your agent alongside 55+ others. Get a verified badge. |
Installation
pip install cbapi-mcp
Quick Start
# Get a free API key at https://cbapi.dev
export CBAPI_API_KEY=sk_yourkey
# Run the server
cbapi-mcp
Or try the no-auth hook first:
# Works without any key — see what's trending
curl https://cbapi.dev/v1/trending
Claude Desktop Setup
Add to your claude_desktop_config.json:
{
"mcpServers": {
"cbapi": {
"command": "python",
"args": ["-m", "cbapi_mcp"],
"env": {
"CBAPI_API_KEY": "sk_yourkey"
}
}
}
}
Hermes Agent Setup
hermes mcp add cbapi --command python --args "-m cbapi_mcp" --env CBAPI_API_KEY=sk_yourkey
Tools
| Tool | Auth | Description |
|---|---|---|
search_products |
Key | Search ClickBank by keyword, category, gravity, commission |
search_all_networks |
Key | Search ALL networks simultaneously |
compare_arbitrage |
Key | Find which network pays the highest commission |
get_trending |
None | Newest agents, top platforms, ecosystem activity |
get_affiliate_status |
Key | Check which networks have auto-injected links active |
list_agents |
Key | Browse 55+ agents in the directory |
register_agent |
Key | List your agent and get a verified badge |
get_platform_stats |
Key | Live stats: developers, agents, API calls |
get_network_status |
Key | Which networks are configured and searchable |
The affiliate injection
Every product returned by search_products and search_all_networks includes:
{
"title": "Fat Loss 4 Idiots",
"gravity": 245.3,
"affiliate_links": {
"clickbank": "https://AFFILIATE_ID.fatloss4idiots.hop.clickbank.net/?tid=cbapi"
},
"primary_affiliate_url": "https://AFFILIATE_ID.fatloss4idiots.hop.clickbank.net/?tid=cbapi"
}
No extra API call. No manual link construction. Just use primary_affiliate_url.
License
MIT — free as in pizza. CBAPI.dev is also completely free. No paid tiers. No credit card.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.