# Referral Factory MCP server > Read campaigns, referrers, leads and rewards; add referrers, qualify leads in Referral Factory. A hosted remote MCP server by usefulapi.io, an independent service (not affiliated with Referral Factory). - Server URL: https://referral-factory.usefulapi.io/mcp - Transport: Streamable HTTP, OAuth sign-in - Status: live - Page: https://usefulapi.io/referral-factory/ ## Connect - Claude (claude.ai, Desktop): Customize → Connectors → Add custom connector, name Referral Factory, URL https://referral-factory.usefulapi.io/mcp. Prefilled dialog: https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Referral%20Factory&connectorUrl=https%3A%2F%2Freferral-factory.usefulapi.io%2Fmcp - Claude Code: `claude mcp add --transport http referral-factory https://referral-factory.usefulapi.io/mcp`, then run `/mcp` to log in. As a plugin: `claude plugin marketplace add https://usefulapi.io/claude/marketplace.json`, then `claude plugin install referral-factory@usefulapi`. - Codex: `codex mcp add referral-factory --url https://referral-factory.usefulapi.io/mcp`, then `codex mcp login referral-factory`. - ChatGPT: Plugins → Add custom MCP server, authentication OAuth. - Perplexity (Pro, Max, Enterprise): Plugins → Add custom → Add MCP connector → Remote, URL https://referral-factory.usefulapi.io/mcp, Advanced: OAuth, Streamable HTTP. - Cursor, VS Code and other MCP clients: add the URL as a remote MCP server. Add only the URL. Do not add an `Authorization` header or an API key to the client config. The server signs you in with OAuth: the login page asks for your **Referral Factory API access token**. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401. ## Before you connect Find it in Referral Factory → **Settings → Webhooks and API**, then the API section. Generating a new token deactivates the old one. Your token is used only to call the API on your behalf and to derive a private account id; it is never shown to anyone. ## Example requests - Which referrers joined our spring campaign this month? - Show me the leads that are not qualified yet and mark the ones with a paid order as qualified. - How many rewards are due right now, and for which campaigns? - Find the referrer with the email jane@example.com and show her referral link. ## Pricing - Free: $0, 50 tool calls / month - Pro: $9/mo · $90/yr per user, 10,000 tool calls / month - Pro+: $39/mo · $390/yr per user, 100,000 tool calls / month Each paid plan covers this Referral Factory server only. ## Tools (18) ### Read only (11) - `referralfactory_list_campaigns`: List campaigns. List all referral campaigns in the account (name, code, status, dates, rewards). Start here to find a campaign id. - `referralfactory_get_campaign`: Get a campaign. Get one campaign by its id or code, including its settings and rewards. - `referralfactory_list_referrers`: List referrers. List referrers (the people who share referral links) in chunks of 25 by default. Each item has id, campaign\_id, name, email, code and sign-up date. For more results, pass links.next from the last result as next\_page\_url. - `referralfactory_get_referrer`: Get a referrer. Get one referrer with all their data: referral link, sharing links, referrals and rewards. - `referralfactory_search_referrers`: Search referrers. Search referrers with filters, for example all referrers from one campaign or with a given source. Filter values are strings. - `referralfactory_list_leads`: List leads. List leads (people referred by a referrer, not yet qualified or qualified) in chunks of 25 by default. For more results, pass links.next from the last result as next\_page\_url. - `referralfactory_get_lead`: Get a lead. Get one lead with its referrer, qualification state and goals. - `referralfactory_list_goals`: List goals. List goals across all campaigns (25 per page by default, up to 250). Each campaign also has a built-in Qualification goal. - `referralfactory_get_goal`: Get a goal. Get one goal by id. A campaign's built-in Qualification goal uses the negative campaign id. - `referralfactory_list_due_rewards`: List due rewards. List rewards that are due but not yet issued, for all campaigns, or for one campaign when campaign\_id is set. Read only: this tool does not issue or cancel rewards. - `referralfactory_list_issued_rewards`: List issued rewards. List rewards already issued, for all campaigns, or for one campaign when campaign\_id is set. ### Changes data (3) - `referralfactory_create_referrer`: Create a referrer. Create a referrer in a campaign. It appears with source API and gets a referral link. Set notify to true only when the person should get the invitation email. - `referralfactory_update_referrer`: Update a referrer. Update a referrer's first name or email. Only the fields you pass are changed. - `referralfactory_update_lead_qualification`: Qualify or unqualify a lead. Mark a lead as qualified or not qualified. Identify the lead by id, or by code, or by email plus campaign\_id. Qualification can trigger the rewards set for it. ### Your usefulapi plan (4) - `referralfactory_usage_status`: Usage status (free-tier meter). Report the caller's current usage: the plan, calls used this month, the limit of the plan (the free monthly cap or the Pro fair use limit), remaining, and whether the limit is reached. Read-only; does not count against the meter. - `referralfactory_request_feature`: Request a missing feature. Tell usefulapi that the user needs something the Referral Factory tools cannot do yet (a missing tool, field or filter). Call it only when the user asks for something none of the tools can do, and tell the user that you send the request. Do not call it for errors or for normal requests. Do not include personal data, credentials or customer records. Stored with the product name and the client type (for example Claude or Cursor), without the user's account. At most 5 requests per day. Does not count against the meter. - `referralfactory_upgrade`: Upgrade to Pro or Pro+. Get a paid plan for Referral Factory (the free tier caps monthly usage). Pro: 10,000 tool calls a month, for normal use — plan "monthly" ($9/month) or "yearly" ($90/year, 2 months free). Pro+: 100,000 tool calls a month, for automations and heavy use — plan "plus" ($39/month) or "plus\_yearly" ($390/year). Without a plan it returns both Pro and Pro+, each with a payment link, for the user to choose; with a plan, one link. An existing Pro subscription changes to Pro+ in place: call without confirm first, as the reply states the exact charge for this account (the price difference for the rest of the period, or in a free Pro trial the full Pro+ price, as the trial ends); then call with confirm: true. Cancel any time: the plan then runs to the end of the paid period, so it also suits a one-time job. A link opens Stripe Checkout in the browser; after payment the account upgrades automatically. Does not count against the meter. - `referralfactory_cancel_subscription`: Cancel the Pro subscription. Cancel the caller's Referral Factory Pro subscription at the end of the paid period (no refund for the current period; Pro continues until then, then the free tier applies). Requires confirm: true. Run referralfactory\_upgrade later to undo the cancel before the period ends. Does not count against the meter. ## FAQ ### What can I do with Referral Factory in Claude or ChatGPT? See which referrers joined a campaign. Look up a referrer and their referral link. Qualify leads that are not qualified yet. Check rewards that are due or issued. Add a referrer to a campaign. See [what you can do](https://usefulapi.io/referral-factory/#uses) for the details. ### Is this an official Referral Factory product? No. usefulapi is an independent service. It is not affiliated with or endorsed by Referral Factory. The server calls the Referral Factory API with your own Referral Factory access, so it sees only the data that your account can see. ### Can I connect Referral Factory to Claude or ChatGPT? Yes. In Claude, add this server's URL as a custom connector. In ChatGPT, add it as a custom MCP server in Plugins. Then log in once. Cursor, VS Code, Claude Code and Codex work too. See [the setup steps](https://usefulapi.io/referral-factory/#connect). ### What do I need to connect? The login page asks for your **Referral Factory API access token**. See [Before you connect](https://usefulapi.io/referral-factory/#setup) for where to find it. ### Do I put my Referral Factory key or an Authorization header in the client config? No. Add only the URL. Do not add an `Authorization` header or an API key to the client config. The server signs you in with OAuth: the login page asks for your **Referral Factory API access token**. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401. ### How do you keep my Referral Factory credentials? The login stores them encrypted in the authorization grant of your connection. The server uses them to call the Referral Factory API for you and to derive a private account id for usage metering. usefulapi does not show them on any page or in any reply. To stop all access, remove the connector and change or delete these credentials in Referral Factory. ### Can the AI change my Referral Factory data? Yes, if you approve it. 3 of the 14 Referral Factory tools can create or change data. The other 11 are marked read-only. Most MCP clients ask you to approve a tool call before it runs. ### What does it cost? The Free plan gives 50 tool calls / month. Pro costs $9/mo or $90/yr, with 10,000 tool calls / month. Pro+ costs $39/mo or $390/yr, with 100,000 tool calls / month. Each subscription covers this Referral Factory server only. Cancel any time: your paid plan then runs to the end of the paid period. Run `referralfactory_usage_status` to see how many calls you used. ### How do I subscribe or cancel? Ask the AI to run `referralfactory_upgrade` and choose Pro or Pro+, billed monthly or yearly: it returns a Stripe Checkout link. If you already have Pro, ask to change it to Pro+. After you confirm, your existing subscription changes in place, keeps its billing interval and charges the price difference for the rest of the period immediately. To cancel, run `referralfactory_cancel_subscription`. Your paid plan continues to the end of the paid period. ### What if a Referral Factory tool that I need is missing? Tell the AI what you wanted to do. It can send the request with `referralfactory_request_feature`. We store the text with the server name, the type of AI client and the tool you tried, not with your account, and read every request when we plan new tools. You can send up to 5 requests per day. ### Which AI clients can I use? Any client that supports remote MCP servers (Streamable HTTP) with OAuth login: Claude (web and desktop), Claude Code, ChatGPT, Codex, Perplexity, Cursor, VS Code, Windsurf and others. ## Links - [Referral Factory MCP server page](https://usefulapi.io/referral-factory/) - [All servers](https://usefulapi.io/llms.txt) - [Terms of Service](https://usefulapi.io/terms/) - [Privacy Policy](https://usefulapi.io/privacy/) - Support: support@usefulapi.io