# crypto-api-fixer

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 1050 installs
- Author: aloryanirakan-cqmg
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/aloryanirakan-cqmg/crypto-api-fixer
- Updated: 2026-04-08
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/crypto-api-fixer

## What it 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.

## Requirements
- Remote server: `https://crypto-api-fixer--aloryanirakan-cqmg.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http crypto-api-fixer https://crypto-api-fixer--aloryanirakan-cqmg.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add crypto-api-fixer --url https://crypto-api-fixer--aloryanirakan-cqmg.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "crypto-api-fixer": {
            "url": "https://crypto-api-fixer--aloryanirakan-cqmg.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "crypto-api-fixer": {
            "type": "http",
            "url": "https://crypto-api-fixer--aloryanirakan-cqmg.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http crypto-api-fixer https://crypto-api-fixer--aloryanirakan-cqmg.run.tools
```

## When to use it
- 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
- 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.

## Similar
- [solanatracker-api](https://affpapa.org/en/nevibecode/skills/solanatracker-api.md) — skill · 484 installs
- [kalshi-api](https://affpapa.org/en/nevibecode/skills/kalshi-api.md) — skill · 355 installs
- [Robinhood Crypto](https://affpapa.org/en/nevibecode/mcp/robinhood-crypto.md) — MCP server · ★ 11 repo stars
- [ccxt-python](https://affpapa.org/en/nevibecode/skills/ccxt-python.md) — skill · 2400 installs
- [ccxt-typescript](https://affpapa.org/en/nevibecode/skills/ccxt-typescript.md) — skill · 985 installs
- [Crypto News Feed — Sentiment Scores & Token Mentions](https://affpapa.org/en/nevibecode/mcp/crypto-news-feed-sentiment-scores-token-mentions.md) — MCP server · 3755 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
