mcpField
G
gate-dex-market

gate-dex-market

github.com/gateData & databases48170 installsUpdated 18w ago
Repository

About gate-dex-market

Gate DEX Market is a skill for querying and analyzing crypto market data, intended for users seeking prices, rankings, or risk information. It performs read-only queries and does not execute transactions, exposing market data tools through MCP.

Key features

  1. 01Query candlesticks and token info
  2. 02View token rankings
  3. 03Retrieve security risk data
  4. 04List tradable and bridge tokens
  5. 05Perform read-only data queries

Use cases

  1. 01Check token prices and trends
  2. 02Find trending or rising tokens
  3. 03Review token security risks

MCP support

It exposes six market-data tools through MCP, including candlesticks, token information, rankings, risk information, and token listings. Market queries require no authentication.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/gate/gate-skills --skill gate-dex-market

After installing, type/gate-dex-marketin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

CHANGELOG.md
install.sh
README.md
references/
mcp.md
openapi.md
references/openapi/
_shared.md
market-data.md
token-data.md
scripts/
gate-api-call.py

Details

From the project README

Gate DEX Market

Pure Routing Layer — READ-ONLY data queries only. Never executes transactions. All specifications in references/.

General Rules

⚠️ STOP — You MUST read and strictly follow the shared runtime rules before proceeding. Do NOT select or call any tool until all rules are read. These rules have the highest priority. → Read gate-runtime-rules.md

Trigger Scenarios: Use when the user wants to look up or analyze market data without executing any transaction:

  • Price lookup: "what is the price of ETH", "check SOL price", "price of 0x1234..."
  • Charts: "show K-line", "candlestick chart", "price trend"
  • Rankings: "top gainers", "trending tokens", "token rankings"
  • Security: "is this token safe", "security audit", "honeypot check", "risk analysis"
  • Discovery: "new tokens", "newly listed", "holder analysis", "whale tracking"
  • Volume: "trading volume", "buy-sell pressure", "liquidity events"

Project convention — MCP only

No OpenAPI unless user explicitly asks. MCP setup: see gate-dex-trade/references/setup.md.


NOT this skill (common misroutes):

  • "quote for swapping X to Y" → gate-dex-trade (swap execution)
  • "check my balance" → gate-dex-wallet (account query)
  • "buy ETH" / "sell USDT" → gate-dex-trade (transaction execution)

Routing Flow

User triggers market data query
  |
Step 1: OpenAPI only if user explicitly asks. Else MCP only.
Step 2: MCP discovery → success = MCP mode; fail = MCP setup guide (no OpenAPI fallback).

Feature Matrix

FeatureMCPOpenAPINotes
K-line / CandlestickYesYes
Token basic infoYesYes
Token rankingsYesYes
Security risk auditYesYes
Tradable token listYesYes
Cross-chain bridge tokensYesNoMCP only
Holder analysis (Top N)NoYesOpenAPI only
New token discoveryNoYesOpenAPI only
Liquidity events (Rug Pull)NoYesOpenAPI only
Volume stats (multi-period)NoYesOpenAPI only

Mode Dispatch

MCP Mode

Read and strictly follow references/mcp.md, execute according to its complete workflow.

Includes: connection detection, 6 market data tools (dex_market_get_kline, dex_token_get_coin_info, dex_token_ranking, dex_token_get_risk_info, dex_token_list_swap_tokens, dex_token_list_cross_chain_bridge_tokens), no authentication required for market queries.

OpenAPI Mode (Progressive Loading)

Explicit user request only. Load files progressively:

  1. Always load first: references/openapi/_shared.md — env detection, credentials, API call method (via helper script)
  2. Then load based on query type:
Query TypeLoad File
Token info, rankings, new tokens, security, holdersopenapi/token-data.md
Volume stats, K-line, liquidity eventsopenapi/market-data.md

Legacy monolithic file preserved at references/openapi.md for backward compatibility.


Supported Chains

Actual supported chains are determined by runtime API/Resource returns:

  • MCP Mode: via dex_chain_config tool
  • OpenAPI Mode: chain parameter in request

Common chains: eth, bsc, polygon, arbitrum, optimism, avax, base, sol.


Security Rules

  1. Data objectivity: Present prices and rankings objectively, no investment advice
  2. Risk warnings: Clearly remind users to judge investment risks themselves when showing security audits
  3. Credential security: Follow §3 of gate-runtime-rules.md for auth/credential handling
  4. Read-only: All operations are data queries, no on-chain write operations

Comments

Markdown supported