@coinrebate/mcp-server
A read-only server that gives an AI agent CoinRebate's published exchange trading fees, referral discounts and country availability — no API key or account needed.
Look up exchange fees (
get_exchange_fees): spot and futures maker/taker fees for Binance, OKX, Bybit, Bitget, Gate.io, Hyperliquid and others, before and after the CoinRebate referral discount.Compare and rank venues (
compare_fees): exchanges ordered by lowest effective fee for spot or futures, optionally filtered to the platforms available in a given country.Get referral links and codes (
get_best_referral): the signup URL, referral code and maximum discount for one exchange, with an optional country compliance check.Estimate trading costs (
calculate_trading_cost): the taker-fee cost of a USD volume with and without the discount, plus the saving.Check country availability (
get_compliant_exchanges): which exchanges CoinRebate's compliance matrix allows for a country, filterable by spot, futures or p2p.Read published content (
get_latest_news): recent CoinRebate articles with titles, summaries and links.Everything is read-only: no orders, no custody, no funds, no account access; results are informational, not investment advice, and referral links carry a disclosure.
Provides real-time spot and futures fee data for Binance, applies permanent trading fee discounts via referral links, and offers fee comparison, compliance filtering by country, and trading cost estimation.
Delivers up-to-date spot and futures fee information for OKX, includes referral-based fee discounts, country-specific compliance filtering, and tools to compare fees and calculate potential savings.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@coinrebate/mcp-server Which exchange gives the lowest spot trading fees for a user in the US?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@coinrebate/mcp-server
Read-only MCP server and CLI for crypto exchange trading fees, referral discounts and country availability.
Give your AI agent the published trading fees of Binance, OKX, Bybit, Bitget, Gate.io, Hyperliquid, Aster and the other platforms CoinRebate covers, the fee after CoinRebate's referral discount (for new accounts only; the rate varies by platform and each platform's rules decide eligibility), and the country records CoinRebate keeps for each platform. No API key, no account.
What it is
Other crypto MCP servers (CCXT, exchange-specific ones) give you market data. CoinRebate gives your agent each covered platform's published fees, the cost after the referral discount, and CoinRebate's signup link — plus the referral code when the user's country is known.
CoinRebate takes part in the affiliate or referral programs of the platforms it lists and is not any of them. If a user signs up through CoinRebate's links, CoinRebate may earn a commission at no extra cost to the user. Every answer that carries a signup link or referral code says so next to it; only that link or code is marketing material. The discount applies only to a new account registered through the link, under that platform's own rules, and may not apply at higher VIP levels or to futures trading after a certain period.
What it is not:
❌ A custody or wallet service — it places no orders, holds no funds and never signs in to exchange accounts.
❌ An investment advisor — nothing it returns is investment advice.
❌ Available in every country — see Privacy, logs and regions.
Related MCP server: io.github.ufhouck/aicost-cli
Requirements
Node.js 18 or later, with npm / npx.
Outbound HTTPS access to
https://www.coinrebate.vip. Every tool reads CoinRebate's public REST API (OpenAPI v4.1) at call time; nothing is bundled offline. No API key is needed.An MCP client (Claude Desktop, Cursor, Cline, …) for the MCP server, or a terminal for the CLI.
Install
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 command (stdio transport).
LangChain / CrewAI / AutoGen
from langchain_mcp_adapters import MCPClient
client = MCPClient(command="npx", args=["-y", "@coinrebate/mcp-server"])No install
The hosted endpoint https://www.coinrebate.vip/api/mcp (streamable HTTP) serves the same tools without installing anything.
Check that it works
npx -y @coinrebate/mcp-server --versionprints the installed version (2.5.2).npx -y @coinrebate/mcp-server fees binanceprints Binance's spot and futures fees before and after the discount. If it fails, check that the machine can reachhttps://www.coinrebate.vip(or theCOINREBATE_API_URLyou set).Restart your MCP client: it lists the 11 tools below. Ask "What are Binance's spot trading fees?" and it should call
get_exchange_fees. To call the tools by hand instead, runnpx @modelcontextprotocol/inspector npx -y @coinrebate/mcp-server.
Three read-only examples
Each call only reads data; nothing is created, changed or sent to an exchange.
Compare spot fees for a user in Brazil
MCP:
compare_feeswith{ "purpose": "spot", "country": "BR" }CLI:
coinrebate compare --purpose spot --country BRReturns the platforms CoinRebate lists for Brazil, lowest taker fee after the referral discount first, each with its signup link.
Referral code and signup link for one exchange
MCP:
get_exchange_referralwith{ "exchange": "bybit", "country": "BR" }CLI:
coinrebate referral bybit --country BRReturns the code, the discount, the signup link and the fees before and after the discount. Without a country it returns the link but not the code.
Fee on a monthly volume
MCP:
calculate_trading_costwith{ "exchange": "binance", "volume": 50000, "type": "spot", "country": "BR" }CLI:
coinrebate cost binance --volume 50000 --type spot --country BRReturns the taker fee on $50,000 with and without the discount, the difference, and a yearly figure that assumes the volume is monthly.
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 BR
coinrebate referral bybit --country BR
coinrebate cost binance --volume 100000 --type spot
coinrebate compliant --country US --purpose spotRun coinrebate <command> --help for command-specific usage. The existing
npx -y @coinrebate/mcp-server command still starts the stdio MCP server.
11 Available Tools (v2.5.2)
Tool | What it does |
| Benchmark spot + futures fees from CoinRebate's published fee table (with the date each entry was last updated), plus the fees after the referral discount |
| Rank exchanges by lowest effective fee for spot/futures (with country compliance filter) |
| Look up the referral code, fee discount and signup link CoinRebate lists for one exchange |
| CoinRebate's latest English-language articles, each with its publication date (use as content source for your agent) |
| Estimate the taker-fee cost of a trading volume with and without the referral discount (yearly figure assumes the volume is monthly) |
| Country-filtered exchange list, using the country records CoinRebate keeps for each platform |
| List Binance US, HK, KR, and CN stock plus commodity perpetuals from official exchangeInfo data |
| Read daily, weekly, 30-day, and historical weekly-rank statistics from official Binance klines |
| Checks whether a URL carries CoinRebate's own current referral code (allowlisted exchange hosts only). This is a self-check for CoinRebate links: a link carrying someone else's code is reported as stale_code even though it may be perfectly valid. For a neutral inspection of any exchange link, use inspect_exchange_link. |
| 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. |
| Inspects an exchange sign-up or referral link and reports evidence on five separate points: whether the domain is a verified official domain of a listed exchange, whether it is reachable, whose referral code it carries, how CoinRebate's records list the exchange for a given country, and what rebate (if any) is configured. Unknown items are reported as unknown. It never says a link is safe, never probes unrecognized domains, and never suggests a replacement link. Read-only. |
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 exposed only through the remote MCP endpointhttps://www.coinrebate.vip/api/mcp, which needs no install.
The hosted endpoint exposes all twelve tools. The npm package exposes the eleven 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.
Privacy, logs and regions
What leaves your machine. Each tool call goes to CoinRebate's REST API (https://www.coinrebate.vip, or COINREBATE_API_URL if you set it) with that call's parameters — exchange, country, product type, volume, the URL to check or the search phrase — and two headers naming the tool and the package version. The package sends no account, key, cookie or conversation content, and writes nothing to disk.
What CoinRebate records. For each call: the hour (UTC), the tool, whether it was answered, a response-time bracket, coarse parameters (country code, product type, exchange, and a volume bracket instead of the exact amount), the request country reported by our CDN, whether the caller looks like a browser or a bot, and a source identifier calculated from the IP address with a random value replaced every day, so calls cannot be linked across days. For guide searches, the phrase after removing emails, links, wallet addresses, handles and long numbers; for links on domains we do not recognise, only the domain. These per-call records are deleted after 30 days; daily totals are kept for 180 days. The IP address is used in memory for rate limiting and is not written to these records; the web server's standard access logs (about 15 days) do record it. Full policy: https://www.coinrebate.vip/en/legal
Regions. Each platform restricts some countries, and CoinRebate keeps those records per platform. Pass the user's country (ISO 3166-1 alpha-2) and the tools leave out platforms restricted there. Without a country, answers give the signup link but not the referral code; with a country, a code is given only where it may be offered there. Signup links go through https://www.coinrebate.vip/go/…, which checks the region of whoever opens the link and returns HTTP 451 where the platform is restricted; the website and its signup links are also unavailable in mainland China, South Korea, Vietnam, the Philippines, Indonesia and Malaysia. Being on a country's list does not mean a particular person can open an account — each platform's own terms and checks decide.
Data basis
The tools read CoinRebate's public REST API at call time. Fee, rebate and compliance data come from data/exchanges/*.json: fees are the benchmark rates in CoinRebate's published fee table, each with the date its entry was last updated. The data_source / fetched_at fields describe an automated CCXT refresh check, not a verification date. This is a 2026-launched platform in its 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
Changelog
2.5.2 — Maintenance release: it only brings the package build in line with the current source and corrects how the package describes itself; tool names, descriptions and parameters are unchanged. Version 2.5.1 shipped an older build (its news tool still read the news page that stopped updating on 2026-08-06); 2.5.2 is built from the current source and reads the latest-articles endpoint. Answers that carry a signup link or referral code now include the affiliate disclosure, answers that state a referral discount add the VIP / futures-period caveat, a referral code is shown only when the user's country is given, and an unknown country or exchange comes back as the API's own error (for example invalid_country).
License
MIT
Available Tools
6 toolscalculate_trading_costARead-onlyIdempotentInspect
Calculate the actual trading cost and savings when using CoinRebate referral codes. Shows how much you save compared to standard fees for a given trade volume.
Inputs: type (required), volume (required), exchange (required), country.
compare_feesARead-onlyIdempotentInspect
Compare trading fees across all exchanges for a specific purpose (spot or futures trading). Returns exchanges ranked by lowest fee after CoinRebate rebate discount. Pass country code for compliance-filtered results.
Inputs: purpose (required), country.
get_best_referralARead-onlyIdempotentInspect
Get the best referral/signup link for a specific exchange with maximum fee discount. Returns referral code, discount percentage, and direct signup URL. Pass country to verify compliance.
Inputs: exchange (required), country.
get_compliant_exchangesARead-onlyIdempotentInspect
Get exchanges available in a specific country, filtered by the CoinRebate compliance matrix. Essential for regulatory compliance.
Inputs: country (required), purpose.
get_exchange_feesARead-onlyIdempotentInspect
Get real-time trading fees for all major crypto exchanges (Binance, OKX, Bybit, Bitget, Gate.io, Hyperliquid). Returns spot and futures maker/taker fees, plus fees after CoinRebate discount.
Inputs: no named parameters.
get_latest_newsARead-onlyIdempotentInspect
Get the latest crypto news and market insights published on CoinRebate. Returns recent articles with titles, summaries, and links.
Inputs: limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct function: fees, comparison, referrals, news, cost calculation, and compliance filtering. There is no meaningful overlap; even compare_fees and get_exchange_fees are differentiated through the specific purpose and ranking output.
All tools follow a clear verb_noun pattern (get_exchange_fees, compare_fees, get_best_referral, get_latest_news, calculate_trading_cost, get_compliant_exchanges). Slight inconsistency: compare_fees and calculate_trading_cost lack the 'get' prefix, but the pattern is otherwise uniform and predictable.
With 6 tools, the server is well-scoped for a fee rebate informational service. Each tool serves a distinct user intent without redundancy, and the count is appropriately small for the domain.
The server covers fee lookup, comparison, referrals, cost calculation, compliance, and news. However, missing features like retrieving specific exchange details, historical fee trends, or referral program terms could be considered useful gaps. Still, the core promotional workflow is complete.
Related MCP Connectors
Live crypto + IDX stock market intelligence for AI agents — 19 tools, no API key.
Compare Australian crypto exchanges and find where to buy cryptocurrency, with pricing, fees and estimated purchase outcomes. Built for AI agents, with paid data access using XRP on XRPL or USDC on Base through x402.
Crypto market data for AI agents: live prices, OHLCV, sentiment, indicators and exchanges.
Trading tools for AI agents: token risk checks, swap quotes, unsigned swaps, holdings on 5 chains.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides live cryptocurrency market data from over 100 exchanges, enabling AI agents to fetch prices, order books, funding rates, and more for trading analysis and arbitrage opportunities.132MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to calculate, compare, and recommend AI API costs from multiple providers, with support for currency conversion and platform fee analysis.30 PyPI1MIT
- AlicenseNot gradedqualityCmaintenanceEnables real-time crypto market data, funding rates, cross-exchange arbitrage, portfolio analytics, exchange skills, and trading via your own connected exchange keys through natural language agent workflows.1MIT
- AlicenseAqualityBmaintenanceEnables AI agents to calculate and compare crypto exchange trading costs, including fees, funding, spreads, slippage, withdrawals, fiat on/off-ramps, VIP tiers, referral links, and country-specific availability. It provides sourced, annualized all-in cost analysis and recommendations for different trader profiles and volumes.19MIT