Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

@dennisk2025/live-cryptocurrency-prices

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dennisk2025/live-cryptocurrency-prices

Fetches real-time prices and information for popular cryptocurrencies like Bitcoin, Ethereum, and more.

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

live-cryptocurrency-prices-mcp

Fetches real-time prices and information for popular cryptocurrencies like Bitcoin, Ethereum, and more using the CoinGecko public API via the Model Context Protocol.

Features

  • Fetch current prices for popular cryptocurrencies (e.g., Bitcoin, Ethereum, Dogecoin, etc.)
  • Choose any supported fiat currencies (e.g., USD, EUR, GBP)
  • No API key required (uses CoinGecko's free public API)

Installation

npx @dennisk2025/live-cryptocurrency-prices-mcp

Or add to your npm project

npm install @dennisk2025/live-cryptocurrency-prices-mcp

Adding to Claude Desktop

To use this MCP server in Claude Desktop, add the following to your config file:

{
  "mcpServers": {
    "crypto": {
      "command": "npx",
      "args": ["@dennisk2025/live-cryptocurrency-prices-mcp"]
    }
  }
}
  • Add this to your Claude Desktop config file at:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json

Usage

Once added, ask Claude to run tools from the crypto MCP server.

Available Tools

get_crypto_price

Fetches the current price of specified cryptocurrencies using the CoinGecko API.

Parameters:

  • ids (string, required): Comma-separated CoinGecko IDs for cryptocurrencies (e.g., bitcoin,ethereum,dogecoin).
  • vs_currencies (string, required): Comma-separated fiat currencies to retrieve (e.g., usd,eur,gbp).

See CoinGecko API for full list of crypto IDs and supported currency codes.

Example Tool Call

Fetch Bitcoin and Ethereum prices in USD and EUR:

Tool name: get_crypto_price

Parameters:

{
  "ids": "bitcoin,ethereum",
  "vs_currencies": "usd,eur"
}

Sample response:

{
  "bitcoin": {
    "usd": 42783,
    "eur": 40180
  },
  "ethereum": {
    "usd": 2987,
    "eur": 2805
  }
}

List of Tools

ToolDescription
get_crypto_priceFetches the current price of specified cryptocurrencies in a given fiat currency.

get_crypto_price parameters

ParameterTypeRequiredDescription
idsstringYesComma-separated CoinGecko IDs for the cryptocurrencies (e.g., "bitcoin,ethereum").
vs_currenciesstringYesComma-separated fiat currency codes to query against (e.g., "usd,eur,gbp").

Support

No API keys needed. Uses only public CoinGecko endpoints. For help, see the documentation, CoinGecko docs, or file an issue where you installed this server.

FAQs

Package last updated on 25 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts