The Crush Rewards MCP server lets AI agents call the Pricing Intelligence API as native tools. The MCP handles wallet setup, multi-chain payment routing, and protocol negotiation automatically — you ask Claude a pricing question, the MCP pays and returns the answer.Documentation Index
Fetch the complete documentation index at: https://crushrewards.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
Install
- Generating a multi-chain wallet (Solana + EVM), or skipping if you want to bring your own keys
- Wiring the MCP into Claude Code
Bring your own keys
Skip the auto-generated wallet by setting both env vars before running setup:Manual MCP config
If your client doesn’t support automatic MCP setup, add this to your MCP config:Multi-chain routing
The MCP holds USDC across Solana, Base, and Tempo. On every call, it tries chains in order (Solana → Base → Tempo) and uses the first one with sufficient balance. You don’t need to think about which chain to fund — top up wherever’s convenient. If a chain’s RPC is rate-limited or down, the MCP attempts payment anyway rather than blocking on RPC health. Requests never hang.Configuration
| Env var | Default | Purpose |
|---|---|---|
CRUSH_EVM_PRIVATE_KEY | (auto) | Override EVM key (Base + Tempo) |
CRUSH_SOLANA_PRIVATE_KEY | (auto) | Override Solana key |
CRUSH_API_BASE | https://api.crushrewards.dev | API base URL (HTTPS required) |
CRUSH_SOLANA_RPC_URL | mainnet-beta public RPC | Custom Solana RPC for balance checks |
CRUSH_TEMPO_RPC_URL | https://rpc.tempo.xyz | Custom Tempo RPC for balance checks |
CLI commands
| Command | Purpose |
|---|---|
npx @crush-rewards/mcp-server | Start the MCP server (default) |
... --setup | Interactive setup (wallet + Claude Code wiring) |
... --export-keys | Print private keys for backup |
... --info | Show addresses, balances, and config |
... --help | Usage overview |
What’s next
Available tools
The 13 pricing tools the MCP exposes, with example prompts.
Direct HTTP
Skip the MCP and call the API directly with x402.
