Bitget Wallet MCP Server
Exposes Bitget Wallet's ToB API to AI agents for querying multi-chain token data, security audits, and market statistics. It allows users to retrieve real-time prices, liquidity pool information, and generate unsigned swap transaction data across various blockchains.
README
Bitget Wallet MCP Server
An MCP (Model Context Protocol) server that exposes Bitget Wallet ToB API as tools for AI agents.
Features
- Token Info — price, market cap, holders, social links
- Batch Price Query — multi-token lookup in one call
- K-line Data — candlestick data across multiple timeframes
- Transaction Stats — buy/sell volume and trader counts
- Rankings — top gainers and top losers
- Liquidity Pools — LP pool information
- Security Audit — honeypot detection, permission checks, blacklist analysis
- Swap Quote — best-route quotes for same-chain and cross-chain swaps
- Swap Calldata — generate unsigned transaction data for wallet signing
Supported Chains
Ethereum · Solana · BNB Chain · Base · Arbitrum · Tron · TON · Sui · Optimism
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
| Tool | Description |
|---|---|
token_info |
Detailed token information (price, market cap, supply, holders) |
token_price |
Quick price lookup |
batch_token_info |
Multi-token info in one call |
kline |
Candlestick data (1s to 1w periods) |
tx_info |
Transaction volume and trader statistics |
rankings |
Top gainers / top losers |
liquidity |
Liquidity pool information |
security_audit |
Contract security checks |
swap_quote |
Best-route swap quotes |
batch_tx_info |
Batch transaction statistics for multiple tokens |
historical_coins |
Discover new tokens by timestamp |
swap_send |
Broadcast signed transactions (MEV-protected) |
swap_calldata |
Generate unsigned swap transaction data |
⚠️ Swap amounts are human-readable — pass
"0.1"for 0.1 USDT, NOT"100000000000000000". ResponsetoAmountis also human-readable.
Environment Variables
| Variable | Default | Description |
|---|---|---|
BGW_API_KEY |
Built-in demo key | Bitget Wallet ToB API appId |
BGW_API_SECRET |
Built-in demo secret | Bitget Wallet ToB API apiSecret |
BGW_PARTNER_CODE |
bgw_swap_public |
Partner code for swap endpoints |
Note: The built-in demo keys are for testing purposes and may change over time. If they stop working, please update to get the latest keys.
Related Projects
- bitget-wallet-skill — OpenClaw AI Agent skill (with platform compatibility guide)
- bitget-wallet-cli — CLI tool for terminal users
Security
- Swap calldata only generates unsigned transaction data — actual execution requires wallet signing
- Demo API keys are public and read-only safe
- For production use, set your own credentials via environment variables
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.