Bitget Wallet MCP Server

April 16, 2026 ยท View on GitHub

An MCP (Model Context Protocol) server that exposes Bitget Wallet on-chain API as tools for AI agents.

Features

๐Ÿ“Š Market Data (21 tools)

  • Token Search โ€” v3 keyword search with ordering + v2 broader DEX search
  • Token Info โ€” price, market cap, holders, social links (single + batch)
  • Market Info โ€” price, MC, FDV, liquidity, holders, narratives, pool list
  • K-line โ€” candlestick data + simplified K-line with smart money/KOL overlays
  • Transaction Stats โ€” buy/sell volume, trader counts (single + batch)
  • Trading Dynamics โ€” buy/sell pressure across time windows
  • Transaction List โ€” recent trades with tag filtering (KOL, smart money)
  • Holder Analysis โ€” distribution, top holders, special holder filters
  • Profit Analysis โ€” profitable vs losing addresses, top earners per token
  • Developer Analysis โ€” dev history, rug rate, project migration status
  • Rankings โ€” top gainers, top losers, hot picks
  • Liquidity Pools โ€” LP pool information per token
  • Launchpad Scanning โ€” new tokens on pump.fun etc. with filters
  • Historical Tokens โ€” discover tokens by creation timestamp
  • Security Audit โ€” honeypot detection, permission checks, tax analysis

๐Ÿ” Smart Money (1 tool)

  • Address Discovery โ€” find KOL and smart money wallets with PnL, win rate, trade count filters

๐Ÿ“ˆ RWA Stock Trading (6 tools)

  • Ticker List โ€” available RWA stocks (NVDA, TSLA, AAPL, etc.) on BNB/ETH
  • Stock Info โ€” market status, trading limits, description
  • Order Price โ€” pre-trade buy/sell price display
  • K-line โ€” stock price charts
  • Trading Config โ€” stablecoins, slippage, amount limits, gas info
  • Portfolio โ€” user's RWA holdings

๐Ÿ’ฑ Swap (7 tools)

  • Quote โ€” multi-market quotes with requestId
  • Confirm โ€” second quote with MEV protection, gas features
  • Make Order โ€” create order, get unsigned txs
  • Send โ€” submit signed transactions
  • Order Details โ€” track order status (init โ†’ processing โ†’ success/failed)
  • Check Token โ€” pre-trade risk check
  • Token List โ€” popular tokens per chain

๐Ÿ” Token Transfer (3 tools)

  • Make Transfer Order โ€” create transfer order, get unsigned tx data (supports gasless)
  • Submit Transfer โ€” submit signed transfer transaction
  • Get Transfer Order โ€” poll transfer order status (PENDING โ†’ PROCESSING โ†’ SUCCESS/FAILED)

๐Ÿ’ฐ Balance (1 tool)

  • Batch Balance โ€” multi-chain token balances with USD values

Supported Chains

Ethereum ยท Solana ยท BNB Chain ยท Base ยท Arbitrum ยท Tron ยท TON ยท Sui ยท Optimism ยท Polygon ยท Morph

Quick Start

Install

pip install -e .

Run

python server.py

Or via MCP CLI:

mcp run server.py

Configure in Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "bitget-wallet": {
      "command": "python",
      "args": ["/path/to/bitget-wallet-mcp/server.py"]
    }
  }
}

Configure in Cursor / Windsurf

Add to your MCP settings:

{
  "bitget-wallet": {
    "command": "python",
    "args": ["/path/to/bitget-wallet-mcp/server.py"]
  }
}

Tools (39)

Market Data

ToolDescription
token_infoDetailed token info (price, market cap, supply, holders)
token_priceQuick price lookup
batch_token_infoMulti-token info in one call
search_tokensv3 token search with ordering
search_tokens_v2v2 broader search (DEX tokens)
coin_market_infoMarket info + pool list + narratives
coin_devDeveloper history and rug rate
klineCandlestick data (1s to 1w periods)
simple_klineK-line with smart money/KOL/developer overlays
tx_infoTransaction volume and trader stats
batch_tx_infoBatch transaction stats
trading_dynamicsBuy/sell pressure across time windows
transaction_listRecent trades with tag filtering
holders_infoHolder distribution and top holders
profit_address_analysisProfitable vs losing address stats
top_profitTop profitable addresses per token
rankingsTop gainers / losers / hot picks
liquidityLiquidity pool info
launchpad_tokensLaunchpad scanning with filters
historical_coinsDiscover tokens by creation time
security_auditContract security checks

Smart Money

ToolDescription
smart_money_addressesKOL/smart money address discovery with filters

RWA Stock Trading

ToolDescription
rwa_ticker_listAvailable RWA stocks
rwa_configTrading config (stablecoins, limits)
rwa_stock_infoStock info and market status
rwa_order_pricePre-trade buy/sell price
rwa_klineStock K-line charts
rwa_my_holdingsUser's RWA portfolio

Swap

ToolDescription
swap_quoteMulti-market swap quotes
swap_confirmConfirm with MEV protection
swap_make_orderCreate order (unsigned txs)
swap_sendSubmit signed transactions
swap_get_order_detailsTrack order status
check_swap_tokenPre-trade risk check
get_token_listPopular tokens per chain

Token Transfer

ToolDescription
transfer_make_orderCreate transfer order (unsigned tx data, supports gasless)
transfer_submitSubmit signed transfer transaction
transfer_get_orderPoll transfer order status

Balance

ToolDescription
balanceBatch balance + USD values

โš ๏ธ Amounts are human-readable โ€” pass "0.1" for 0.1 USDT, NOT wei/lamports.

Environment Variables

VariableDefaultDescription
BGW_WALLET_ID(empty)Wallet ID for Social Login Wallet users (optional)

No API key required โ€” uses SHA256 hash signing (BKHmacAuth).

Security

  • Only communicates with https://copenapi.bgwapi.io โ€” no other external endpoints
  • No API keys or secrets โ€” SHA256 hash signing with zero credentials
  • No eval() / exec() or dynamic code execution
  • No file system access outside the project directory
  • No data collection, telemetry, or analytics
  • No access to sensitive files (SSH keys, credentials, wallet files, etc.)
  • Dependencies: requests, mcp only
  • SlowMist security review: ๐ŸŸข LOW risk
  • We recommend auditing the source yourself before installation

License

MIT