
Gate Info MCP
- 33 repo stars
- Updated April 16, 2026
- gate/gate-mcp
A Gate MCP (Model Context Protocol) server that enables AI agents to interact with the Gate cryptocurrency exchange for market data, trading, and account management.
About
A Gate MCP (Model Context Protocol) server that enables AI agents to interact with the Gate cryptocurrency exchange for market data, trading, and account management. [](https://opensource.org/licenses/MIT) [](https://modelcontextprotocol.io) A Gate MCP (Model Context Protocol) server that enables AI agents to interact with the Gate cryptocurrency exchange for market data, trading, and account management.
- [](https://opensource.org/licenses/MIT)
- [](https://modelcontextprotocol.io)
- [English](README.md) | [中文](README_zh.md)
- 💹 **Trading** - Create/cancel/amend spot, futures, options, delivery orders; price-triggered orders; trail orders
- 💼 **Account & Wallet** - Balances, transfers, deposits, withdrawals, sub-accounts, unified account
Gate Info MCP by the numbers
- Exposes 32 verified tools (MCP introspection)
- Data as of Jul 20, 2026 (Skillselion catalog sync)
claude mcp add --transport http gate-info https://api.gatemcp.ai/mcp/infoAdd your badge
Show developers this MCP server is listed on Skillselion. Paste this into your README.
| repo stars | ★ 33 |
|---|---|
| Transport | HTTP |
| Auth | None |
| Tools | 32 |
| Last updated | April 16, 2026 |
| Repository | gate/gate-mcp ↗ |
How do agents access Gate MCP Server capabilities without custom integration code?
A Gate MCP (Model Context Protocol) server that enables AI agents to interact with the Gate cryptocurrency exchange for market data, trading, and account management.
Who is it for?
Developers wiring Gate MCP Server into Cursor, Claude Desktop, or other MCP clients.
Skip if: Teams that need features outside the documented Gate MCP Server tool surface.
What you get
Configured MCP host can call Gate MCP Server tools with schemas from the server README.
- Gate Info MCP remote registered for research sessions
- Reusable agent queries for discovery, TA, and on-chain snapshots
- Faster opportunity and scope memos backed by live Gate info tools
By the numbers
- [object Object]
Gate Info MCP capabilities & compatibility
- Capabilities
- [ | [中文](readme_zh.md) · 💹 **trading** create/cancel/amend spot, futur
- Use cases
- api development · orchestration
- Runs
- Runs locally
- Pricing
- Bring your own API key
What Gate Info MCP says it does
https://api.gatemcp.ai/mcp
Tools 32
Public tool metadata - what this server can do for an agent.
info_coin_get_coin_info6 paramsSingle-target lookup: ticker, name, or contract→rows. Chain fixes address clashes. Filtered lists→search_coins. Boards→get_coin_rankings.
querystringrequiredSearch text: symbol, contract address, localized name, etc.query_typestringauto (default) | address | symbol | name | project | gate_symbol | source_idchainstringChain hint for address disambiguation when query_type=address or auto-detected EVM address; e.g. eth, tron, bsc. Same normalization as search_coins.scopestringbasic (default) | detailed | full; with_project/with_tokenomics align with full _source.sizeintegerMax rows; default 3, max 20.fieldsarrayField allowlist; empty = all. scope wins when both set.
info_coin_get_coin_rankings6 paramsBoards: popular, gainers/losers, twitter_hot, airdrop, new_listing, market_pulse_hot. time_range only for gainers/losers. Single match→get_coin_info. Filtered list→search_coins.
ranking_typestringrequiredpopular|top_gainers|top_losers|twitter_hot|airdrop|new_listing|market_pulse_hottime_rangestringOnly for top_gainers|top_losers: 1h|24h (default)|7d. Omit for other ranking_type or validation fails.limitintegerRows; default 20, max 400.listing_querystringnew_listing only: exchange / keyword for upstream query.listing_fromintegernew_listing only: Unix seconds from; 0 = omit.listing_tickersstringnew_listing only: comma tickers e.g. BTC,ETH.
info_coin_search_coins8 paramsMulti-row asset list by category, chain, cap, type. One clear match→get_coin_info. Boards→get_coin_rankings.
categorystringControlled sector tag or group (e.g. Layer 1, DEX); case-insensitive; matches category_type_flat then category_type; unknown values return empty list.chainstringChain filter: canonical name or alias (ETH→Ethereum, BSC→BNB Chain); contains match on normalized chain list.market_cap_minnumberMin market cap USD; range on market_value / market_cap.market_cap_maxnumberMax market cap USD.asset_typestringcrypto (default) | tradefi | allsort_bystringmarket_cap (default) | fdv | circulating_supply; all desclimitintegerPage size; default 20, max 400.offsetintegerOffset; default 0.
info_compliance_check_token_security5 paramsHoneypot, tax, and holder risk screen for a token. On-chain activity stats→get_token_onchain. Token xor address with chain; scope in schema.
tokenstringToken symbol e.g. PEPE; xor with address.addressstringContract address; xor with token.chainstringrequiredChain id e.g. eth, bsc, solana, base, arb.scopestringbasic (default)|full.langstringLocale: en|cn|tw|ja|kr; default en.
info_macro_get_economic_calendar5 paramsFiltered release calendar in a date window. Zero-arg dashboard→get_macro_summary. Indicator snapshot or series→get_macro_indicator.
start_datestringStart YYYY-MM-DD for event_date; default today UTC; if only end_date set, start defaults today.end_datestringEnd YYYY-MM-DD inclusive; default start+30d; sorted by event_date desc.event_typestringFOMC|NFP|CPI|PPI|GDP|PCE|...; empty or all = no filter.importancestringImportance filter; ignored if index lacks field.sizeintegerRows; default 20, max 400.
info_macro_get_macro_indicator9 paramsOfficial macro stats: latest or series by country/indicator (CPI, rates, jobs). No event feed. Calendar→get_economic_calendar. Dashboard→get_macro_summary.
modestringlatest (default, snapshot) or timeseries.indicatorstringrequiredExact keyword match on indicator.keyword OR indicator_id.keyword OR slugname.keyword; ASCII case-insensitive via exact variants (original, lower, upper).countrystringCountry display name e.g. United States; wins over country_code if both set.country_codestringISO code e.g. US when index lacks display name.start_timestringRange start; alias start_date; filters date/part_date.end_timestringRange end; alias end_date.start_datestringSame as start_time.end_datestringSame as end_time.sizeintegerRows; default 20, max 400.
info_macro_get_macro_summaryZero-arg macro dashboard: key snapshots plus upcoming releases. Filtered calendar list→get_economic_calendar. Indicator snapshot or series→get_macro_indicator.
info_marketdetail_get_kline8 paramsExchange pair or contract candles, including fine intervals such as 1m or 5s; needs Gate base URL. Trend-index OHLCV or indicator bundle→markettrend_get_kline.
symbolstringrequiredPair or contract.market_typestringspot (default)|futures|delivery|optionstimeframestringrequiredCandle interval e.g. 1s, 1m, 5m.start_timeintegerStart Unix seconds; with end_time for range; omit = last limit candles desc.end_timeintegerEnd Unix seconds.limitintegerMax candles; default 100, max 400; without range = latest N desc.settlestringfutures/delivery settlement; default usdt.extraobjectPassthrough e.g. interval overrides.
info_marketdetail_get_orderbook5 paramsOrder book depth: bids/asks ladder from Gate; needs base URL. Trade tape→get_recent_trades. Trend-index bars→markettrend_get_kline.
symbolstringrequiredPair e.g. BTC_USDT.market_typestringspot (default)|futures|delivery|options.depthintegerOrder book depth; default 20, max 100.settlestringSettlement for futures/delivery; default usdt; omit for options.extraobjectExtra Gate API params merged into request.
info_marketdetail_get_recent_trades5 paramsRecent trade prints tape from Gate; needs base URL. Depth ladder→get_orderbook. Trend-index bars→markettrend_get_kline.
symbolstringrequiredPair or contract id.market_typestringspot (default)|futures|delivery|optionslimitintegerRecent trades count; default 50, max 400.settlestringfutures/delivery settlement; default usdt.extraobjectOptional Gate API passthrough.
info_marketsnapshot_batch_market_snapshot5 paramsBatch quotes up to 20 symbols; partial misses OK. One symbol→get_market_snapshot. Deep trend→markettrend_get_kline. Breadth→get_market_overview.
symbolsarrayrequiredSymbol list, max 20. Missing symbols yield empty rows; the batch still succeeds.timeframestringKline: 15m|1h|4h|1d; default 1h.sourcestringspot (default)|futures (future)|alpha|fx.quotestringQuote currency; default USDT; maps to OpenSearch market.scopestringResponse scope.
info_marketsnapshot_get_institutional_metrics5 paramsBTC/ETH institutional ETF/CME/CFTC daily metrics (OpenSearch). asset=BTC|ETH|all; channel=all|etf|cme|cftc nulls non-selected fields. CME often null with data_status cme_source_not_procured. Returns assets[].latest and series[].
assetstringBTC|ETH|all; default BTC. all returns BTC and ETH groups.start_datestringYYYY-MM-DD; default end_date - 30d.end_datestringYYYY-MM-DD; default latest part_date available from OpenSearch.channelstringall|etf|cme|cftc; default all.limitinteger1-366; default 30.
info_marketsnapshot_get_market_overviewBroad market dashboard: cap, volume, dominance, and sentiment; no stablecoin ranking. Stablecoin-only ranking or chain breakdown→get_stablecoin_info. One asset→get_market_snapshot. Many symbols→batch_market_snapshot.
info_marketsnapshot_get_market_snapshot6 paramsOne-symbol: price, kline clip, project. Trend→markettrend_get_kline. Gate→marketdetail_get_kline. Many→batch_market_snapshot. Breadth→get_market_overview.
symbolstringrequiredSymbol e.g. BTC, ETH, USDC.timeframestringKline: 15m|1h|4h|1d; wins over indicator_timeframe when both set; default 1h if both empty.indicator_timeframestringAlias of timeframe when timeframe omitted.sourcestringalpha|spot|futures (future)|fx; default spot.quotestringQuote currency mapped to OpenSearch market; default USDT.scopestringbasic (default, trimmed)|detailed|full.
info_markettrend_get_indicator_history6 paramsHistorical indicator columns (RSI, MACD, MAs). OHLCV→get_kline. Synthesis→get_technical_analysis.
symbolstringrequiredSymbol.indicatorsarrayrequiredES field names e.g. rsi, macd, macd_dea, ma7, ema7, ma30, boll_upper_band, signal_value_k, profit_rate_stddev_7d.timeframestringrequired15m|1h|4h|1d.start_timestringRange start: ms or ISO8601.end_timestringRange end.limitintegerPoints; default 50, max 400.
info_markettrend_get_kline8 paramsTrend-index OHLCV for symbols, with optional indicator bundle. Exchange pair or contract candles, or fine intervals→marketdetail_get_kline. Columns→get_indicator_history. Signals→get_technical_analysis.
symbolstringrequiredSymbol e.g. BTC, ETH.timeframestringrequiredCandle interval: 1m|5m|15m|1h|4h|1d.periodstringWindow: 1h|4h|24h|7d|3d|5d|10d; default 24h. Ignored when start/end set.sizeintegerRow count; alias of limit; default 100, max 400.limitintegerRow count; default 100, max 400; alternative to size.start_timestringAbsolute start: ms timestamp or ISO8601; wins over period when paired with end.end_timestringAbsolute end.with_indicatorsbooleanIf true, include technical columns in _source; default OHLCV only.
info_markettrend_get_technical_analysis4 paramsMulti-timeframe bull/bear/neutral read from chart OHLCV only. OHLCV→get_kline. Raw columns→get_indicator_history.
symbolstringrequiredSymbol.periodstringWindow: 1h|4h|24h|7d|3d|5d|10d|all; default 3d. Absolute start/end win when parseable.start_timestringAbsolute start: ms or RFC3339.end_timestringAbsolute end: ms or RFC3339.
info_onchain_get_address_info6 paramsWallet profile: asset_summary, token_balances (USD desc), multi_chain_token_balances, labels/risk; Solana adds token_account/mint_account. Chain aliases: op→optimism, avax|avalanche-c→avalanche, bera|berachain→bera, polygon|matic, etc. Errors: invalid_chain, invalid_address, upstream_not_ready. Transfers→get_address_transactions.
addressstringrequiredOn-chain address.chainstringChain id e.g. eth, trx, bsc, btc, sol, base, arb. Omit to auto-detect from labels; default eth if unknown.scopestringbasic (default) | with_defi | with_counterparties | with_pnl | full. full merges all extensions; empty sections may be [] or null. detailed maps to full.min_value_usdnumberMin token balance USD; keep rows with parsed value_usd >= threshold. 0 keeps non-negative; unset/unparseable value_usd dropped.include_upstream_rawbooleanIf true, include New Explorer ApiResponse.data as new_explorer_*_raw; large payload. Default false.upstream_raw_modestringoff (default, no page raw) | lite (per-item source_raw where applicable) | full (page raw). include_upstream_raw=true forces full.
info_onchain_get_address_transactions13 paramsPaginated transfers; BTC items include inputs/outputs/tx_status. partial_upstream_response when upstream total>0 but list unparseable. Chain aliases same as get_address_info. Profile→get_address_info.
addressstringrequiredOn-chain address.chainstringChain id (eth, trx, bsc, btc, sol, base, arb, ...); default eth.min_value_usdnumberIf >0, keep rows with value_usd >= threshold (same semantics as get_address_info min_value_usd). May map to explorer query when supported.tx_typestringtransfer | contract_call | token_transfer | all (default).time_rangestringRelative window vs start/end: 1h|24h|1d|7d|30d|90d as [now-Δ, now]. Ignored if start_time or end_time set.start_timeintegerStart Unix seconds; pair with end_time; absolute wins over time_range.end_timeintegerEnd Unix seconds.limitintegerMax rows; default 20, max 400; maps to explorer page_size. Some filters apply only to GET list paths.from_addressstringFilter sender; maps to explorer GET from or POST transfers from. BlockInfo path ignores.to_addressstringFilter recipient; maps to explorer GET to or POST body to. BlockInfo path ignores.nonzero_valuebooleanIf true, drop zero-amount token_transfer rows; passes nonzero_value to explorer POST when used.include_upstream_rawbooleanIf true, include new_explorer_address_*_raw and per-item source_raw; large payload. Default false.upstream_raw_modestringoff (default) | lite (per-item source_raw) | full (page + item raw). include_upstream_raw=true forces full.
info_onchain_get_token_onchain5 paramsToken scope: holders, transfers, activity, smart_money. Address ledger→get_address_transactions. One tx→get_transaction.
tokenstringrequiredToken symbol e.g. ETH, USDT, or contract address.chainstringChain; omit for service default.scopestringholders|activity|transfers|smart_money|full; default full.include_upstream_rawbooleanIf true, include explorer_*_page raw and transfer source_raw; large payload. Default false.upstream_raw_modestringoff (default) | lite (row source_raw) | full (page + row). include_upstream_raw=true forces full.
info_onchain_get_transaction4 paramsOne transaction by hash; fields sparse if upstream thin. Token view→get_token_onchain.
tx_hashstringrequiredTransaction hash. Response may omit fields when upstream data is incomplete.chainstringChain e.g. eth, bsc, btc; default eth.include_upstream_rawbooleanIf true, include explorer_detail_raw and blockinfo_detail_raw; large payload. Default false.upstream_raw_modestringoff (default) | lite | full; only full adds explorer/blockinfo detail raw. include_upstream_raw=true forces full.
info_platformmetrics_get_bridge_metrics4 paramsBridge ranking or one-bridge chain breakdown. Cross-sector dashboard across DeFi, spot, perp, stablecoin, or bridge→get_defi_overview.
bridge_namestringBridge name (ASCII case-insensitive after trim/space normalize); omit for ranked list without chain_breakdown.chainstringChain; normalized e.g. eth→Ethereum; filters chain_breakdown.sort_bystringvolume_24h (default)|volume_7d|deposit_txs_24h.limitintegerRows; default 10, max 400.
info_platformmetrics_get_cex_orderbook_depth5 paramsCompetitor CEX ±1% order-book depth (spot/perp) from warehouse indices; BTC/ETH liquidity benchmarking. Gate native ladder→get_orderbook.
symbolstringrequiredBase asset e.g. BTC, ETH.market_typestringspot|perp (maps to SPOT|PERP); default perp.exchangestringVenue e.g. BINANCE; when set with exchange index, filters exchange dimension.data_scopestringexchange|market; default market if only market index configured, else exchange when exchange set.limitintegerMax rows; default 20, max 100.
info_platformmetrics_get_chain_activity8 paramsChain-level activity metrics by metric_group. staking: Ethereum daily staking_metrics.series. l2: L2 ops daily l2_metrics.series (tps_avg_1d, active_addresses_1d, blob_cost_usd_1d, sequencer_revenue_usd_1d, stage_label; no tx_count/l1_fee_usd) from dwd_external_l2_metrics_daily_di; granularity day only. btc_l2: BTC L2 protocol ecosystem btc_l2_metrics.items (project_key, project_name, category, main_chain, tvl_usd, protocol_count, tx_count_1d, active_addresses_1d, bridge_volume_24h_usd, source_refs; whitelist: stacks|rootstock|merlin|bob|bitlayer).
chainstringChain; staking defaults empty to ethereum; l2 supports base/arbitrum/optimism/linea/zksync_era/blast or empty for all chains; btc_l2 defaults empty to btc (required).metric_groupstringrequiredMetric group: staking (Ethereum beacon daily) | l2 (L2 ops daily from growthepie+L2Beat) | btc_l2 (BTC L2 protocol ecosystem tvl/protocol_count/tx_count_1d/active_addresses_1d/bridge_volume_24h_usd from dwd_external_btc_protocol_di).projectstringbtc_l2 only: filter by project_key; empty returns whitelist (stacks|rootstock|merlin|bob|bitlayer). Non-whitelist project returns data_status=not_in_scope.start_datestringYYYY-MM-DD; default derived from lookback or 30d.end_datestringYYYY-MM-DD; default latest part_date in index.lookbackstring30d|90d|1y when start_date empty; default 30d.granularitystringl2 only: day (default); hour or minute returns unsupported_granularity.limitintegerl2 only: max series rows returned; 0 means no extra cap beyond date window.
info_platformmetrics_get_defi_overview1 paramCross-sector dashboard for DeFi, spot, perp, stablecoin, or bridge categories. One bridge ranking or chain detail→get_bridge_metrics. One protocol→get_platform_info.
categorystringall|defi|spot|perp|stablecoin|bridge or platform type; unknown values passed through; empty if no match.
info_platformmetrics_get_exchange_reserves11 paramsExchange reserve snapshots by venue and asset. scope=full adds por (PoR attestation). scope=full + include_flows=true returns flows.series[] (daily inflow/outflow/netflow). scope=full + include_events=true returns events[] (large_flow events). TVL history→get_platform_history.
exchangestringExchange name; empty returns all exchanges. Supports okx→okx, gate.io→gate via normalized mapping.assetstringAsset filter: BTC|ETH|USDT|USDC; default BTC.scopestringbasic (default)|full; full adds por + optionally flows/events.include_historybooleanDefault false. true returns precomputed comparison fields only, not raw historical snapshots.history_windowstringOnly effective when include_history=true; currently only quarter is supported.include_flowsbooleanscope=full only. true returns flows.series[].include_eventsbooleanscope=full only. true returns events[].start_datestringYYYY-MM-DD; default end_date - 30d. Filter flows by part_date.end_datestringYYYY-MM-DD; default today. Filter flows by part_date.event_typestringall|large_flow; filter events. Effective only when include_events=true.limitintegerMax flow rows; default 100, max 400.
info_platformmetrics_get_liquidation_heatmap3 paramsLiquidation density by symbol and price buckets.
symbolstringrequiredSymbol e.g. BTC, ETH.exchangestringExchange; empty = all venues.rangestringPrice range or bucket spec.
info_platformmetrics_get_platform_history6 paramsDaily TVL, volume, and fees time series for one named protocol. One-shot profile→get_platform_info. Ranked multi-protocol list→search_platforms. CEX perps history: pass exchange_slug (e.g. gate) or platform_name.
platform_namestringProtocol or platform display name; optional if exchange_slug is set. For volume_perps, expanded to DWS exchange_slug-style keys (e.g. Gate.io→gate) like merge path.exchange_slugstringDWS exchange_slug (e.g. gate); optional if platform_name is set.metricsarraytvl|volume|fees|revenue|volume_perps; default [tvl] when empty. volume_perps returns series when present in platform_history (GAP-001).granularitystringday|week|month|quarter; used for volume_perps field mapping in derivatives history index; default day.start_datestringStart YYYY-MM-DD.end_datestringEnd YYYY-MM-DD.
info_platformmetrics_get_platform_info4 paramsOne-shot protocol profile by name and scope. scope=full adds competition_metrics{} for CEX venues (spot/derivs/depth/OI core+extended/PoR). Set include_oi_symbol_detail=true with oi_symbol_limit (1-100, default 20) for top-N OI breakdown. Ranked multi-protocol list→search_platforms. Daily time series→get_platform_history.
platform_namestringrequiredProtocol or platform name.scopestringbasic (default)|with_chain_breakdown (adds tvl_by_chain, volume_by_chain)|full (adds history_30d, top_pools, competition_metrics).include_oi_symbol_detailbooleanscope=full only. true returns competition_metrics.oi_symbol_detail[] sorted by OI USD desc; default false.oi_symbol_limitintegerEffective only when include_oi_symbol_detail=true. Default 20, range 1-100; >100 returns invalid_param.
info_platformmetrics_get_stablecoin_info9 paramsStablecoin-only ranking or per-symbol chain breakdown. scope=full with sections=issuance_flow returns issuance_flows[] (CryptoQuant net issuance/redemption); sections=usage_structure returns real usage metrics; sections=depeg_events returns depeg events (stablecoin de-peg event library). Broad market dashboard→get_market_overview. Cross-sector rollup→get_defi_overview.
symbolstringStablecoin symbol USDT/USDC/DAI/FDUSD/PYUSD; omit for ranked list or extension defaults.chainstringChain filter; list mode restricts to stables with presence on chain. Extensions: all (default) or normalized chain e.g. ethereum/tron/solana/polygon.limitintegerList size; default 10, max 400; single row when symbol set.scopestringbasic (default)|full; full required for sections.sectionsarrayComma-separated string or array; supported values: issuance_flow, usage_structure, depeg_events when scope=full.start_datestringUTC YYYY-MM-DD; extension window start, default last 30 days. depeg_events: default 2020-01-01.end_datestringUTC YYYY-MM-DD; extension window end, default latest data date for usage_structure or today for issuance_flow/depeg_events.min_deviationnumberdepeg_events only: filter events with max_deviation >= this value. Range 0.001-0.2, default 0.005.review_statusstringdepeg_events only: candidate|approved|rejected; default approved (only returns reviewed events).
info_platformmetrics_get_yield_pools8 paramsLending and LP pools by APY or TVL. scope=full adds apy_base_30d, apy_reward_30d, reward_tokens, market_share. One protocol profile→get_platform_info. TVL series→get_platform_history.
projectstringProtocol e.g. aave-v3.chainstringChain filter.symbolstringAsset e.g. USDC, ETH-USDC.pool_typestringExposure single|multi or Lending|LP|Staking; maps to ES exposure.sort_bystringapy|tvl_usd; default apy.limitintegerRows; default 20, max 400.min_tvl_usdnumberMin TVL USD; default 100000 when omitted; 0 = no floor.scopestringbasic (default)|full. full adds apy_base_30d, apy_reward_30d, reward_tokens, market_share.
info_platformmetrics_search_platforms5 paramsRanked multi-protocol list with filter and sort. One-shot profile→get_platform_info. One named protocol daily series→get_platform_history.
platform_typestringOptional filter on platform_info.platform_type. Empty or all = no filter. dex|dexs|dexes map to DEX+Dexs; derivatives|cex as labeled; defi expands to DeFi TVL group; any other value is passed through to the index (e.g. Lending, CDP, Yield).chainstringChain filter.sort_bystringtvl|volume_24h|volume_spot_24h|volume_perps_24h|volume_perps_7d|volume_perps_30d|volume_perps_qtd|fees_24h; default tvl.sort_orderstringasc|desc; default desc. When CEX + sort_by volume_perps_* uses the HF derivatives sub-index only, ranking follows this order; response echoes the normalized value.limitintegerRows; default 20, max 400.
README.md
Gate MCP Server
A Gate MCP (Model Context Protocol) server that enables AI agents to interact with the Gate cryptocurrency exchange for market data, trading, and account management.
Features
- 🔍 Public Market Data - Spot, futures, margin, options, delivery, earn, alpha tickers, order books, K-line, funding rate, liquidation history (no auth required)
- 💹 Trading - Create/cancel/amend spot, futures, options, delivery orders; price-triggered orders; trail orders
- 💼 Account & Wallet - Balances, transfers, deposits, withdrawals, sub-accounts, unified account
- 📊 Margin & Earn - Margin loans, earn products, multi-currency flash swap
- 🎯 Activity & Welfare - Activity center, coupons, launch pool, square, welfare
- 🌍 TradFi, CrossEx, P2P - Traditional finance, cross-exchange, P2P trading
- 🌐 DEX - On-chain wallet, swap (single-chain & cross-chain), token info, market data across 20+ chains
- 📰 Info - Coin info, market snapshots, technical analysis, on-chain data, compliance checks
- 📢 News - Real-time crypto news, exchange announcements, social sentiment
- 🔐 OAuth2 - Secure authorization for trading and private tools
MCP Endpoints
The service exposes five MCP endpoints:
| Endpoint | Auth | Tools |
|---|---|---|
https://api.gatemcp.ai/mcp |
None | Public market data (58 tools: spot, futures, margin, options, delivery, earn, alpha, activity, launch pool, square, flash swap) |
https://api.gatemcp.ai/mcp/exchange |
OAuth2 | CEX trading & account (400+ tools: spot/futures/options/delivery/margin trading, wallet, unified account, sub-accounts, earn, flash swap, rebate, TradFi, CrossEx, P2P, Alpha, activity center, coupon, launch pool, square, welfare) |
https://api.gatemcp.ai/mcp/dex |
Google / Gate OAuth | DEX wallet & swap (33 tools: auth, wallet, chain config, transfer, swap, market data, token info, agentic, RPC across 20+ chains) |
https://api.gatemcp.ai/mcp/info |
None | Coin info & analysis (10 tools: market snapshots, technical analysis, on-chain data, compliance) |
https://api.gatemcp.ai/mcp/news |
None | News & sentiment (3 tools: news search, exchange announcements, social sentiment) |
- Market data only → Use
/mcp(no Gate account needed) - CEX trading, balances, transfers → Use
/mcp/exchange(Gate OAuth2 required) - DEX wallet, swap, on-chain → Use
/mcp/dex(Google / Gate OAuth required) - Coin info, technical analysis → Use
/mcp/info(no auth) - News, announcements → Use
/mcp/news(no auth)
Transport: Streamable HTTP (with SSE fallback).
Authorization (OAuth2)
/mcp/exchange requires Gate OAuth2; /mcp/dex requires Google or Gate OAuth. The endpoints /mcp, /mcp/info, and /mcp/news do not require any authentication.
Using mcporter
Prerequisites: Node.js >= 18, npm. See Quick Start - mcporter for full installation steps.
# Add Private MCP (trading, requires OAuth)
mcporter config add gate-mcp --url https://api.gatemcp.ai/mcp/exchange --auth oauth
# Authorize (opens browser to log in)
mcporter auth gate-mcp
Scopes (for /mcp/exchange)
| Scope | Use |
|---|---|
market |
Public market data (tickers, order books, K-line, etc.) |
profile |
Account info, orders, positions (read-only) |
trade |
Create/cancel/amend orders |
wallet |
Transfers, deposits, withdrawals |
account |
Unified account, sub-accounts |
Quick Start
Prerequisites
- Gate account (required only for
/mcp/exchange) - MCP-compatible client (Cursor, Claude CLI, Trae, OpenClaw, etc.)
- Node.js >= 18 (for mcporter, Trae, Qoder, and other npm-based clients)
- Python >= 3.9 (optional, for Claude Desktop proxy)
Cursor
Method 1: One-click Install (Recommended)
Just paste the following into the Cursor AI chat — the agent will auto-install all Gate MCP servers and Skills:
Help me auto install Gate Skills and MCPs: https://github.com/gate/gate-skills
See gate-skills for details.
Method 2: Manual Configuration
For full trading (OAuth on connect):
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"Gate": {
"url": "https://api.gatemcp.ai/mcp/exchange",
"transport": "streamable-http",
"headers": {
"Content-Type": "application/json",
"Accept": "application/json, text/event-stream"
}
}
}
}
For market data only (no auth):
{
"mcpServers": {
"Gate": {
"url": "https://api.gatemcp.ai/mcp",
"transport": "streamable-http",
"headers": {
"Content-Type": "application/json",
"Accept": "application/json, text/event-stream"
}
}
}
}
For DEX (on-chain wallet, swap):
{
"mcpServers": {
"Gate-Dex": {
"url": "https://api.gatemcp.ai/mcp/dex",
"headers": {
"x-api-key": "MCP_AK_8W2N7Q",
"Authorization": "Bearer ${GATE_MCP_TOKEN}"
}
}
}
}
For Info & News (no auth):
{
"mcpServers": {
"Gate-Info": {
"url": "https://api.gatemcp.ai/mcp/info"
},
"Gate-News": {
"url": "https://api.gatemcp.ai/mcp/news"
}
}
}
See Cursor setup.
mcporter / OpenClaw
Method 1: One-click Install (Recommended)
Just paste the following into the OpenClaw AI chat — the agent will auto-install all Gate MCP servers and Skills:
Help me auto install Gate Skills and MCPs: https://github.com/gate/gate-skills
See gate-skills for details.
Method 2: Manual Configuration
Prerequisites (before installing mcporter)
- Node.js >= 18 (mcporter requires npm)
- npm (comes with Node.js) — verify with:
node -vandnpm -v - Gate account (for OAuth login when using
/mcp/exchange)
Install mcporter
# Global install
npm install -g mcporter
# Verify installation
mcporter --version
Alternatively, run without installing: npx mcporter <command> (uses current Node.js/npm).
Add MCP and authorize
# Add Private MCP (trading, OAuth)
mcporter config add gate-mcp --url https://api.gatemcp.ai/mcp/exchange --auth oauth
# Authorize (opens browser to log in)
mcporter auth gate-mcp
# Add DEX MCP
mcporter config add gate-dex --url https://api.gatemcp.ai/mcp/dex
# Add Info MCP (no auth)
mcporter config add gate-info --url https://api.gatemcp.ai/mcp/info
# Add News MCP (no auth)
mcporter config add gate-news --url https://api.gatemcp.ai/mcp/news
See OpenClaw setup for detailed steps.
Claude CLI
Method 1: One-click Install (Recommended)
Just paste the following into Claude CLI — the agent will auto-install all Gate MCP servers and Skills:
Help me auto install Gate Skills and MCPs: https://github.com/gate/gate-skills
See gate-skills for details.
Method 2: Manual Configuration
brew install claude-code
# Full trading (OAuth)
claude mcp add --transport http Gate https://api.gatemcp.ai/mcp/exchange
# Restart Claude CLI after authorization is complete
# Info (no auth)
claude mcp add --transport http Gate-Info https://api.gatemcp.ai/mcp/info
# News (no auth)
claude mcp add --transport http Gate-News https://api.gatemcp.ai/mcp/news
claude mcp list
Trae
Edit Trae settings. Uses mcp-remote to proxy HTTP MCP (OAuth prompt on first connect for /mcp/exchange):
{
"mcpServers": {
"gate": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.gatemcp.ai/mcp/exchange"
]
},
"gate-info": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.gatemcp.ai/mcp/info"
]
},
"gate-news": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.gatemcp.ai/mcp/news"
]
}
}
}
Qoder
Edit Qoder MCP settings (e.g. ~/.qoder/mcp.json or in Qoder settings):
{
"mcpServers": {
"gate": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.gatemcp.ai/mcp/exchange"
]
},
"gate-info": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.gatemcp.ai/mcp/info"
]
},
"gate-news": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.gatemcp.ai/mcp/news"
]
}
}
}
Claude Desktop
Claude Desktop requires a local stdio proxy.
- Download the Python proxy file
- Edit
~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"Gate": {
"command": "python3",
"args": ["/path/to/gate-mcp-proxy.py"]
}
}
}
See Claude Desktop setup for detailed instructions.
Alternative: gate-local-mcp (local stdio with API keys)
For local development without OAuth, use gate-local-mcp (npm: gate-mcp) — a stdio MCP server that uses GATE_API_KEY / GATE_API_SECRET (optional for public market data only). Configure it as a command-based MCP server (e.g. "command": "npx", "args": ["-y", "gate-mcp"]). By default it registers 384 tools across 22 modules (spot, futures, delivery, margin, wallet, account, options, earn, flash_swap, unified, sub_account, multi_collateral_loan, p2p, tradfi, crossex, alpha, rebate, activity, coupon, launch, square, welfare). Reduce the set with GATE_MODULES or --modules=spot,futures, or enable read-only mode with GATE_READONLY=true / --readonly.
Important: Wire-level tool names use abbreviations (futures→fx, delivery→dc, sub_account→sa, etc.); they differ from the remote api.gatemcp.ai naming. Always use the names returned by tools/list.
Full tool list: gate-local-mcp-tools.md.
LobeHub (desktop)
On the LobeHub MCP marketplace this server appears as identifier gate-gate-mcp. The npm package name is gate-mcp — run npx -y gate-mcp, not gate-gate-mcp.
Per LobeHub custom MCP, stdio servers work on the desktop app only; inject environment variables for Gate API authentication. Use Import JSON when adding a custom skill.
Public endpoints only:
{
"mcpServers": {
"gate-mcp": {
"command": "npx",
"args": ["-y", "gate-mcp"],
"type": "stdio"
}
}
}
With API key authentication:
{
"mcpServers": {
"gate-mcp": {
"command": "npx",
"args": ["-y", "gate-mcp"],
"type": "stdio",
"env": {
"GATE_API_KEY": "your-api-key",
"GATE_API_SECRET": "your-api-secret"
}
}
}
}
You can add GATE_MODULES, GATE_READONLY, or GATE_BASE_URL inside env as needed. Click Test connection before saving.
Other Clients
| Client | Guide |
|---|---|
| Claude.ai | setup |
| Codex App | setup |
| Codex CLI | setup |
| OpenClaw | setup |
| Trae | See Trae config above |
| Qoder | See Qoder config above |
Basic Usage
Query Price
What's the current price of BTC/USDT?
Get Order Book
Show me the order book for ETH/USDT
K-line Data
Get the daily K-line data for BTC over the last 7 days
Available Tools
All tools use the cex_ prefix. Tools are split between Public MCP (no auth) and Private MCP (OAuth2).
Public MCP (/mcp — no auth, 58 tools)
| Business | Tools | Description |
|---|---|---|
| Spot | 8 | cex_spot_list_currencies, cex_spot_get_currency, cex_spot_list_currency_pairs, cex_spot_get_currency_pair, cex_spot_get_spot_tickers, cex_spot_get_spot_order_book, cex_spot_get_spot_trades, cex_spot_get_spot_candlesticks |
| Futures | 14 | Contracts, order book, trades, candlesticks, tickers, funding rate, premium index, liquidation, contract stats, insurance ledger, index constituents, batch funding rates, risk limit tiers |
| Margin | 3 | cex_margin_list_uni_currency_pairs, cex_margin_get_uni_currency_pair, cex_margin_get_market_margin_tier |
| Options | 12 | Underlyings, expirations, contracts, settlements, order book, tickers, candlesticks, trades |
| Delivery | 8 | Contracts, order book, trades, candlesticks, tickers, insurance ledger, risk limit tiers |
| Earn | 5 | cex_earn_list_dual_investment_plans, cex_earn_list_structured_products, cex_earn_list_uni_currencies, cex_earn_list_earn_fixed_term_products, cex_earn_list_earn_fixed_term_products_by_asset |
| Alpha | 3 | cex_alpha_list_alpha_currencies, cex_alpha_list_alpha_tickers, cex_alpha_list_alpha_tokens |
| Activity | 1 | cex_activity_list_activity_types |
| Launch | 1 | cex_launch_list_launch_pool_projects |
| Square | 2 | cex_square_list_square_ai_search, cex_square_list_live_replay |
| Flash Swap | 1 | cex_fc_list_fc_currency_pairs |
Private MCP (/mcp/exchange — OAuth2, 400+ tools)
Note: The private endpoint does not include public market data tools. Use
/mcpfor market data queries.
| Business | Scope | Key Tools |
|---|---|---|
| Spot | profile / trade | Accounts, orders, trades, batch orders, price-triggered orders, countdown cancel, cross liquidate |
| Futures | profile / trade | Accounts, positions, orders, trades, dual positions, trail orders, price-triggered, BBO orders |
| Margin | profile / trade | Margin accounts, loans, auto-repay, uni loans |
| Options | profile / trade | Account, positions, orders, MMP settings |
| Delivery | profile / trade | Accounts, positions, orders, price-triggered orders |
| Wallet | wallet | Total balance, transfers, deposits, withdrawals, deposit address, SA balances, small balance convert |
| Unified | account | Unified accounts, mode, loans, risk units, borrowable, collateral, leverage config |
| Sub-account | account | Create/list/lock/unlock SA, API keys |
| Account | account | Account detail, main keys, rate limit, debit fee, STP groups |
| Rebate | profile | Agency/partner/broker commission history, user info |
| Flash Swap | profile / trade | cex_fc_list_fc_currency_pairs, cex_fc_list_fc_orders, cex_fc_create_fc_order_v1, multi-currency flash swap |
| Earn | profile / trade | Dual/structured/uni products, orders, ETH2 swap, lend records |
| Alpha | profile / trade | Alpha accounts, orders, quote/place |
| TradFi | profile / trade | Categories, symbols, MT5 account, assets, orders, positions |
| CrossEx | profile / trade | Rule symbols, account, positions, orders, transfers, convert |
| P2P | profile / trade | User info, ads, chats, transactions, confirm payment/receipt |
| Activity | profile | Activity types, recommended activities, user participation |
| Coupon | profile | User coupons, coupon details |
| Launch Pool | profile / trade | LaunchPool projects, pledge/redeem, reward records |
| Square | market | AI search, live replay |
| Welfare | profile | Beginner eligibility, task list and rewards |
For full tool parameters, see Gate API Docs or gate-exchange-mcp.
DEX — Authentication
| Tool | Description |
|---|---|
dex_auth_google_login_start |
Start Google OAuth login flow, returns verification URL |
dex_auth_google_login_poll |
Poll login status, returns mcp_token on success |
dex_auth_login_google_wallet |
Login with Google OAuth authorization code |
dex_auth_gate_login_start |
Start Gate OAuth login flow, returns verification URL |
dex_auth_gate_login_poll |
Poll Gate OAuth login status, returns mcp_token on success |
dex_auth_login_gate_wallet |
Login directly with Gate OAuth authorization code |
dex_auth_logout |
Revoke current session |
DEX — Wallet
| Tool | Description |
|---|---|
dex_wallet_get_addresses |
Get wallet addresses for each chain (EVM, Solana) |
dex_wallet_get_token_list |
Token balances with prices and pagination |
dex_wallet_get_total_asset |
Total portfolio value and 24h change |
dex_wallet_sign_message |
Sign a message with wallet private key (EVM / Solana) |
dex_wallet_sign_transaction |
Sign a raw transaction with wallet private key |
DEX — Chain & Transactions
| Tool | Description |
|---|---|
dex_chain_config |
Chain configuration (chain ID, capabilities) |
dex_tx_gas |
Estimate gas price and gas limit |
dex_tx_transfer_preview |
Preview transfer details before signing |
dex_tx_approve_preview |
Token approval preview: build ERC20/SPL approve transaction |
dex_tx_get_sol_unsigned |
Build unsigned Solana SOL transfer with latest blockhash |
dex_tx_send_raw_transaction |
Broadcast signed transaction on-chain |
dex_tx_quote |
Swap quote with route, price impact and gas estimation |
dex_tx_swap |
One-click swap: quote → build → sign → submit |
dex_tx_swap_detail |
Query swap order status by order ID |
dex_tx_list / dex_tx_detail / dex_tx_history_list |
Transaction & swap / bridge history |
DEX — Market Data & Token Info
| Tool | Description |
|---|---|
dex_market_get_kline |
K-line (candlestick) data: 1m, 5m, 1h, 4h, 1d |
dex_market_get_tx_stats |
Trading volume and trader statistics (5m / 1h / 4h / 24h) |
dex_market_get_pair_liquidity |
Liquidity pool add / remove events |
dex_token_list_swap_tokens |
Available tokens for swap on a given chain |
dex_token_list_cross_chain_bridge_tokens |
Bridgeable tokens for cross-chain transfers |
dex_token_get_coin_info |
Token info: price, market cap, supply, holder distribution |
dex_token_ranking |
24h top gainers / top losers |
dex_token_get_coins_range_by_created_at |
Discover new tokens by creation time range |
dex_token_get_risk_info |
Security audit: honeypot, buy/sell tax, blacklist, permissions |
DEX — Agentic & RPC
| Tool | Description |
|---|---|
dex_agentic_report |
Report agentic wallet addresses to wallet service |
dex_rpc_call |
Execute JSON-RPC call to blockchain node |
For full DEX tool parameters, see gate-dex-mcp. For the Agentic Wallet subset (auth, wallet, market data, resources), see gate-agentic-wallet-mcp.
Info — Coin & Market
| Tool | Description |
|---|---|
info_coin_get_coin_info |
Get coin info by name, symbol, or contract address |
info_marketsnapshot_get_market_snapshot |
Market overview: price, K-line summary, market cap, FDV, fear & greed |
Info — Market Trend & Technical Analysis
| Tool | Description |
|---|---|
info_markettrend_get_kline |
OHLCV K-line data with optional indicators |
info_markettrend_get_indicator_history |
Historical indicator series (RSI, MACD, MA, EMA) |
info_markettrend_get_technical_analysis |
Multi-timeframe technical signals |
Info — On-chain Data
| Tool | Description |
|---|---|
info_onchain_get_address_info |
On-chain address: labels, risk level, token balances |
info_onchain_get_address_transactions |
Address transaction history |
info_onchain_get_transaction |
Full transaction details by tx hash |
info_onchain_get_token_onchain |
Token on-chain data: holders, activity, smart money |
Info — Compliance
| Tool | Description |
|---|---|
info_compliance_check_token_security |
Token security check: risk tier, taxes, open source, holders |
For full Info tool parameters, see gate-info-mcp.
News — Search & Announcements
| Tool | Description |
|---|---|
news_feed_search_news |
Search news by keyword, coin, time range, platform type |
news_feed_get_exchange_announcements |
Exchange announcements: listings, delistings, maintenance |
news_feed_get_social_sentiment |
Post detail: author, content, interactions, sentiment |
For full News tool parameters, see gate-news-mcp.
MCP Resources
The /mcp and /mcp/exchange endpoints also expose MCP Resources for static reference data:
| Resource URI | Description |
|---|---|
gate://spot/currency_pairs |
All spot trading pairs |
gate://spot/currencies |
All supported currencies |
gate://futures/contracts/usdt |
USDT-settled futures contracts |
gate://futures/contracts/btc |
BTC-settled futures contracts |
gate://futures/contracts/{settle} |
Futures contracts by settlement currency |
FAQ
Q: Do I need a Gate account?
A: Only for CEX trading and DEX wallet. /mcp, /mcp/info, and /mcp/news are fully public — no account needed. /mcp/exchange (CEX trading, balances, transfers) requires Gate OAuth2. /mcp/dex (on-chain wallet, swap) requires Google or Gate OAuth.
Q: Does it support trading?
A: Yes. Connect to https://api.gatemcp.ai/mcp/exchange with OAuth2. The server supports spot and futures trading, account management, wallet transfers, and sub-accounts. Each tool requires the appropriate scope (e.g. trade, wallet).
Q: How often is the data updated?
A: Data is queried in real-time from Gate's API.
Privacy & Security
- OAuth2 authorization via Gate account (no API keys stored in config)
- All API calls use HTTPS
- See Gate Privacy Policy
Support & Feedback
- API Documentation: Gate API Docs
- Issue Reporting: Please contact Gate support
- Business Inquiries: Contact Gate official channels
Contributing
See CONTRIBUTING.md.
License
MIT © gate.com
Recommended MCP Servers
How it compares
Research-oriented discovery and analytics MCP, not OAuth CEX trading or DEX wallet execution.
FAQ
What does Gate MCP Server do?
A Gate MCP (Model Context Protocol) server that enables AI agents to interact with the Gate cryptocurrency exchange for market data, trading, and account management.
When should I use Gate MCP Server?
A Gate MCP (Model Context Protocol) server that enables AI agents to interact with the Gate cryptocurrency exchange for market data, trading, and account management.
Is Gate MCP Server safe to install?
Review the Security Audits panel on this page before installing in production.