Claude Code
Developer integration guide — connect GoldenClaw to Claude Code via MCP.
Prerequisites
- GoldenClaw API key (create one here)
- Claude Code installed
Setup
1. Add GoldenClaw MCP Server
Run this command in your terminal:
claude mcp add --transport http goldenclaw https://stage.goldenclaw.sh/mcp \
--header "Authorization: Bearer YOUR_API_KEY"Replace YOUR_API_KEY with your actual API key.
2. Verify Connection
Start Claude Code and type:
"What's the current BTC/USDT price on Binance futures?"
You should see Claude call the get_price tool and return the current price.
Example Prompts
Claude Code automatically discovers all GoldenClaw tools when connected. No special prompts needed — just ask naturally:
"Calculate RSI for ETH/USDT on the 4h timeframe on Bybit"
"What are my open positions on Binance futures?"
"Show me Bollinger Bands for SOL/USDT on OKX"
"Analyze BTC/USDT: get price, RSI, and MACD on the 4h chart"
Claude Code chains multiple tools automatically — fetching data, calculating indicators, and providing analysis in a single response.
Remove Server
claude mcp remove goldenclawAvailable Tools
| Category | Tools |
|---|---|
| Market Data | get_price, get_ohlcv, get_ticker, get_pairs, get_symbols, get_timeframes |
| Trading | place_order, cancel_order, get_orders, get_positions, close_position |
| Account | get_balance, get_account |
| Analysis | calculate_indicator (35+ indicators) |
| Discovery | list_exchanges |
See MCP Tools for full tool documentation.
Troubleshooting
"claude mcp add" not recognized
Update Claude Code to the latest version:
claude update"Unauthorized" error
Your API key may have expired or been revoked. Generate a new one from your Dashboard.
"Connection refused" or timeout
Check that the URL is exactly https://stage.goldenclaw.sh/mcp. Ensure your network allows outbound HTTPS connections.
Tools not appearing
Run claude mcp list to verify GoldenClaw is registered. If listed but tools don't appear, restart Claude Code.