Crypto Price (CoinCap) logo

Crypto Price (CoinCap)

Community
truss44

A Model Context Protocol (MCP) server that provides real-time cryptocurrency analysis via CoinCap's API. Enables Claude and other MCP clients to fetch crypto prices, analyze market trends, and track historical data.

Publishertruss44
Repositorymcp-crypto-price
LanguageTypeScript
Forks
8
Stars
39
Available tools
3
Transport typestdio, streamable-http
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Crypto Price (CoinCap) exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 3 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    39 stars and 8 forks from the linked repository.

Crypto Price & Market Analysis MCP Server

smithery badge NPM Downloads

A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface. Supports both STDIO and Streamable HTTP transports.

Requirements

  • Node.js 22.14+
  • CoinCap API key via COINCAP_API_KEY

What's New

  • BREAKING: CoinCap v2 API removed. Now uses v3 API exclusively. A COINCAP_API_KEY is required (free tier available at pro.coincap.io/dashboard)
  • Streamable HTTP transport added (while keeping STDIO compatibility)
  • Smithery CLI scripts to build and run the HTTP server
  • 6 new tools: assets-search, market-global, assets-compare, analysis-candlestick, price-convert, assets-info
  • Hierarchical tool naming: All tools organized into category-prefixed names (price-*, market-*, assets-*, analysis-*)
  • Output schemas: All tools now declare outputSchema with structuredContent for type-safe responses
  • MCP best practices: isError flag on validation errors, server description, and asset://{symbol} resource template

Usage

Add this configuration to your Claude Desktop config file:

  • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
json
{
  "mcpServers": {
    "mcp-crypto-price": {
      "command": "npx",
      "args": ["-y", "mcp-crypto-price"],
      "env": {
        "COINCAP_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

If your MCP client requires launching via cmd.exe on Windows:

json
{
  "mcpServers": {
    "mcp-crypto-price": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "mcp-crypto-price"],
      "env": {
        "COINCAP_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

Development scripts

bash
pnpm dev          # Development (HTTP server with hot reload via Smithery CLI)
pnpm build         # Compile TypeScript → dist/
pnpm format        # Format source files with Prettier
pnpm lint          # Check for lint errors (ESLint + typescript-eslint)
pnpm lint:fix      # Auto-fix lint errors
pnpm types:check   # TypeScript type-check without emitting files
pnpm test          # Run all tests with Vitest
pnpm test:coverage # Run tests with coverage report (Vitest)
pnpm inspector     # Open MCP inspector for interactive debugging

Run as Streamable HTTP server

You can run the server over HTTP for environments that support MCP over HTTP streaming.

  • Dev server (recommended during development):
bash
pnpm dev
  • Build and run the HTTP server:
bash
# Build (outputs to dist/)
pnpm build

# Start the HTTP server
pnpm start:http
  • Build and run the STDIO server:
bash
# Build (outputs to dist/)
pnpm build

# Start the STDIO server
pnpm start:stdio

The server listens on port 3000 by default (override with PORT). For clients that connect over HTTP (e.g. Smithery, Claude.ai), pass your API key as a query parameter:

http://localhost:3000/mcp?COINCAP_API_KEY=YOUR_API_KEY_HERE

For remote deployments:

https://mcp-crypto-price.codemonkeyinnovations.com/mcp?COINCAP_API_KEY=YOUR_API_KEY_HERE

Required: CoinCap API Key

This server uses the CoinCap v3 API, which requires an API key. A free tier is available.

  1. Sign up and get your API key at pro.coincap.io/dashboard
  2. Add the key to your MCP client configuration:
    • STDIO: via the COINCAP_API_KEY environment variable (see Usage examples above)
    • HTTP: via the COINCAP_API_KEY query parameter in the connection URL (e.g. /mcp?COINCAP_API_KEY=your_key)

Without a valid API key, all tools will return an error with instructions on how to obtain one.

Note for Smithery CLI users

This MCP server works directly via pnpm dlx (configs above) and does not require Smithery.

If you do use the Smithery CLI, authenticate with smithery auth login or by setting SMITHERY_API_KEY in your environment. Recent versions of the Smithery CLI do not support passing API keys via --key (or older --profile patterns).

Launch Claude Desktop to start using the crypto analysis tools.

Tools

price-get

Gets current price and 24h stats for any cryptocurrency, including:

  • Current price in USD
  • 24-hour price change
  • Trading volume
  • Market cap
  • Market rank

price-convert

Converts a cryptocurrency amount into any fiat currency:

  • Uses real-time price data and USD-based exchange rates
  • Parameters: symbol (e.g. BTC), amount (default 1), currency (default usd)
  • Example: 2.5 BTC in EUR

market-analysis

Provides detailed market analysis including:

  • Top 5 exchanges by volume
  • Price variations across exchanges
  • Volume distribution analysis
  • VWAP (Volume Weighted Average Price)

market-global

Provides an overview of the entire cryptocurrency market:

  • Total market capitalization across all assets
  • 24-hour trading volume
  • Number of active cryptocurrencies
  • Bitcoin dominance percentage
  • Top gainers and losers

market-rates

Returns USD-based conversion rates for fiat currencies and cryptocurrencies:

  • All fiat currency rates (USD base)
  • Top 10 cryptocurrency rates
  • Optional slug parameter (e.g. euro, bitcoin) for a single rate lookup

market-exchanges

Lists top cryptocurrency exchanges ranked by 24h volume:

  • Exchange name, rank, and 24h volume in USD
  • Number of trading pairs and market share percentage
  • Optional exchangeId parameter (e.g. binance) for single exchange details
  • Optional limit parameter (1–50, default 10)

assets-top

Lists top cryptocurrencies ranked by market cap, including:

  • Current price in USD
  • 24-hour price change
  • Market cap and rank
  • Configurable result count (1–50, default 10)

assets-search

Searches for cryptocurrencies by name or symbol with fuzzy matching:

  • Returns matching assets with symbol, name, price, and rank
  • Configurable result count (1–50, default 10)
  • Example: search "bit" returns Bitcoin, Bitcoin Cash, BitTorrent, etc.

assets-info

Returns detailed metadata for a single cryptocurrency:

  • ID, rank, symbol, and name
  • Price, 24h change, market cap, and volume
  • Circulating supply and max supply
  • VWAP (24h)

assets-compare

Compares 2–5 cryptocurrencies side by side:

  • Price, 24h change, market cap, volume, and rank for each asset
  • Comma-separated symbols (e.g. BTC,ETH,SOL)
  • Highlights best performer by 24h change

analysis-historical

Analyzes historical price data with:

  • Customizable time intervals (5min to 1 day)
  • Support for up to 30 days of historical data
  • Price trend analysis
  • Volatility metrics
  • High/low price ranges

analysis-technical

Returns the latest technical indicators for any cryptocurrency:

  • SMA (Simple Moving Average) with period
  • EMA (Exponential Moving Average) with period
  • RSI (Relative Strength Index) with Overbought/Oversold/Neutral signal
  • MACD with signal line, histogram, and Bullish/Bearish label
  • VWAP (Volume Weighted Average Price, 24h)

analysis-candlestick

Retrieves OHLCV candlestick data for a cryptocurrency:

  • Open, high, low, close, and volume for each candle
  • Configurable interval (5m, 15m, 30m, 1h, 2h, 6h, 12h, 1d)
  • Supports 1–30 days of historical candles

Resources

The server exposes the following MCP resources:

  • info://server — Server name and version metadata
  • asset://{symbol} — Cryptocurrency asset information by symbol (e.g. asset://BTC), returned as JSON

Prompts

The server exposes the following MCP prompts that clients can invoke:

PromptArgsDescription
analyze-cryptosymbolComprehensive analysis: price, market, historical trends
compare-cryptocurrenciessymbolsCompare 2-5 cryptos side-by-side
market-overview—Global market snapshot: metrics, top assets, top exchanges
crypto-conversionsymbol, amount?, currency?Convert crypto amount to fiat
exchange-analysissymbolExchange landscape analysis for a crypto
technical-analysissymbolFull technical analysis: indicators, candles, trends
crypto-screenerquerySearch and screen cryptos for opportunities

Sample Prompts

  • "What's the current price of Bitcoin?"
  • "Show me market analysis for ETH"
  • "Give me the 7-day price history for DOGE"
  • "What are the top exchanges trading BTC?"
  • "Show me the price trends for SOL with 1-hour intervals"
  • "What are the technical indicators for ETH right now?"
  • "What's the current EUR to USD exchange rate?"
  • "Which crypto exchanges have the highest 24h volume?"
  • "Search for cryptocurrencies matching 'sol'"
  • "Give me a global overview of the crypto market"
  • "Compare BTC, ETH, and SOL side by side"
  • "Show me 1-hour candlestick data for BTC over the last 3 days"
  • "Convert 2.5 BTC to EUR"
  • "Get detailed info about the Ethereum asset"
  • "Generate a comprehensive analysis of a cryptocurrency covering price, market, and historical trends"
  • "Find all cryptocurrencies with 'bit' in their name and show me their current prices"
  • "What's the market cap ranking and circulating supply of Cardano?"
  • "Compare the top 3 stablecoins and show which has the highest volume"
  • "Show me how Bitcoin has performed over the past 30 days with daily candles"
  • "Convert 100 SOL to GBP and show the exchange rate"
  • "Give me a full market snapshot: global metrics, top gainers, and BTC dominance"
  • "What are the best and worst performing cryptos in the last 24 hours?"
  • "Show me 15-minute candlestick data for ETH over the last 2 days"
  • "Compare DeFi tokens: UNI, AAVE, COMP, and MKR"
  • "What's the VWAP and max supply of Bitcoin?"
  • "Search for layer-2 tokens and compare the top results"

License

This project is licensed under the MIT License

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "mcp-crypto-price": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-crypto-price"
      ]
    }
  }
}

Available Tools

  • get-crypto-price

    Get current price and 24h stats for a cryptocurrency

  • get-market-analysis

    Get detailed market analysis including top exchanges and volume distribution

  • get-historical-analysis

    Get historical price analysis with customizable timeframe

Use Crypto Price (CoinCap) MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Crypto Price (CoinCap) is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. You can run MCP locally on your device or connect to a remote MCP server URL.

Option 1: Use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Crypto Price (CoinCap) as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Crypto Price (CoinCap) MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "crypto-price-coincap": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-crypto-price"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Crypto Price (CoinCap) MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Crypto Price (CoinCap) MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Crypto Price (CoinCap) to help me with this task?
Crypto Price (CoinCap)
Sure. I read it.
Here is what I found using Crypto Price (CoinCap).

Option 2: Add an MCP server URL

Use this when Crypto Price (CoinCap) is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter your server URL in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste your server URL into the Server URL field.
  2. Enter a connection name for Crypto Price (CoinCap).
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the Crypto Price (CoinCap) connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the Crypto Price (CoinCap) tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the Crypto Price (CoinCap) tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Crypto Price (CoinCap) to help me with this task?
Crypto Price (CoinCap)
Sure. I read it.
Here is what I found using Crypto Price (CoinCap).

Frequently asked questions

What is the Crypto Price (CoinCap) MCP server used for?

Crypto Price (CoinCap) is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Crypto Price (CoinCap) MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Crypto Price (CoinCap) with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Crypto Price (CoinCap) MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Crypto Price (CoinCap) connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Crypto Price (CoinCap) MCP to TypingMind?

Crypto Price (CoinCap) can be connected in TypingMind with the local MCP connector or by adding a remote MCP server URL. Use the local connector when the server needs access to files, apps, or private resources on your device, and use a server URL when the MCP server is hosted remotely.

What tools does Crypto Price (CoinCap) MCP provide in TypingMind?

Crypto Price (CoinCap) exposes 3 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Crypto Price (CoinCap) MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Crypto Price (CoinCap) requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇