{
  "markdown": "# Crypto Price & Market Analysis MCP Server\n[![smithery badge](https://smithery.ai/badge/@truss44/mcp-crypto-price)](https://smithery.ai/server/@truss44/mcp-crypto-price) [![NPM Downloads](https://img.shields.io/npm/d18m/mcp-crypto-price)](https://www.npmjs.com/package/mcp-crypto-price)\n\n<a href=\"https://glama.ai/mcp/servers/jpqoejojnc\">\n  <img width=\"380\" height=\"200\" src=\"https://glama.ai/mcp/servers/jpqoejojnc/badge\" />\n</a>\n\nA 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.\n\n## Requirements\n\n- **Node.js 22.14+**\n- **CoinCap API key** via `COINCAP_API_KEY`\n\n## What's New\n\n- **BREAKING**: CoinCap v2 API removed. Now uses v3 API exclusively. A `COINCAP_API_KEY` is required (free tier available at [pro.coincap.io/dashboard](https://pro.coincap.io/dashboard))\n- Streamable HTTP transport added (while keeping STDIO compatibility)\n- Smithery CLI scripts to build and run the HTTP server\n- **6 new tools**: `assets-search`, `market-global`, `assets-compare`, `analysis-candlestick`, `price-convert`, `assets-info`\n- **Hierarchical tool naming**: All tools organized into category-prefixed names (`price-*`, `market-*`, `assets-*`, `analysis-*`)\n- **Output schemas**: All tools now declare `outputSchema` with `structuredContent` for type-safe responses\n- **MCP best practices**: `isError` flag on validation errors, server description, and `asset://{symbol}` resource template\n\n## Usage\n\nAdd this configuration to your Claude Desktop config file:\n\n- **MacOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`\n- **Windows**: `%APPDATA%/Claude/claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"mcp-crypto-price\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mcp-crypto-price\"],\n      \"env\": {\n        \"COINCAP_API_KEY\": \"YOUR_API_KEY_HERE\"\n      }\n    }\n  }\n}\n```\n\nIf your MCP client requires launching via `cmd.exe` on Windows:\n\n```json\n{\n  \"mcpServers\": {\n    \"mcp-crypto-price\": {\n      \"command\": \"cmd\",\n      \"args\": [\"/c\", \"npx\", \"-y\", \"mcp-crypto-price\"],\n      \"env\": {\n        \"COINCAP_API_KEY\": \"YOUR_API_KEY_HERE\"\n      }\n    }\n  }\n}\n```\n\n### Development scripts\n\n```bash\npnpm dev          # Development (HTTP server with hot reload via Smithery CLI)\npnpm build         # Compile TypeScript → dist/\npnpm format        # Format source files with Prettier\npnpm lint          # Check for lint errors (ESLint + typescript-eslint)\npnpm lint:fix      # Auto-fix lint errors\npnpm types:check   # TypeScript type-check without emitting files\npnpm test          # Run all tests with Vitest\npnpm test:coverage # Run tests with coverage report (Vitest)\npnpm inspector     # Open MCP inspector for interactive debugging\n```\n\n### Run as Streamable HTTP server\n\nYou can run the server over HTTP for environments that support MCP over HTTP streaming.\n\n- Dev server (recommended during development):\n\n```bash\npnpm dev\n```\n\n- Build and run the HTTP server:\n\n```bash\n# Build (outputs to dist/)\npnpm build\n\n# Start the HTTP server\npnpm start:http\n```\n\n- Build and run the STDIO server:\n\n```bash\n# Build (outputs to dist/)\npnpm build\n\n# Start the STDIO server\npnpm start:stdio\n```\n\nThe 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:\n\n```\nhttp://localhost:3000/mcp?COINCAP_API_KEY=YOUR_API_KEY_HERE\n```\n\nFor remote deployments:\n\n```\nhttps://mcp-crypto-price.codemonkeyinnovations.com/mcp?COINCAP_API_KEY=YOUR_API_KEY_HERE\n```\n\n## Required: CoinCap API Key\n\nThis server uses the CoinCap v3 API, which requires an API key. A **free tier** is available.\n\n1. Sign up and get your API key at [pro.coincap.io/dashboard](https://pro.coincap.io/dashboard)\n2. Add the key to your MCP client configuration:\n   - **STDIO**: via the `COINCAP_API_KEY` environment variable (see Usage examples above)\n   - **HTTP**: via the `COINCAP_API_KEY` query parameter in the connection URL (e.g. `/mcp?COINCAP_API_KEY=your_key`)\n\nWithout a valid API key, all tools will return an error with instructions on how to obtain one.\n\n## Note for Smithery CLI users\n\nThis MCP server works directly via `pnpm dlx` (configs above) and does not require Smithery.\n\nIf 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).\n\nLaunch Claude Desktop to start using the crypto analysis tools.\n\n## Tools\n\n#### price-get\n\nGets current price and 24h stats for any cryptocurrency, including:\n- Current price in USD\n- 24-hour price change\n- Trading volume\n- Market cap\n- Market rank\n\n#### price-convert\n\nConverts a cryptocurrency amount into any fiat currency:\n- Uses real-time price data and USD-based exchange rates\n- Parameters: `symbol` (e.g. `BTC`), `amount` (default 1), `currency` (default `usd`)\n- Example: 2.5 BTC in EUR\n\n#### market-analysis\n\nProvides detailed market analysis including:\n- Top 5 exchanges by volume\n- Price variations across exchanges\n- Volume distribution analysis\n- VWAP (Volume Weighted Average Price)\n\n#### market-global\n\nProvides an overview of the entire cryptocurrency market:\n- Total market capitalization across all assets\n- 24-hour trading volume\n- Number of active cryptocurrencies\n- Bitcoin dominance percentage\n- Top gainers and losers\n\n#### market-rates\n\nReturns USD-based conversion rates for fiat currencies and cryptocurrencies:\n- All fiat currency rates (USD base)\n- Top 10 cryptocurrency rates\n- Optional `slug` parameter (e.g. `euro`, `bitcoin`) for a single rate lookup\n\n#### market-exchanges\n\nLists top cryptocurrency exchanges ranked by 24h volume:\n- Exchange name, rank, and 24h volume in USD\n- Number of trading pairs and market share percentage\n- Optional `exchangeId` parameter (e.g. `binance`) for single exchange details\n- Optional `limit` parameter (1–50, default 10)\n\n#### assets-top\n\nLists top cryptocurrencies ranked by market cap, including:\n- Current price in USD\n- 24-hour price change\n- Market cap and rank\n- Configurable result count (1–50, default 10)\n\n#### assets-search\n\nSearches for cryptocurrencies by name or symbol with fuzzy matching:\n- Returns matching assets with symbol, name, price, and rank\n- Configurable result count (1–50, default 10)\n- Example: search \"bit\" returns Bitcoin, Bitcoin Cash, BitTorrent, etc.\n\n#### assets-info\n\nReturns detailed metadata for a single cryptocurrency:\n- ID, rank, symbol, and name\n- Price, 24h change, market cap, and volume\n- Circulating supply and max supply\n- VWAP (24h)\n\n#### assets-compare\n\nCompares 2–5 cryptocurrencies side by side:\n- Price, 24h change, market cap, volume, and rank for each asset\n- Comma-separated symbols (e.g. `BTC,ETH,SOL`)\n- Highlights best performer by 24h change\n\n#### analysis-historical\n\nAnalyzes historical price data with:\n- Customizable time intervals (5min to 1 day)\n- Support for up to 30 days of historical data\n- Price trend analysis\n- Volatility metrics\n- High/low price ranges\n\n#### analysis-technical\n\nReturns the latest technical indicators for any cryptocurrency:\n- SMA (Simple Moving Average) with period\n- EMA (Exponential Moving Average) with period\n- RSI (Relative Strength Index) with Overbought/Oversold/Neutral signal\n- MACD with signal line, histogram, and Bullish/Bearish label\n- VWAP (Volume Weighted Average Price, 24h)\n\n#### analysis-candlestick\n\nRetrieves OHLCV candlestick data for a cryptocurrency:\n- Open, high, low, close, and volume for each candle\n- Configurable interval (`5m`, `15m`, `30m`, `1h`, `2h`, `6h`, `12h`, `1d`)\n- Supports 1–30 days of historical candles\n\n## Resources\n\nThe server exposes the following MCP resources:\n\n- **`info://server`** — Server name and version metadata\n- **`asset://{symbol}`** — Cryptocurrency asset information by symbol (e.g. `asset://BTC`), returned as JSON\n\n## Prompts\n\nThe server exposes the following MCP prompts that clients can invoke:\n\n| Prompt | Args | Description |\n|--------|------|-------------|\n| `analyze-crypto` | `symbol` | Comprehensive analysis: price, market, historical trends |\n| `compare-cryptocurrencies` | `symbols` | Compare 2-5 cryptos side-by-side |\n| `market-overview` | — | Global market snapshot: metrics, top assets, top exchanges |\n| `crypto-conversion` | `symbol`, `amount?`, `currency?` | Convert crypto amount to fiat |\n| `exchange-analysis` | `symbol` | Exchange landscape analysis for a crypto |\n| `technical-analysis` | `symbol` | Full technical analysis: indicators, candles, trends |\n| `crypto-screener` | `query` | Search and screen cryptos for opportunities |\n\n## Sample Prompts\n\n- \"What's the current price of Bitcoin?\"\n- \"Show me market analysis for ETH\"\n- \"Give me the 7-day price history for DOGE\"\n- \"What are the top exchanges trading BTC?\"\n- \"Show me the price trends for SOL with 1-hour intervals\"\n- \"What are the technical indicators for ETH right now?\"\n- \"What's the current EUR to USD exchange rate?\"\n- \"Which crypto exchanges have the highest 24h volume?\"\n- \"Search for cryptocurrencies matching 'sol'\"\n- \"Give me a global overview of the crypto market\"\n- \"Compare BTC, ETH, and SOL side by side\"\n- \"Show me 1-hour candlestick data for BTC over the last 3 days\"\n- \"Convert 2.5 BTC to EUR\"\n- \"Get detailed info about the Ethereum asset\"\n- \"Generate a comprehensive analysis of a cryptocurrency covering price, market, and historical trends\"\n- \"Find all cryptocurrencies with 'bit' in their name and show me their current prices\"\n- \"What's the market cap ranking and circulating supply of Cardano?\"\n- \"Compare the top 3 stablecoins and show which has the highest volume\"\n- \"Show me how Bitcoin has performed over the past 30 days with daily candles\"\n- \"Convert 100 SOL to GBP and show the exchange rate\"\n- \"Give me a full market snapshot: global metrics, top gainers, and BTC dominance\"\n- \"What are the best and worst performing cryptos in the last 24 hours?\"\n- \"Show me 15-minute candlestick data for ETH over the last 2 days\"\n- \"Compare DeFi tokens: UNI, AAVE, COMP, and MKR\"\n- \"What's the VWAP and max supply of Bitcoin?\"\n- \"Search for layer-2 tokens and compare the top results\"\n\n## License\n\nThis project is licensed under the MIT License\n",
  "bytes": 10416,
  "sha": "2d30bb4a0768a63ba364bc97898cd80a1cc0c6d0f5f1cba4f6fd8db64c2ea322",
  "repo_slug": "truss44/mcp-crypto-price",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_ai_smithery_truss44_mcp_crypto_price_3739f513/readme"
}