mcp-crypto-arbitrage
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-crypto-arbitrageFind arbitrage spreads on top 5 coins"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
An MCP server that exposes CoinGecko crypto market data as tools — get spot prices and find cross-exchange arbitrage spreads without ever needing an API key.
Tools
Tool | What it does |
| Current USD prices for one or more coins by CoinGecko ID |
| Widest cross-exchange USD/USDT price spread for one coin, above a minimum percentage |
| Scan the top N coins by market cap for arbitrage spreads above a threshold |
Related MCP server: CoinGecko MCP Server
Prerequisites
Node.js 18+
Nothing else — CoinGecko's public API works with no key. Optionally set
COINGECKO_API_KEY(free Demo key) for a higher rate limit (100 calls/min vs the public tier's much lower limit)
Installation
Quick install
The package is published on npm, so these register it in one step — no cloning or building required:
Claude Code:
claude mcp add crypto-arbitrage -- npx -y mcp-crypto-arbitrageCodex CLI:
codex mcp add crypto-arbitrage -- npx -y mcp-crypto-arbitrageManual config (any stdio MCP client)
Most clients that support stdio MCP servers (Claude Desktop, Cursor, Windsurf, etc.) use this same config shape — add it to whichever config file your client expects:
{
"mcpServers": {
"crypto-arbitrage": {
"command": "node",
"args": ["/absolute/path/to/mcp-crypto-arbitrage/dist/index.js"]
}
}
}Add COINGECKO_API_KEY under env if you have one.
Restart your client, then try asking:
"What's the price of bitcoin and ethereum right now?"
"Is there an arbitrage opportunity on solana above 0.5%?"
"Scan the top 10 coins for cross-exchange spreads"
How it works
MCP client (Claude, Inspector, ...)
│ stdio, JSON-RPC
▼
McpServer (src/server.ts)
│
▼
tools/*.ts — one file per tool: Zod schema + handler, formats the reply
│
▼
endpoints/*.ts — one file per CoinGecko endpoint: typed request + response
│
▼
apiClient.ts — optional demo-key header, CoinGecko error/rate-limit parsing
│
▼
client.ts — generic fetch wrapper, timeout, HTTP error handling
│
▼
CoinGecko REST APIEach layer knows nothing about the one above it. client.ts doesn't know CoinGecko exists; endpoints/ doesn't know MCP exists. Adding a new tool means one new file in endpoints/, one new file in tools/, one line in tools/index.ts — nothing else changes.
Tool arguments are validated with Zod before any handler runs — a malformed request never reaches the API.
find_arbitrage and scan_top_coins compare only USD/USDT-quoted markets from CoinGecko's /coins/{id}/tickers endpoint — the widest gap between the lowest and highest last-traded price across those markets is reported as the spread. This is raw market-data spread, not a tradeable guarantee: it ignores withdrawal/deposit friction, exchange fees, and execution slippage.
Development
git clone https://github.com/abe-source/mcp-crypto-arbitrage.git
cd mcp-crypto-arbitrage
npm install
npm run build # compile TypeScript
npm run lint # check formatting + lint rules
npm run check # lint + format + fix, in placeTest locally with the MCP Inspector:
npx @modelcontextprotocol/inspector --cli node dist/index.js --method tools/call --tool-name get_coin_prices --tool-arg coins=bitcoin,ethereumLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceFree MCP server for real-time cryptocurrency data. Get token prices, market overview, top movers, historical charts, and detailed token info directly in Claude Code, Cursor, or any MCP-compatible AI tool. Powered by CoinGecko with 70+ token mappings and built-in caching.Last updated5MIT
- AlicenseAqualityFmaintenanceAn MCP server for CoinGecko that connects any MCP-compatible client to free crypto market data, providing tools for prices, market caps, trending coins, historical data, and global stats.Last updated8107MIT
- Alicense-qualityCmaintenanceMCP server providing market data for 15,000+ cryptocurrencies including prices, history, trends, and deep coin metadata via CoinGecko.Last updated811Apache 2.0
- Alicense-qualityBmaintenanceA Model Context Protocol server for real-time cryptocurrency price data, market data, trending coins, historical charts, and currency conversion using the free CoinGecko API.Last updatedMIT
Related MCP Connectors
CoinGecko MCP — wraps CoinGecko free API (no auth required)
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
Live and historical cryptocurrency prices via CoinGecko free API.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/abe-source/mcp-crypto-arbitrage'
If you have feedback or need assistance with the MCP directory API, please join our Discord server