cex_alpha_list_alpha_currencies
List Alpha currencies.
pagelimitcurrency
io.github.gateio-devPublished by GitHub account gateio-devv1.0.0Updated Nov 9, 2026
Public Gate market data MCP for spot, futures, margin, options, delivery, earn, and alpha.
Gate's remote MCP server gives an assistant read-only crypto market data, plus optional OAuth-gated CEX trading, DEX wallet and swap, coin research and news.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.gateio-dev%2Fgate-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"mcpServers": {
"gate": {
"type": "http",
"url": "https://api.gatemcp.ai/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.
The service exposes the following MCP endpoints:
/mcp (no Gate account needed)/mcp/exchange (Gate OAuth2 required)/mcp/dex (Google / Gate OAuth required)/mcp/info (no auth)/mcp/open/info (7-tool allowlist; no auth)/mcp/news (no auth)/mcp/docs (no auth)Transport: Streamable HTTP (with SSE fallback).
/mcp/exchange requires Gate OAuth2; /mcp/dex requires Google or Gate OAuth. The endpoints /mcp, /mcp/info, /mcp/open/info, /mcp/news, and /mcp/docs do not require any authentication.
Prerequisites: Node.js >= 18, npm. See Quick Start - mcporter for full installation steps.
/mcp/exchange)/mcp/exchange)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.
For full trading (OAuth on connect):
Edit ~/.cursor/mcp.json:
For market data only (no auth):
For DEX (on-chain wallet, swap):
For Info & News (no auth):
See Cursor setup.
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.
node -v and npm -v/mcp/exchange)Alternatively, run without installing: npx mcporter <command> (uses current Node.js/npm).
See OpenClaw setup for detailed steps.
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.
Edit Trae settings. Uses mcp-remote to proxy HTTP MCP (OAuth prompt on first connect for /mcp/exchange):
Edit Qoder MCP settings (e.g. ~/.qoder/mcp.json or in Qoder settings):
Claude Desktop requires a local stdio proxy.
~/Library/Application Support/Claude/claude_desktop_config.json:See Claude Desktop setup for detailed instructions.
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.
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:
With API key authentication:
You can add GATE_MODULES, GATE_READONLY, or GATE_BASE_URL inside env as needed. Click Test connection before saving.
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
All tools use the cex_ prefix. Tools are split between Public MCP (no auth) and Private MCP (OAuth2).
/mcp — no auth, 58 tools)/mcp/exchange — OAuth2, 400+ tools)Note: The private endpoint does not include public market data tools. Use
/mcpfor market data queries.
For full tool parameters, see Gate API Docs or gate-exchange-mcp.
For full DEX tool parameters, see gate-dex-mcp. For the Agentic Wallet subset (auth, wallet, market data, resources), see gate-agentic-wallet-mcp.
/mcp/info — 32 tools, no auth)Public, read-only market research. Categories (full parameter tables: gate-info-mcp):
/mcp/open/info — 7 tools, no auth)ChatGPT / OpenAI Apps submission allowlist only. Full parameter tables: gate-open-info-mcp.
/mcp/news — 18 tools, no auth)Public, read-only news and social research. Categories (full parameter tables: gate-news-mcp):
The /mcp and /mcp/exchange endpoints also expose MCP Resources for static reference data:
A: Only for CEX trading and DEX wallet. /mcp, /mcp/info, /mcp/open/info, /mcp/news, and /mcp/docs 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.
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).
A: Data is queried in real-time from Gate's API.
See CONTRIBUTING.md.
MIT © gate.com
Source: README.md at commit 801c4e3
List Alpha currencies.
pagelimitcurrencyList Alpha tickers.
pagelimitcurrencyList Alpha tokens.
pagechainaddresslaunch_platformList all TradFi instrument categories
Takes no parameters.
Get kline/OHLCV data for a TradFi symbol
limitsymbolrequiredend_timebegin_timekline_typerequiredGet latest ticker for a TradFi symbol
symbolrequiredList all available TradFi trading symbols
Takes no parameters.
Get delivery contract.
settlerequiredcontractrequiredList delivery candlesticks.
tofromlimitsettlerequiredcontractrequiredintervalList delivery contracts.
settlerequiredList delivery insurance ledger.
limitsettlerequiredGet delivery order book.
limitsettlerequiredwith_idcontractrequiredintervalList delivery risk limit tiers.
limitoffsetsettlerequiredcontractList delivery tickers.
settlerequiredcontractList delivery trades.
tofromlimitsettlerequiredlast_idcontractrequiredGet recommendations for stock dual investment products
coinmodetypehistory_pidsGet Simple Earn currency details.
currencyrequiredList dual investment plans.
coinpagesorttypeplan_idpage_sizequote_currencyList stock dual investment products
coinpagesorttypeplan_idpage_sizequote_currencyList fixed-term Earn products.
pagerequiredtypeassetlimitrequiredstatusshow_statusList fixed-term Earn products by asset.
typeassetrequiredList Simple Earn currencies.
Takes no parameters.
List all supported flash swap currency pairs
pagelimitcurrencyGet futures candlestick/OHLCV data
tofromlimitsettlerequiredcontractrequiredintervaltimezoneGet details of a single futures contract
settlerequiredcontractrequiredGet funding rate history for a futures contract
tofromlimitsettlerequiredcontractrequiredGet futures order book
limitsettlerequiredwith_idcontractrequiredintervalGet premium index (mark price minus index price) history for a contract
tofromlimitsettlerequiredcontractrequiredintervalGet a specific risk limit tier table by table ID.
settlerequiredtable_idrequiredGet ticker information for futures contracts
settlerequiredcontractGet recent public trades for a futures contract
tofromlimitoffsetsettlerequiredlast_idcontractrequiredGet constituent assets and weights for a futures index
indexrequiredsettlerequiredGet current funding rates for multiple contracts in one request
settlerequiredcontractsrequiredGet contract statistics (open interest, long/short ratio, etc.)
fromlimitsettlerequiredcontractrequiredintervalList market-level ADL risk states List the current ADL risk states of all futures markets for the specified settlement currency
settlerequiredList all perpetual futures contracts
limitoffsetsettlerequiredQuery all contract information (including delisted)
limitoffsetsettlerequiredGet futures insurance fund history
limitsettlerequiredGet personal futures liquidation history.
tofromlimitsettlerequiredcontractGet risk limit tiers for a futures contract
limitoffsetsettlerequiredcontractQuery futures RPI order book Bids will be sorted by price from high to low, while asks sorted reversely
limitsettlerequiredwith_idcontractrequiredintervalGet margin leverage tiers for a currency pair
currency_pairrequiredGet details of a specific unified margin currency pair
currency_pairrequiredList all currency pairs supported for unified margin lending
Takes no parameters.
Get current interest rates for specified currencies in multi-collateral loans (public)
vip_levelcurrenciesrequiredGet available fixed interest rates for multi-collateral loans (public)
Takes no parameters.
Get LTV (Loan-to-Value) ratios for multi-collateral loans (public)
Takes no parameters.
List all supported currencies for multi-collateral loans (public)
Takes no parameters.
Get details of a single options contract
contractrequiredGet a single options settlement record
atrequiredcontractrequiredunderlyingrequiredGet options candlestick data
tofromlimitcontractrequiredintervalList all options contracts for an underlying
expirationunderlyingrequiredList option expiration dates for an underlying
underlyingrequiredGet options order book
limitwith_idcontractrequiredintervalList options settlement history for an underlying
tofromlimitoffsetunderlyingrequiredGet options tickers for an underlying
underlyingrequiredList public options trades
tofromtypelimitoffsetcontractGet candlestick data for an options underlying index
tofromlimitintervalunderlyingrequiredGet ticker data for all contracts under an underlying
underlyingrequiredList all options underlying assets
Takes no parameters.
Get details of a single currency
currencyrequiredGet details of a single currency pair
currency_pairrequiredGet candlestick/OHLCV data for a currency pair
tofromlimitintervalcurrency_pairrequiredGet spot insurance fund history for a currency
torequiredfromrequiredpagelimitbusinessrequiredcurrencyrequiredGet the order book for a currency pair
limitwith_idintervalcurrency_pairrequiredGet ticker information for one or all currency pairs
timezonecurrency_pairGet recent trades for a currency pair
tofrompagelimitlast_idreversecurrency_pairrequiredList all currencies supported
Takes no parameters.
List all available spot trading pairs
Takes no parameters.
Get the RPI order book Get the RPI order book, with bids sorted by descending price and asks by ascending price.
limitwith_idintervalcurrency_pairrequiredList live stream replays from Gate Square
tagcoinsortlimitSearch Gate Square content using AI (posts, analysis, signals)
pagesortlimitkeywordcurrencytime_rangeQuery supported exchanges Query stock spot supported exchanges and whether stock transfers are supported. Rate limit: 5 qps.
Takes no parameters.
Query fee rates for Japanese and Korean stocks Query fee rates for Japanese and Korean stocks. Rate limit: 5 qps.
Takes no parameters.
Query market order book Rate limit: 5 qps.
symbolrequiredQuery symbol details Rate limit: 5 qps.
pagesymbolsexchangepage_sizeQuery symbol list Rate limit: 5 qps.
pagesymbolsexchangepage_sizewith_desc_i18nCalculate portfolio margin for hypothetical positions (read-only simulation).
bodyrequiredGet historical loan rates for a currency.
pagetierlimitcurrencyrequiredList currency discount tiers for unified account collateral
Takes no parameters.
List loan margin tiers for unified account
Takes no parameters.
List currencies supported in unified account.
currencyList chains supported for a currency
currencyrequired100% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
# 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{ "mcpServers": { "Gate": { "url": "https://api.gatemcp.ai/mcp/exchange", "transport": "streamable-http", "headers": { "Content-Type": "application/json", "Accept": "application/json, text/event-stream" } } }}{ "mcpServers": { "Gate": { "url": "https://api.gatemcp.ai/mcp", "transport": "streamable-http", "headers": { "Content-Type": "application/json", "Accept": "application/json, text/event-stream" } } }}{ "mcpServers": { "Gate-Dex": { "url": "https://api.gatemcp.ai/mcp/dex", "headers": { "x-api-key": "MCP_AK_8W2N7Q", "Authorization": "Bearer ${GATE_MCP_TOKEN}" } } }}{ "mcpServers": { "Gate-Info": { "url": "https://api.gatemcp.ai/mcp/info" }, "Gate-News": { "url": "https://api.gatemcp.ai/mcp/news" } }}# Global installnpm install -g mcporter
# Verify installationmcporter --version# 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 MCPmcporter 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/newsbrew 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{ "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" ] } }}{ "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" ] } }}{ "mcpServers": { "Gate": { "command": "python3", "args": ["/path/to/gate-mcp-proxy.py"] } }}{ "mcpServers": { "gate-mcp": { "command": "npx", "args": ["-y", "gate-mcp"], "type": "stdio" } }}{ "mcpServers": { "gate-mcp": { "command": "npx", "args": ["-y", "gate-mcp"], "type": "stdio", "env": { "GATE_API_KEY": "your-api-key", "GATE_API_SECRET": "your-api-secret" } } }}