crypto-api-fixer — Claude Code MCP server: features and setup
crypto-api-fixer — an MCP server for handling exchange API failures in trading bots, with tools for stale responses, unavailable endpoints, price checks, and more.
no license 1,050 installs updated 2026-04-08
claude mcp add --transport http crypto-api-fixer https://crypto-api-fixer--aloryanirakan-cqmg.run.toolsWhat crypto-api-fixer does
The server provides tools for exchange API problems such as throttling, malformed JSON, authentication errors, and WebSocket disconnects. Use auto_fix to identify the issue, or call a tool for a specific failure. When an API endpoint is down, the server can route requests to backup addresses for Binance, Coinbase, Kraken, Bybit, and OKX.
The price check flags deviations above 3% and calculates a median. A financial-risk tool pauses trading when prices spike by more than 3%, liquidity is low, or API latency exceeds 500 ms. Key validation warns about withdrawal access and switches to a safer trading mode. Requests cost $0.003 or $0.007 depending on the tool; the free tier covers 100 requests per bot. Paid use relies on x402 payments in USDC on Base, so that payment method is a prerequisite for the paid tier.
What it helps with
- refresh stale exchange API data
- handle rate limits and unavailable endpoints
- repair malformed JSON and changed response schemas
- compare exchange prices and flag outliers
- pause trading when prices spike or liquidity is low
Example prompts for the agent
- Check whether the exchange response is stale and fetch current values from a backup source.
- Handle the API rate limit and retry the exchange request.
- Check the API key for withdrawal access and switch the bot to safe trading mode.
How to install crypto-api-fixer
Platform CLI: remote server
claude mcp add --transport http crypto-api-fixer https://crypto-api-fixer--aloryanirakan-cqmg.run.toolsPlatform CLI: remote server
codex mcp add crypto-api-fixer --url https://crypto-api-fixer--aloryanirakan-cqmg.run.toolsConfig file
{
"mcpServers": {
"crypto-api-fixer": {
"url": "https://crypto-api-fixer--aloryanirakan-cqmg.run.tools"
}
}
}Config file
{
"servers": {
"crypto-api-fixer": {
"type": "http",
"url": "https://crypto-api-fixer--aloryanirakan-cqmg.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http crypto-api-fixer https://crypto-api-fixer--aloryanirakan-cqmg.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about crypto-api-fixer
How do I install crypto-api-fixer in Claude Code?
Run claude mcp add --transport http crypto-api-fixer https://crypto-api-fixer--aloryanirakan-cqmg.run.tools.
What does crypto-api-fixer do?
It provides tools to detect and handle crypto exchange API failures, including stale data, authentication problems, and broken connections.
Which exchanges are listed for API failover?
The failover tool lists Binance, Coinbase, Kraken, Bybit, and OKX.