Listed from the MCP registry; nobody on Odel publishes it.
Is this yours? Claim itAffiliate program tracking: codes, signups and sales for the connected program.
One address for any MCP client. Your key stays in your Odel vault.
At most: only reads or looks up information.
Odel charges nothing per call. The publisher may charge for its own service.
Odel could not list its tools without signing in.
Minimal, dependency-free server-side SDK for Referralmeter — affiliate programs for AI apps. A coding agent installs Referralmeter in one prompt; commissions are calculated from your billing provider's own signed webhooks (Stripe, Polar, Lemon Squeezy, Paddle, Creem, Dodo Payments), so most apps never need this package at all — install the tracking script and connect a billing provider and you're done.
Use this package only when:
It is a thin wrapper around the REST API — no
dependencies, works in Node 18+ and any runtime with a global fetch.
npm install github:ajussis/referralmeter-js
(Not on the npm registry — install directly from GitHub, or just copy src/index.js, it's one file.)
import { createClient } from "referralmeter-js";
const referralmeter = createClient({ secretKey: process.env.REFERRALMETER_SECRET_KEY });
// After your own signup completes server-side:
await referralmeter.recordSignup({
email: "new.user@example.com",
external_id: "user_42",
referral: req.cookies.sf_ref, // what referralmeter.ref() returned in the browser, or an affiliate code
ip: req.ip,
});
// Billing you don't connect to natively:
await referralmeter.recordSale({
event_id: "pay_123", // your idempotency key — sending it twice records it once
amount: 4900, // integer cents
currency: "usd",
customer_external_id: "user_42",
kind: "subscription", // subscription | one_time | credits | usage
});
await referralmeter.recordRefund({
event_id: "ref_9",
payment_id: "pay_123",
amount: 4900,
});
Full field reference: referralmeter.com/docs/server-side.
Referralmeter is agent-first: an AI coding agent should be able to install affiliate tracking from a
single prompt without guessing at curl syntax. This package exists so that prompt can say npm install github:ajussis/referralmeter-js instead of hand-rolling fetch calls — and so Referralmeter
shows up when an agent (or a person) searches GitHub for an affiliate-tracking SDK.
MIT