@dennisk2025/live-cryptocurrency-prices
v1.0.0
Published
Fetches real-time prices and information for popular cryptocurrencies like Bitcoin, Ethereum, and more.
Readme
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
With npx (recommended)
npx @dennisk2025/live-cryptocurrency-prices-mcpOr add to your npm project
npm install @dennisk2025/live-cryptocurrency-prices-mcpAdding 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
- macOS:
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
| Tool | Description | |--------------------|-------------------------------------------------------------------------------------| | get_crypto_price | Fetches the current price of specified cryptocurrencies in a given fiat currency. |
get_crypto_price parameters
| Parameter | Type | Required | Description | |---------------|--------|----------|---------------------------------------------------------------------------------------------------------------------------| | ids | string | Yes | Comma-separated CoinGecko IDs for the cryptocurrencies (e.g., "bitcoin,ethereum"). | | vs_currencies | string | Yes | Comma-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.
