@dennisk2025/random-crypto-coin-info
v1.0.0
Published
Fetches random information about a cryptocurrency coin, including its name, symbol, current price (USD), and market cap, using the CoinGecko public API.
Readme
random-crypto-coin-info
Fetches random information about a cryptocurrency coin, including its name, symbol, current price (USD), and market cap, using the CoinGecko public API. This MCP server is useful for chatbots or AI agents that want to quickly retrieve information about a random cryptocurrency coin.
Installation
You can run this server instantly using npx (no manual install needed):
npx @dennisk2025/random-crypto-coin-infoOr install globally with npm:
npm install -g @dennisk2025/random-crypto-coin-infoThen use the CLI command:
random-crypto-coin-infoAdding to Claude Desktop
Add the following JSON to your Claude Desktop config file at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"crypto-random": {
"command": "npx",
"args": ["@dennisk2025/random-crypto-coin-info"]
}
}
}Usage
When running, this MCP server exposes one tool:
get_random_crypto_coin
Description: Returns random cryptocurrency info such as name, symbol, current price (USD), and market cap, using data from the public CoinGecko API.
Input Parameters:
- (none)
Example tool call
{
"name": "get_random_crypto_coin",
"arguments": {}
}Example response:
{
"name": "Litecoin",
"symbol": "ltc",
"current_price_usd": 89.34,
"market_cap": 6500000000,
"coingecko_id": "litecoin"
}Available Tools
| Tool Name | Description | Input Parameters | |-------------------------- |----------------------------------------------------------------------------------|-----------------| | get_random_crypto_coin | Returns random cryptocurrency info: name, symbol, price (USD), and market cap. | (none) |
Notes
- Uses only public CoinGecko APIs (no API key required).
- Handles errors gracefully, returning a message on any API or network issues.
- Requires Node.js v16+.
