Skip to main content
Glama
io.github.abelfeed/clickbank-marketplace

io.github.abelfeed/clickbank-marketplace

ClickBank Marketplace API (Python SDK, CLI & MCP)

CI PyPI Python License: MIT

Open-source Python client, CLI (clickbank-fetch), and Model Context Protocol (MCP) manifest for querying ClickBank Marketplace offers (Gravity, BI Gravity, Net/Initial/Future EPC, Avg $/Sale, Rebill, Conversion Rate, and Return Rate).

Supported Sort Fields

rank · gravity · bi_gravity · popularity · average_epc · initial_epc · future_epc · net_epc · conversion_rate

Related MCP server: shopping-mcp

Installation

pip install abelfeed-clickbank
export APIFY_TOKEN="your_apify_token"

Python Usage

from abelfeed_clickbank import ClickBankClient

client = ClickBankClient()
offers = client.fetch(
    sort_field="net_epc",
    sort_descending=True,
    rebill_only=True,
    min_gravity=10,
    max_results=50,
)
print(offers[0]["vendorId"], offers[0]["gravity"], offers[0]["netEPC"])

CLI Usage

clickbank-fetch --sort-field gravity --sort-descending --max-results 50

MCP Server (Claude Desktop / Cursor / VS Code)

Registered on the Official MCP Registry as io.github.abelfeed/clickbank-marketplace (see server.json):

{
  "mcpServers": {
    "abelfeed-clickbank": {
      "url": "https://mcp.apify.com/?tools=abelfeed/clickbank-marketplace-fast-api",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_TOKEN"
      }
    }
  }
}

Development & Testing

pip install -e . pytest
pytest -v

Hosted Backend & Security

This package is a thin MIT-licensed wrapper around the hosted Apify Actor abelfeed/clickbank-marketplace-fast-api. See SECURITY.md for vulnerability disclosure and OIDC Trusted Publishing details.

License

MIT - see LICENSE.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables cross-merchant product search and catalog filtering through an MCP endpoint, allowing agents to query products across demo stores by text, price, stock, and merchant.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables searching active eBay listings, retrieving full item details, and browsing eBay category taxonomies through MCP tools.
      67 npm
      1
      MIT