Logo: Crypto Price (CoinCap)

Crypto Price (CoinCap)

Communautéit
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.

Editeurtruss44
Repositorymcp-crypto-price
SproochTypeScript
Forks
8
Stären
39
Disponibel Tools
3
Transporttypstdio, streamable-http
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Crypto Price (CoinCap) bitt MCP-Funktiounen un, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • Disponibel Tools: 3

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an deem MCP-Client ze konfiguréieren, deen Dir am léifste benotzt.

  • Interessi vun der Communautéit um Open-Source-Projet

    Zuele vum verlinkte Repository – Stären: 39, Forks: 8.

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

Installatioun

TypingMind
Viraussetzungen:

Node.js 18+

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

Disponibel 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

Crypto Price (CoinCap) MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Crypto Price (CoinCap) verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dir kënnt MCP lokal op Ärem Apparat ausféieren oder Iech iwwer d'URL mat engem externen MCP-Server verbannen.

Optioun 1: De lokale Connector benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector: D'Optioun „Dësen Apparat“ ass ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Setzt de kopéierte Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Crypto Price (CoinCap) als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a setzt d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Setzt d'MCP-Serverkonfiguratioun fir Crypto Price (CoinCap) an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert d'Säit, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "crypto-price-coincap": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-crypto-price"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vun der Integratioun Crypto Price (CoinCap). Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vun der Integratioun Crypto Price (CoinCap).
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierten MCP-Tools an engem ausgewielte KI-Modell
Kënnt Dir mir mat Crypto Price (CoinCap) bei dëser Aufgab hëllefen?
Crypto Price (CoinCap)
Jo. Ech hunn et gelies.
Dat hunn ech mat Crypto Price (CoinCap) fonnt.

Optioun 2: Eng MCP-Server-URL derbäisetzen

Benotzt dës Optioun, wann Crypto Price (CoinCap) schonn op engem externe Server gehost gëtt oder Är Ekipp ee gemeinsame Connector wëllt, op dee méi Benotzer kënne zougräifen.

1

MCP-Connectoren opmaachen

Gitt an TypingMind op „Plugins“, maacht „MCP-Connectoren“ op a wielt dann „URL derbäisetzen“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Gitt op „Plugins“.
  3. Maacht „MCP-Connectoren“ op.
  4. Klickt op „URL derbäisetzen“.
TypingMind-Formulaire, fir eng benotzerdefinéiert MCP-Server-URL derbäizesetzen
2

Déi kopéiert Server-URL asetzen

Gitt Är Server-URL am Feld „Server-URL“ an. Setzt e Verbindungsnumm, eng Beschreiwung, e Symbol, benotzerdefinéiert HTTP-Headeren oder OAuth-Clientastellungen derbäi, wann de Server se erfuerdert.

  1. Setzt Är Server-URL an d'Feld „Server-URL“ an.
  2. Gitt en Numm fir d'Verbindung mat Crypto Price (CoinCap) an.
  3. Wann Dir d'Verbindung méi einfach erëmerkenne wëllt, setzt eng Beschreiwung an e Symbol derbäi.
  4. Setzt benotzerdefinéiert HTTP-Headeren oder OAuth-Clientdetailer derbäi, wann de Server eng Authentifizéierung erfuerdert.
3

D'Verbindung erstellen

Klickt op „Verbindung erstellen“, gitt dann zeréck op d'Plugin-Lëscht a kontrolléiert, ob déi nei MCP-Verbindung aktiv ass.

  1. Klickt op „Verbindung erstellen“.
  2. Gitt zeréck op d'Lëscht vun de MCP-Connectoren.
  3. Kontrolléiert, ob d'Verbindung mat Crypto Price (CoinCap) als aktiv ugewise gëtt.
  4. Aktualiséiert d'Plugin-Lëscht, wann d'Verbindung net direkt ugewise gëtt.
4

Modeller wiesselen, ouni MCP nei ze verbannen

Start e Chat mat Ärem bevorzugte Modell, aktivéiert d'Tools vun der Integratioun Crypto Price (CoinCap) ënner „Plugins“ a wiesselt bei Bedarf op en anere Modell. D'MCP-Verbindung bleift am TypingMind-Aarbechtsberäich disponibel.

  1. Start en neie Chat an TypingMind.
  2. Wielt de KI-Modell, deen Dir benotze wëllt.
  3. Aktivéiert d'Tools vun der Integratioun Crypto Price (CoinCap) ënner „Plugins“.
  4. Biet de Modell, d'Tool ze benotzen, wann néideg.
  5. Wiesselt op en anere KI-Modell a benotzt déiselwecht MCP-Verbindung weider.
TypingMind-Chat mat aktivéierten MCP-Tools an engem ausgewielte KI-Modell
Kënnt Dir mir mat Crypto Price (CoinCap) bei dëser Aufgab hëllefen?
Crypto Price (CoinCap)
Jo. Ech hunn et gelies.
Dat hunn ech mat Crypto Price (CoinCap) fonnt.

Heefeg gestallte Froen

Fir wat gëtt den MCP-Server Crypto Price (CoinCap) benotzt?

Crypto Price (CoinCap) ass en MCP-Server, deen et kompatibele KI-Clienten erlaabt, op extern Tools a Kontextinformatioune zouzegräifen. An TypingMind kënnt Dir dësen MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Crypto Price (CoinCap) MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Crypto Price (CoinCap) mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni den MCP-Server fir all Modell separat anzeriichten.

Firwat Crypto Price (CoinCap) MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Crypto Price (CoinCap) verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Ären Aarbechtsoflaf beim Chatten an TypingMind organiséieren.

Wéi verbannen ech Crypto Price (CoinCap) MCP mat TypingMind?

Dir kënnt Crypto Price (CoinCap) iwwer de lokale MCP-Connector oder iwwer d'URL vun engem Remote-MCP-Server mat TypingMind verbannen. Benotzt de lokale Connector, wann de Server Zougrëff op Fichieren, Apps oder privat Ressourcen op Ärem Apparat brauch, an eng Server-URL, wann den MCP-Server op Distanz gehost gëtt.

Wéi eng Tools stellt Crypto Price (CoinCap) MCP an TypingMind zur Verfügung?

Crypto Price (CoinCap) stellt 3 MCP-Tools zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agente zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Crypto Price (CoinCap) MCP ze benotzen?

Nee. TypingMind ass nom Local-first-Prinzip opgebaut a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Crypto Price (CoinCap) eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir deen MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇