npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

nagoc-referly-mcp

v1.0.5

Published

An MCP Server for the Referly API

Readme

🚀 nagoc-referly-mcp

Unlock the power of your affiliate network! This Model Context Protocol (MCP) server connects Claude Desktop directly to the Referly API.

With this integration, you can effortlessly manage your Affiliates, Referrals, Sales, Coupons, and Promotional Codes—just by chatting with Claude!


✅ Prerequisites

Before you begin, make sure you have the following ready to go:

  1. Node.js: You need Node.js (v18 or higher) installed on your computer. You can get it here.
  2. Claude Desktop: Installed and running on your Windows or Mac machine.
  3. Referly API Key: You'll need an active API key from your Referly Dashboard.

🛠️ Installation & Configuration

It's super easy to get started! You just need to tell Claude Desktop to use this server.

  1. Open your Claude Desktop configuration file:

    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
  2. Add nagoc-referly to your mcpServers list based on your operating system:

For Windows:

{
  "mcpServers": {
    "nagoc-referly": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "-y",
        "nagoc-referly-mcp@latest"
      ],
      "env": {
        "REFERLY_API_KEY": "YOUR_REFERLY_API_KEY"
      }
    }
  }
}

For Mac:

{
  "mcpServers": {
    "nagoc-referly": {
      "command": "npx",
      "args": [
        "-y",
        "nagoc-referly-mcp@latest"
      ],
      "env": {
        "REFERLY_API_KEY": "YOUR_REFERLY_API_KEY"
      }
    }
  }
}
  1. Restart Claude Desktop. That's it! Claude will automatically download and connect to your Referly account.

💬 Awesome Examples: How to Talk to Claude

Once configured, Claude becomes your personal Affiliate Marketing Assistant. Here are some examples of what you can ask:

1. View Your Data

"Claude, can you list all my current affiliates in Referly?"

"Show me my recent sales and let me know if any of them need to be updated."

"Retrieve the list of active promotional codes I have set up."

2. Create New Campaigns & Affiliates

"Create a new coupon in Referly for 20% off that lasts for 3 months."

"I just brought on a new partner. Please create a new affiliate profile for John Doe."

"Generate a new promotional code 'SUMMER25' linked to my summer coupon."

3. Update & Manage

"Update the referral status for referral ID xyz123 to approved."

"Delete the promotional code 'WINTER10', it's no longer active."

"Refund the sale with ID sale_987."

Because the tools are built to dynamically handle data, Claude knows how to structure your requests properly based on your natural language instructions!


Built with ❤️ by nagoc.work