mcp-server
v1.2.0Crypto yield data for AI agents: lending, savings, staking, borrowing & stablecoin rates.
Values you need
| Variable | What it is | |
|---|---|---|
BITCOMPARE_API_KEY | required 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-mcpAdd 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
- Ask the user for: BITCOMPARE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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