{"id":28092463,"url":"https://github.com/truss44/mcp-crypto-price","last_synced_at":"2026-07-02T03:04:33.710Z","repository":{"id":276710823,"uuid":"910998597","full_name":"truss44/mcp-crypto-price","owner":"truss44","description":"A Model Context Protocol (MCP) server that provides real-time cryptocurrency analysis via CoinCap's API. Enables Claude and other MCP clients to fetch crypto prices, analyze market trends, and track historical data.","archived":false,"fork":false,"pushed_at":"2026-06-15T08:34:55.000Z","size":1442,"stargazers_count":39,"open_issues_count":5,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-16T19:15:29.325Z","etag":null,"topics":["anthropic","claude","coincap","crypto","crypto-api","cryptocurrency","financial-data","market-analysis","mcp","modelcontextprotocol","nodejs","real-time","trading","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/truss44.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-02T02:32:17.000Z","updated_at":"2026-06-11T23:11:24.000Z","dependencies_parsed_at":"2026-04-02T12:12:57.060Z","dependency_job_id":null,"html_url":"https://github.com/truss44/mcp-crypto-price","commit_stats":null,"previous_names":["truss44/mcp-crypto-price"],"tags_count":44,"template":false,"template_full_name":null,"purl":"pkg:github/truss44/mcp-crypto-price","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truss44%2Fmcp-crypto-price","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truss44%2Fmcp-crypto-price/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truss44%2Fmcp-crypto-price/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truss44%2Fmcp-crypto-price/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/truss44","download_url":"https://codeload.github.com/truss44/mcp-crypto-price/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truss44%2Fmcp-crypto-price/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35029796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anthropic","claude","coincap","crypto","crypto-api","cryptocurrency","financial-data","market-analysis","mcp","modelcontextprotocol","nodejs","real-time","trading","typescript"],"created_at":"2025-05-13T13:16:59.483Z","updated_at":"2026-07-02T03:04:33.703Z","avatar_url":"https://github.com/truss44.png","language":"TypeScript","funding_links":[],"categories":["📚 Projects (1974 total)","🤖 AI/ML","APIs and HTTP Requests","Finance \u0026 Fintech","カテゴリ","DeFi, Markets, and Trading","Finance \u0026 Market Data Mcp Servers","Web3 MCP Categories"],"sub_categories":["MCP Servers","How to Submit","💰 \u003ca name=\"finance--crypto\"\u003e\u003c/a\u003e金融・暗号資産","📊 \u003ca name=\"market-data\"\u003e\u003c/a\u003eMarket Data"],"readme":"# Crypto Price \u0026 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\u003ca href=\"https://glama.ai/mcp/servers/jpqoejojnc\"\u003e\n  \u003cimg width=\"380\" height=\"200\" src=\"https://glama.ai/mcp/servers/jpqoejojnc/badge\" /\u003e\n\u003c/a\u003e\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruss44%2Fmcp-crypto-price","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftruss44%2Fmcp-crypto-price","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruss44%2Fmcp-crypto-price/lists"}