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

@coinrebate/mcp-server

v2.4.0

Published

MCP server with 9 read-only tools for exchange fees, referral links, country compliance, Binance TradFi perpetuals, cost calculations, and news.

Readme

@coinrebate/mcp-server

The only crypto MCP server built on real exchange referral relationships — not just market data.

Give your AI agents instant access to permanent trading fee discounts (up to 50% off, varies by exchange) on Binance, OKX, Bybit, Bitget, Gate.io, Hyperliquid, and Aster DEX. Your users keep the discount on every trade, forever. Zero infrastructure, zero exchange negotiations.

npm License MCP

Why this exists

Other crypto MCP servers (CCXT, Binance, exchange-specific) give you read-only market data.

CoinRebate gives your AI agent something more valuable: the ability to recommend exchanges to users with permanent fee discounts baked in — backed by real affiliate agreements with each exchange (the tools return the current code at runtime, so nothing goes stale). When a user signs up via your AI agent, they get a permanent fee discount on every trade.

We negotiated the referral deals with exchanges. You build the AI agent. Your users keep the savings.

Quick Start

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "coinrebate": {
      "command": "npx",
      "args": ["-y", "@coinrebate/mcp-server"]
    }
  }
}

Cursor / Cline / any MCP client

Same npx -y @coinrebate/mcp-server invocation.

LangChain / CrewAI / AutoGen

from langchain_mcp_adapters import MCPClient
client = MCPClient(command="npx", args=["-y", "@coinrebate/mcp-server"])

Command Line

Install once, then call only the tool you need. Human-readable output is the default; add --json for scripts and agents.

npm i -g @coinrebate/mcp-server
coinrebate fees binance
coinrebate compare --purpose spot --country CN
coinrebate referral binance --country CN
coinrebate cost binance --volume 100000 --type spot
coinrebate compliant --country US --purpose spot

Run coinrebate <command> --help for command-specific usage. The existing npx -y @coinrebate/mcp-server command still starts the stdio MCP server.

10 Available Tools (v2.4.0)

| Tool | What it does | |------|--------------| | get_exchange_fees | Real-time spot + futures fees for all 7 exchanges, with rebate-applied discount fees | | compare_fees | Rank exchanges by lowest effective fee for spot/futures (with country compliance filter) | | get_best_referral | Get the best signup link for a specific exchange (returns code + URL + discount %) | | get_latest_news | Latest crypto news from CoinRebate (use as content source for your agent) | | calculate_trading_cost | Compute actual savings for a given trade volume (great for "show me the money" UX) | | get_compliant_exchanges | Country-filtered exchange list (essential for regulatory compliance — built-in GeoIP) | | list_tradfi_perps | List Binance US, HK, KR, and CN stock plus commodity perpetuals from official exchangeInfo data | | get_perp_stats | Read daily, weekly, 30-day, and historical weekly-rank statistics from official Binance klines | | check_referral_link | Check a configured exchange referral URL and probe only allowlisted exchange hosts | | search_guides | Searches CoinRebate's published guides by keyword (any language) and returns matching articles with title, one-line description and URL. Read-only; results are informational articles, not referral links. |

Also available on the hosted endpoint: recommend_fee_option — instead of a table it returns a single verdict ("the lowest effective fee for a user in is X"), together with the assumptions behind it and what is deliberately not modelled, and abstains when the upstream data is unreliable or the top venues are genuinely tied. It is currently exposed only through the remote MCP endpoint https://coinrebate.vip/api/mcp, which needs no install. It will land in this npm package in a later release.

The hosted endpoint exposes all eleven tools. The npm package exposes the ten tools in the table.

Bundled Agent Skill

The package includes skills/coinrebate-fees/SKILL.md with concise connection, tool-selection, data-basis, and safety instructions for compatible agent runtimes.

Compliance — Built In

Every tool that returns exchange recommendations supports an optional country parameter (ISO 3166-1 alpha-2). When provided, results are filtered against the CoinRebate compliance matrix.

Example: A user from China asking your agent "where should I trade?" — pass country: "CN" to ensure the agent doesn't recommend exchanges that block Chinese users. We programmatically enforce this on /api/track redirects too (returns 451 for blocked combinations).

Real Data Only

This MCP server fetches live data from https://www.coinrebate.vip REST API (OpenAPI v4.1). All fee/rebate/compliance data is dynamically generated from data/exchanges/*.json and verified against exchange official rates via CCXT. No hardcoded marketing inflation. This is a 2026-launched platform in growth phase, and we're upfront about that.

Resources

  • 🌐 Website: https://www.coinrebate.vip
  • 🤖 AI Agent Portal: https://www.coinrebate.vip/for-agents
  • 📋 OpenAPI v4.1 spec: https://www.coinrebate.vip/openapi.json
  • 📖 llms.txt: https://www.coinrebate.vip/llms.txt
  • 💬 Telegram Channel: https://t.me/coinrebatevip
  • 🐛 Issues: https://github.com/skheman2026-sketch/coinrebate-mcp-server/issues

What we are NOT

  • ❌ A custody / wallet service (we don't touch funds)
  • ❌ An investment advisor (NFA — Not Financial Advice)
  • ❌ A YouTube influencer / promo network — we are infrastructure
  • ❌ Available in 100% of countries (compliance per exchange)

License

MIT