Provide real-time cryptocurrency price data and market analysis.
ai.smithery/truss44-mcp-crypto-price MCP Server
This Model Context Protocol (MCP) server provides real-time cryptocurrency price data and market analysis. It is described as using the CoinCap API to deliver comprehensive crypto information, with an emphasis on trading-relevant analytics.
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:
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:
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