Realtime Crypto (CoinCap) MCP server

Provides real-time cryptocurrency data through the CoinCap API, offering detailed exchange information and current rates with robust error handling and automatic retries.
Back to servers
Provider
Mohan Kumar
Release date
Apr 05, 2025
Language
TypeScript
Package
Stats
83 downloads
1 star

This MCP server provides real-time cryptocurrency data by integrating with the CoinCap API, allowing you to retrieve detailed cryptocurrency exchange information and current rates in your applications.

Installation

Prerequisites

  • Node.js 18+
  • npx

Setup

To get started, add this configuration to your MCP Client config json:

{
  "mcpServers": {
    "realtime-crypto": {
      "command": "npx",
      "args": ["realtime-crypto-mcp-server"]
    }
  }
}

Usage

The server provides two main tools for retrieving cryptocurrency data:

Getting Exchange Details

Use the getExchangeDetailsTool to retrieve information about specific cryptocurrency exchanges.

Input Parameters:

  • exchange (string): Exchange ID (e.g., binance, coinbase, kraken)

Example Response:

Name: Binance  
Rank: 1  
Volume (USD): $14,789,244,354.70  
% of Total Volume: 31.39%  
Trading Pairs: 1078  
Website: https://www.binance.com/  
Last Updated: 4/5/2025, 12:34:56 PM

Getting Cryptocurrency Rates

Use the getRatesTool to fetch current exchange rates for cryptocurrencies.

Input Parameters:

  • currency (string): Cryptocurrency ID (e.g., bitcoin, ethereum, litecoin)

Example Response:

Symbol: BTC ₿
Type: crypto
USD Rate: $82,821.30

Rate Limiting

The server implements built-in rate limiting and retry mechanisms to handle CoinCap API constraints:

  • Maximum of 3 retries for rate-limited requests
  • Exponential backoff strategy starting at 1 second

Data Source

This MCP server uses data from the CoinCap API, which provides real-time pricing and market activity for over 1,000 cryptocurrencies.

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later