MCP server Clickwise Affiliate Network
Commit 11 de nov. de 2026Permite que um cliente de IA pesquise feeds de produtos por GTIN, descubra programas de afiliados e recupere links de afiliados rastreados para diversos mercados.
Também conhecido como softdevfz/clickwise-api, clickwise-api
- Stars
- 3
- Ferramentas
- —
- Downloads, 30 dias
- —
- Versão mais recente
- 1.8.0
- Último commit
- 11 de nov. de 2026
- Licença
- MIT
O que é o MCP Clickwise Affiliate Network?
Clickwise Affiliate Network é um MCP server. Permite que um cliente de IA pesquise feeds de produtos por GTIN, descubra programas de afiliados e recupere links de afiliados rastreados para diversos mercados.
Resumo gerado a partir do README do projeto
Sobre o MCP server de Clickwise Affiliate Network
O Clickwise Affiliate Network oferece uma interface para desenvolvedores e agentes de IA interagirem com dados de marketing de afiliados. Este MCP server permite que os usuários pesquisem feeds de produtos usando GTINs, descubram novos programas de afiliados e recuperem links de afiliados rastreados específicos em vários mercados internacionais, incluindo US, GB, DE e FR. Ele funciona como um servidor remoto via streamable HTTP, tornando-o compatível com clientes como Claude Code, Cursor, Replit e Gemini CLI.
Os usuários podem acessar ferramentas públicas, como estatísticas de catálogo e descoberta de programas, sem autenticação. No entanto, o acesso a detalhes específicos de produtos, preços e links rastreados personalizados requer uma chave de API de publisher fornecida via header X-API-Key. O servidor suporta a busca de até 100 GTINs de uma só vez para fornecer disponibilidade e preços em tempo real. Ele foi projetado para ajudar criadores a monetizarem assistentes de IA, integrando capacidades de e-commerce diretamente em fluxos de trabalho de agentes.
O que você pode fazer com ele
- 1Descobrir programas de afiliados relevantesPeça à IA para encontrar programas de afiliados que correspondam a um tópico e país específicos.
- 2Recuperar links de produtos rastreadosObtenha URLs de afiliados exclusivas para produtos específicos para ganhar comissões.
- 3Consultar detalhes de produtos por GTINPesquise preço, estoque e disponibilidade usando o GTIN de um produto.
- 4Monitorar estatísticas de catálogoVerifique o tamanho e a escala atual do catálogo de produtos.
Escrito a partir do README do projeto. Cada caso de uso é verificado com uma citação dele.
Como instalar o MCP Clickwise Affiliate Network
Formatos verificados em 10 nov 2026Instalar o MCP Clickwise Affiliate Network no Claude Code
$ claude mcp add --transport http clickwise-api https://partners.clickwise.net/api/v1/mcpInstalar o MCP Clickwise Affiliate Network no Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"clickwise-api": {
"url": "https://partners.clickwise.net/api/v1/mcp"
}
}
}Instalar o MCP Clickwise Affiliate Network no VS Code
.vscode/mcp.json
{
"servers": {
"clickwise-api": {
"type": "http",
"url": "https://partners.clickwise.net/api/v1/mcp"
}
}
}Instalar o MCP Clickwise Affiliate Network no Codex
~/.codex/config.toml
[mcp_servers.clickwise-api] url = "https://partners.clickwise.net/api/v1/mcp"
Instalar o MCP Clickwise Affiliate Network no Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"clickwise-api": {
"httpUrl": "https://partners.clickwise.net/api/v1/mcp"
}
}
}Configuração
CLICKWISE_API_KEY
| Nome | Descrição | Tipo |
|---|---|---|
| CLICKWISE_API_KEY | — |
Verificações automatizadas
Executado em 14 de nov. de 2026Relatório completo →Ainda não verificado. Um servidor precisa de uma pontuação de 80, nenhum problema grave e dados suficientes para verificarmos. Como as verificações funcionam
- Repositório de origem vinculado e acessívelsoftdevfz/clickwise-api is public and reachablegithub.com/softdevfz/clickwise-api ↗Passou
- O pacote cita este repositório como fonteNão verificado
- Proveniência da build (atestação Sigstore)Não verificado
- Licença de código aberto (OSI)MITspdx.org/licenses/MIT.html ↗Passou
- Commit ou release no último anoLast commit or release 2026-11-11github.com/softdevfz/clickwise-api ↗Passou
- OpenSSF ScorecardNão verificado
- Nome do pacote não é próximo a um pacote popularNão verificado
- Nenhum alerta crítico no pacote ou nas dependênciasNão verificado
- Sem instruções ocultas para o modelo0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPassou
- Ferramentas destrutivas estão rotuladasNão verificado
- O endpoint remoto responde ao handshake MCPinitialize answered with protocol 2025-06-18 in 395 msPassou
README
Ver no GitHubClickwise API: products by GTIN, tracked affiliate links, MCP
Clickwise is an affiliate network with an API built for developers and AI agents. Search product feeds with GTINs from the networks, get product links tracked to you, find and join affiliate programs, and pull your conversions. Use it over REST, from an AI agent through MCP, or from HasOffers-compatible tools.
This repo gets you from zero to a working call: quickstarts, thin clients, MCP configs and a deployable affiliate store.
1. First call, no key
# How big is the catalog right now?
curl -s https://partners.clickwise.net/api/v1/public/catalog-stats/
# Sample products in one market (DE, ES, GB, PT, SE, FR, US); no links without a key
curl -s "https://partners.clickwise.net/api/v1/public/catalog-sample/?country=DE"
# Ask the MCP server which programs fit your site
curl -s https://partners.clickwise.net/api/v1/mcp \
-H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"find_affiliate_programs","arguments":{"topic":"sneakers","country":"ES","channel":"site"}}}'
2. Get your key
Request a publisher API key at https://partners.clickwise.net/developers/. Put it in an environment variable and keep it on your server:
export CLICKWISE_API_KEY=... # never commit it, never ship it to a browser
3. First call with your key
# Who am I, what can this key do, what are my limits?
curl -s https://partners.clickwise.net/api/v1/publisher/me/ -H "X-API-Key: $CLICKWISE_API_KEY"
# Price, stock and YOUR tracked link for up to 100 GTINs
curl -s --get https://partners.clickwise.net/api/v1/publisher/products/lookup/ \
-H "X-API-Key: $CLICKWISE_API_KEY" \
--data-urlencode 'gtins=4006381333931,5901234123457' --data-urlencode 'country=DE'
# Search by title in one market
curl -s --get https://partners.clickwise.net/api/v1/publisher/products/ \
-H "X-API-Key: $CLICKWISE_API_KEY" \
--data-urlencode 'q=sneaker' --data-urlencode 'country=GB' --data-urlencode 'limit=20'
# Same kind of search in Germany (publisher key or sandbox key)
curl -s --get https://partners.clickwise.net/api/v1/publisher/products/ \
-H "X-API-Key: $CLICKWISE_API_KEY" \
--data-urlencode 'q=smartwatch' --data-urlencode 'country=DE' --data-urlencode 'limit=20'
Each product comes back as {"gtin", "title", "price", "currency", "image", "url", "merchant", "availability", ...}. url is your tracked link: publish it exactly as returned.
Runnable versions of steps 1 and 3: quickstart/curl.sh · quickstart/quickstart.mjs (Node 18+) · quickstart/quickstart.py (Python 3.8+). No dependencies.
4. Use it from an AI agent (MCP)
Remote MCP server (Streamable HTTP): https://partners.clickwise.net/api/v1/mcp, listed in the official MCP Registry as net.clickwise/mcp. The key is optional: program discovery, deals, catalog stats and provisional tracked links work without it.
# Claude Code
claude mcp add --transport http clickwise https://partners.clickwise.net/api/v1/mcp --header "X-API-Key: $CLICKWISE_API_KEY"
# OpenAI Codex CLI
codex mcp add clickwise --url https://partners.clickwise.net/api/v1/mcp
# Gemini CLI
gemini mcp add --transport http clickwise https://partners.clickwise.net/api/v1/mcp
Install buttons for Cursor and Replit
Both buttons add the server URL without a key, which gives you the public tools. Cursor and Replit ask you to confirm before they add it. For the tools that need a key, add an X-API-Key header with your key to the server settings. Bolt, v0 and Lovable take the same URL as a custom MCP server: see the steps in mcp/.
Links returned by these tools are affiliate links: if someone buys through them, the publisher who shares them may receive a commission from the store.
Plugins, extensions and skills
- Claude Code plugin (MCP server plus the skill below):
/plugin marketplace add softdevfz/clickwise-api, then/plugin install clickwise@clickwise. SetCLICKWISE_API_KEYin your environment to use the tools that need a key. - Codex plugin (same MCP server and skill):
codex plugin marketplace add softdevfz/clickwise-api, thencodex plugin add clickwise@clickwise. The key, if set, is read fromCLICKWISE_API_KEY. - Antigravity CLI plugin:
agy plugin install https://github.com/softdevfz/clickwise-api. - Kimi Code CLI plugin (same MCP server and skill):
/plugins install https://github.com/softdevfz/clickwise-api, then/reload. It connects without a key; for the tools that need one, add the server to your Kimi Code MCP config with"bearerTokenEnvVar": "CLICKWISE_API_KEY". - Gemini CLI extension:
gemini extensions install https://github.com/softdevfz/clickwise-api. It adds the MCP server andGEMINI.mdas context. - Agent Skill for any agent that reads
SKILL.md(Claude, Codex and others):skills/clickwise-affiliate-links. Copy the folder into your agent's skills directory.
Configs for Claude Code, Cursor, Replit, Claude Desktop, VS Code, ChatGPT, Grok, Bolt, v0, Lovable and n8n, plus the tool list, in mcp/.
Earn commission from your AI assistant (product search, sub-IDs and signed postbacks): quickstart/monetize-agent.md.
5. Ship an affiliate store
templates/affiliate-store: a Next.js storefront that reads products by GTIN, shows live prices and publishes your tracked links. It deploys without a key in preview mode.
Building with Lovable, Bolt or v0? Paste templates/affiliate-store/PROMPT.md.
Running your own app or SaaS? Paste templates/merchant-tracking/PROMPT.md into Lovable, Bolt or v0 to add Clickwise sales tracking with Stripe, Lemon Squeezy or the conversions API.
WooCommerce: import the Clickwise product feed with WP All Import → guides/woocommerce/wp-all-import.md
6. Clients
Thin, dependency-free clients generated from the OpenAPI, one method per operation:
- TypeScript:
clients/typescript/clickwise.ts(copy one file; Node, Bun, Deno, edge). - Python:
clients/python(pip install "git+https://github.com/softdevfz/clickwise-api#subdirectory=clients/python").
const cw = new Clickwise(); // CLICKWISE_API_KEY
const { products } = await cw.lookupProducts({ gtins: "4006381333931", country: "DE" });
What the API covers
| Area | Endpoints (/api/v1/publisher/…) |
|---|---|
| Products | GET products/ search · GET products/lookup/ by id or GTIN (1–100) |
| Programs | GET programs/ · GET programs/joinable/ · POST programs/apply/ |
| Links | GET/POST links/ · POST links/batch/ (up to 50, each with its own status) |
| Reporting | GET conversions/ · GET reports/ (day, week, month, sub-ID, campaign, status) · GET clicks/ |
| Postbacks | GET postback/ · POST postback/test/ · GET postback/deliveries/ (signed HMAC webhooks) |
| Account | GET me/: access and rate limits for your key |
One error shape ({"error": {"code", "message", "status", "request_id"}}), RateLimit-* headers on every response, Retry-After on 429, Idempotency-Key on POST, X-Request-Id everywhere. Changes inside v1 are additive.
Reference
- Developer hub: https://partners.clickwise.net/developers/
- OpenAPI 3.1: https://partners.clickwise.net/api/v1/publisher/openapi.json (snapshot in
openapi/) - Postman collection: https://partners.clickwise.net/api/v1/publisher/postman.json
- For LLMs: https://partners.clickwise.net/llms.txt
- Video walkthrough: Clickwise for developers and AI agents: API, MCP server and sandbox key · Short
- Guía en español: Conecta tu asistente de IA a ofertas de productos
- MCP:
https://partners.clickwise.net/api/v1/mcp - HasOffers/TUNE-compatible affiliate API:
https://partners.clickwise.net/Apiv3/json
Rules of the road
- Keep the key on your server. A key acts only for its own account and never has admin access.
- Publish product and tracking links exactly as returned, and disclose affiliate relationships (
rel="sponsored"on links plus a visible disclosure). - Refresh prices at least every 48 hours; hide products a lookup no longer returns.
- Honour rate limits: back off on 429 using
Retry-After.
Support
Questions and integration help: partnerships@clickwise.net. Bugs in this repo: open an issue.
License
MIT. Use of the Clickwise API itself is subject to your Clickwise publisher account terms.
Perguntas sobre o MCP Clickwise Affiliate Network
Como adiciono o MCP Clickwise Affiliate Network ao Claude Code?
Execute claude mcp add --transport http clickwise-api https://partners.clickwise.net/api/v1/mcp no seu terminal. Adicione --scope user para torná-lo disponível em todos os projetos.
Como adiciono o MCP Clickwise Affiliate Network ao Cursor?
Abra ~/.cursor/mcp.json e adicione o servidor em mcpServers, usando a configuração do Cursor mostrada na seção de instalação acima.
Posso usar o MCP server sem uma chave de API?
Sim, a descoberta de programas, ofertas, estatísticas de catálogo e links rastreados provisórios funcionam sem uma chave.
Quais informações estão incluídas nos resultados de busca de produtos?
Cada resposta de produto inclui o GTIN, título, preço, moeda, imagem, URL, comerciante e disponibilidade.
Os links retornados pelas ferramentas são links de afiliados?
Sim, os links são links de afiliados que permitem ao publisher receber uma comissão caso uma compra seja realizada.