CC Trading Terminal
An MCP server that lets Claude Code (and other MCP clients) trade crypto, read market data, and manage wallets across EVM chains and Solana.
README
CC Trading Terminal
An MCP server that lets Claude Code (and other MCP clients) trade crypto, read market data, and manage wallets across EVM chains and Solana.
What it does
Connect this server to your AI agent and it can:
- Trade on EVM chains — get swap quotes, execute trades, and use gasless swaps on 17 networks (Ethereum, Base, Arbitrum, Optimism, Polygon, and others)
- Trade on Solana — swap via Jupiter/Raydium/Meteora, place limit orders, check balances, send SOL
- Research markets — token prices, trending pools, OHLCV, and pool data via CoinGecko
- Run memecoin workflows — PumpFun trending, quick buys, launch scanning, and an optional auto-buy bot
- Manage wallets — generate, import, and back up multiple EVM and Solana wallets locally
- Stream live data — optional pipeline for ingesting and processing real-time market feeds
Your keys stay on your machine. The server signs transactions locally and never sends private keys anywhere.
Quick start
Install
npm install @degentic/cc-trading-terminal
Add to Claude Code
claude mcp add cc-trading-terminal \
-e USER_PRIVATE_KEY=your_evm_private_key \
-e USER_ADDRESS=0xYourEVMWalletAddress \
-e COINGECKO_API_KEY=your_coingecko_api_key \
-e ALCHEMY_API_KEY=your_alchemy_api_key \
-e SOLANA_PRIVATE_KEY=your_solana_private_key \
-- npx cc-trading-terminal
Check it’s connected
claude mcp list
Run the setup wizard for sample configs and a dev .env template:
npm run setup
npm run setup:dev # copies .env.example → .env for local work
Environment variables
| Variable | Required | Purpose |
|---|---|---|
USER_PRIVATE_KEY |
Yes | EVM wallet used to sign trades |
USER_ADDRESS |
Yes | EVM wallet address |
COINGECKO_API_KEY |
Yes | Market data (pools, prices, OHLCV) |
ALCHEMY_API_KEY |
No | Better RPC endpoints when available |
SOLANA_PRIVATE_KEY |
No | Enables Solana tools (base58, hex, or JSON array) |
Generate a new EVM wallet without leaving the terminal:
npx cc-trading-terminal --create-wallet
How to use it
Once the MCP server is running, ask your agent in plain language — for example:
- “Get a swap quote for 0.1 ETH → USDC on Base.”
- “Show trending pools on Ethereum.”
- “What’s my SOL balance?”
- “Swap 1 SOL to BONK with low slippage.”
The agent picks the right tool automatically. You don’t need to memorize tool names.
Tools group roughly into: EVM swaps & portfolio, CoinGecko data, Solana wallet & DEX, memecoin / PumpFun, wallet vault, and unit conversion helpers.
Solana CLI scripts
For quick shell workflows (no MCP required), use the scripts in solana_commands/:
node solana_commands/solana-balance-check.js [address] [cluster]
node solana_commands/solana-transfer.js <recipient> <amount> [cluster]
node solana_commands/solana-airdrop-request.js [amount] [cluster] # devnet/testnet
Set SOLANA_PRIVATE_KEY in your environment or .env first.
Data pipeline (optional)
The built-in pipeline pulls live market data over WebSockets, validates and normalizes it, and can store history for backtesting or monitoring. Most users only need the MCP tools; run the pipeline when you want a always-on data feed.
npm run pipeline:start
Architecture
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ Data Sources │───▶│ Pipeline Core │───▶│ Consumers │
├─────────────────┤ ├──────────────────┤ ├─────────────────┤
│ • CC Terminal │ │ • Connection Mgr │ │ • Trading Bots │
│ • Binance │ │ • Queue Manager │ │ • Risk Systems │
│ • Coinbase │ │ • Data Processor │ │ • Analytics │
│ • CoinGecko │ │ • Validator │ │ • Monitoring │
│ • Uniswap │ │ • Transformer │ │ • Historical DB │
│ • Custom APIs │ │ • Enricher │ │ • Dashboards │
└─────────────────┘ └──────────────────┘ └─────────────────┘
See src/pipeline/examples/startDataPipeline.js for a programmatic setup.
Security
- Private keys and signing happen only on your device
- Use a dedicated trading wallet, not your main holdings
- Encrypted wallet backups use AES-256-CBC — pick a strong password
- Never commit
.env, keys, orwallets/to git
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。