Skip to main content
Glama
skheman2026-sketch

@coinrebate/mcp-server

@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.

Related MCP server: Monorail MCP Server

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.

6 Available Tools

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)

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.

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

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

Available Tools

6 tools
calculate_trading_costA
Read-onlyIdempotent

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
typeYesTrade type: spot or futures
volumeYesTrade volume in USD
countryNoISO 3166-1 alpha-2 country code for compliance filtering
exchangeYesExchange name (binance, okx, bybit, bitget, gate, hyperliquid)

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering safety. The description adds context about the calculation nature (shows savings vs standard fees) without contradicting annotations. It provides a useful behavioral hint beyond the structured data, though it doesn't mention potential input validation or error cases.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with no unnecessary words. The first sentence states the core purpose, and the second clarifies the output. Everything earns its place, and the key information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a relatively simple calculation tool with no output schema, the description adequately hints at the output (savings vs standard fees) and implies the necessary inputs (exchange, volume, type) through the schema. It does not discuss edge cases or response format, but the schema and annotations fill most gaps. It is nearly complete for an agent to call correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter (type, volume, country, exchange) is already described in the schema. The description only reinforces 'trade volume' which is already in the schema, adding no new meaning or clarifying units, formats, or constraints beyond what exists. This meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'calculate' and the specific resource (trading cost and savings with CoinRebate referral codes). It also explains the output (savings vs standard fees) and distinguishes itself from siblings like get_exchange_fees by focusing on actual cost with referral codes. The wording is specific and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage—when you need to know savings from referral codes for a given volume—but it does not explicitly compare with alternatives such as get_exchange_fees, compare_fees, or get_best_referral. No exclusion guidance is provided, so an agent might not know when to choose this over siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

compare_feesA
Read-onlyIdempotent

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
countryNoISO 3166-1 alpha-2 country code (e.g. US, CN, VN) for compliance filtering
purposeYesTrading type: spot or futures

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already carry the safety profile (readOnlyHint, idempotentHint, destructiveHint), so the bar for credit is behavioral context beyond them. The description adds meaningful, non-obvious behavior: results are 'ranked by lowest fee after CoinRebate rebate discount'—an agent would otherwise assume raw exchange fees—and passing a country code switches filtering behavior. This genuinely shapes expectations about the returned data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences with zero fluff: the core purpose, the ranking behavior, then the optional country filter. Each sentence earns its place and no word is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter, single-required-param read-only tool with strong annotations and no output schema, the essential decision-making context is all here: comparison scope, ranking criterion, rebate-adjusted fees, and compliance filtering. Minor gaps—such as whether the result is a fully ranked list or top-N, and what the filtered list contains—are low severity for an agent deciding to call this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already describes both parameters fully (purpose enum, ISO country code, and 'for compliance filtering'), so the schema does the heavy lifting and the baseline is 3. The description restates the purpose constraint and the compliance use of country, adding only slight interpretive value by tying the fee computation to the rebate discount context.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Compare trading fees across all exchanges for a specific purpose (spot or futures trading).' The scope qualifier 'across all exchanges,' the ranking claim, and the compliance-filter note distinguish it from siblings like get_exchange_fees and get_compliant_exchanges without needing to open the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the use case—fee comparison across exchanges for spot or futures—and tells the agent when to pass the country code for compliance-filtered results. However, it never names an alternative or states when not to use it, so the agent must infer the boundary against siblings like get_exchange_fees and get_compliant_exchanges on its own.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_best_referralA
Read-onlyIdempotent

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
countryNoISO 3166-1 alpha-2 country code for compliance check
exchangeYesExchange name (binance, okx, bybit, bitget, gate, hyperliquid)

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare the operation read-only and idempotent, and the description adds useful behavioral details beyond those annotations: what is returned (referral code, discount percentage, signup URL) and the compliance role of country. No contradiction exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three short sentences, front-loaded with the tool's main purpose, and every sentence adds useful information: action, return value, and compliance guidance. There is no filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For 2 parameters and no output schema, the description covers what the tool does, what it returns, and how an optional input affects behavior. It could be slightly more explicit about edge cases like unsupported exchanges, but it is sufficiently complete for an agent to invoke it confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so both parameters are already well documented. The description adds some context like 'maximum fee discount' and the compliance purpose of country, but it does not heavily extend what the schema already explains.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: get the best referral/signup link for an exchange. It also gives the selection criterion (maximum fee discount), which distinguishes it from sibling tools like get_exchange_fees or compare_fees.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly conveys when to use the tool: when a referral/signup link for a specific exchange is needed. It even provides contextual guidance for the optional country parameter (compliance verification). It does not explicitly mention alternatives or when-not-to-use cases, but enough context is present.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_compliant_exchangesA
Read-onlyIdempotent

Get exchanges available in a specific country, filtered by the CoinRebate compliance matrix. Essential for regulatory compliance.

ParametersJSON Schema
NameRequiredDescriptionDefault
countryYesISO 3166-1 alpha-2 country code (e.g. US, CN, BR, VN, PH, IN)
purposeNoTrading purpose filter

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, covering the safety profile. The description adds value by specifying the 'compliance matrix' filter, which is not inferable from the schema or annotations. It does not describe return format or pagination, but given the annotations, this is not a significant shortfall.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with zero wasted words. The core functionality is front-loaded in the first sentence, and the second sentence reinforces the purpose ('Essential for regulatory compliance'). This is appropriately concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with only two parameters (one optional), rich annotations, and no output schema, the description is complete. It tells the agent what the tool does, the key filter, and why it matters. Nothing essential for calling it correctly is missing. The agent can infer that the return is a list of exchanges without explicit statement.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with both 'country' (ISO code example) and 'purpose' (enum values) clearly documented. The description adds no additional parameter-specific meaning beyond the schema, so the baseline score of 3 is appropriate. The compliance matrix mention is not tied to a specific parameter in a way that adds new semantic detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Get exchanges'), the resource ('exchanges available in a specific country'), and the key filter ('CoinRebate compliance matrix'). This distinguishes it from sibling tools like get_exchange_fees and get_best_referral, which target different concerns. The note about regulatory compliance adds purpose and makes the tool's intent unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context: use when you need compliance-approved exchanges for a country. While it does not explicitly name alternatives or exclusions, the clear focus on compliance and country-based filtering, combined with distinctly named siblings, gives an agent sufficient guidance to know when this tool is appropriate. The lack of explicit 'when not to use' is a minor gap but not misleading.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_exchange_feesA
Read-onlyIdempotent

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false. The description adds 'real-time' indicating live data, but doesn't disclose latency, rate limits, or external dependencies beyond what openWorldHint implies. No contradiction found.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the verb and resource, and includes specific exchange names and fee types. No fluff or unnecessary detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter read-only tool, the description adequately conveys the return content (fee types and discount). It doesn't specify the exact data format, but given no output schema, this is a minor gap. Overall, near-complete for its simplicity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so schema coverage is effectively 100%. The baseline for 0 parameters is 4, and the description doesn't need to explain parameters. No additional semantics are required.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: retrieving real-time trading fees from major crypto exchanges, listing specific exchanges and fee types (spot/futures, maker/taker, discount). It distinguishes itself from sibling tools by its specific resource and scope, though it doesn't explicitly name alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus siblings like compare_fees or get_best_referral. It simply states what it does without any decision context or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_latest_newsA
Read-onlyIdempotent

Get the latest crypto news and market insights published on CoinRebate. Returns recent articles with titles, summaries, and links.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of articles to return (1-20, default 5)

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, covering the safety profile. The description adds that it returns titles, summaries, and links, but does not disclose any additional behaviors (e.g., recency guarantees, rate limits). With annotations in place, this is adequate but not exceptional.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence that is front-loaded with the core action and resource, and immediately specifies what is returned. No wasted words, and it reads naturally.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only tool with one optional parameter and no output schema, the description covers the essential return structure and source. It doesn't mention pagination or sorting, but those are not critical for this tool's typical use. Slightly more detail on response format could push it to 5, but 4 is fair.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides a full description of the `limit` parameter (range and default), so schema coverage is 100%. The tool description adds no further meaning about the parameter, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Get'), the resource ('latest crypto news and market insights published on CoinRebate'), and the output ('articles with titles, summaries, and links'). It is distinct from all sibling tools, which focus on fees, referrals, and compliance—not news.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The purpose is so specific that an agent would naturally use this for news retrieval. However, there is no explicit 'when not to use' or mention of alternatives. Given the obvious distinction from siblings, a 4 is appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 6 tool updatesv2.2.1
    • First observedcalculate_trading_cost
    • First observedcompare_fees
    • First observedget_best_referral
    • First observedget_compliant_exchanges
    • First observedget_exchange_fees
    • First observedget_latest_news

TDQS

A3.9/5.0

Scored across 6 tools

Disambiguation5/5

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.

Naming Consistency4/5

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.

Tool Count5/5

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.

Completeness3/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Provides 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.
    13
    2
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to access normalized, read-only market data from Binance, KuCoin, and Coinbase without accounts or API keys, with caching and single-flight request collapsing to reduce burst load and provide cleaner, unified data.
    1
    MIT