mcp-server

v1.2.0
io.github.bitcompare/mcp-server Checked 2 hours ago Published 18 days ago

Crypto yield data for AI agents: lending, savings, staking, borrowing & stablecoin rates.

Values you need

VariableWhat it is
BITCOMPARE_API_KEYrequired secret Bearer API key from https://auth.bitcompare.net/pro/signup. Format: ck_live_*. Free keys can use get_rates, get_rate_by_symbol and list_providers; the other tools need a paid plan (Starter or above).

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-server -e 'BITCOMPARE_API_KEY=<BITCOMPARE_API_KEY>' -- npx -y --package=@bitcompare/mcp-server@1.2.0 bitcompare-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@bitcompare/mcp-server@1.2.0",
        "bitcompare-mcp"
      ],
      "command": "npx",
      "env": {
        "BITCOMPARE_API_KEY": "<BITCOMPARE_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@bitcompare/mcp-server@1.2.0",
        "bitcompare-mcp"
      ],
      "command": "npx",
      "env": {
        "BITCOMPARE_API_KEY": "<BITCOMPARE_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "BITCOMPARE_API_KEY",
      "id": "bitcompare-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@bitcompare/mcp-server@1.2.0",
        "bitcompare-mcp"
      ],
      "command": "npx",
      "env": {
        "BITCOMPARE_API_KEY": "${input:bitcompare-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "--package=@bitcompare/mcp-server@1.2.0", "bitcompare-mcp"]
env = { "BITCOMPARE_API_KEY" = "<BITCOMPARE_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp-server https://api.bitcompare.net/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.bitcompare.net/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://api.bitcompare.net/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-server": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://api.bitcompare.net/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "mcp-remote", "https://api.bitcompare.net/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Ask the user for: BITCOMPARE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: get_rates, get_rate_by_symbol, get_rate_history, list_providers, get_coin, list_coins, top_coins, similar_coins, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json