Crypto Price & Market Analysis MCP Server
The Crypto Price & Market Analysis MCP Server provides comprehensive cryptocurrency analysis using the CoinCap API, offering:
Get current price and 24h stats: Retrieve current price, 24-hour price change, trading volume, market cap, and rank for any cryptocurrency.
Get detailed market analysis: Analyze top exchanges by volume, price variations, volume distribution, and VWAP.
Get historical price analysis: Access customizable historical price data (5min to 1 day intervals) for up to 30 days, including trend analysis, volatility metrics, and high/low price ranges.
Requires a cryptocurrency symbol for all analysis types. For historical analysis, you can specify the number of days (default 7) and interval (default h1).
Provides real-time price data, 24-hour stats, market analysis, and historical price trends for Bitcoin and other cryptocurrencies through the CoinCap API.
Allows installation and execution of the MCP server using npm packages, with download statistics tracked through NPM.
Displays badge information about npm downloads using the Shields.io service.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Crypto Price & Market Analysis MCP Serverwhat's the current price of Bitcoin?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Crypto Price & Market Analysis MCP Server
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
Related MCP server: mcp-coincap-jj
What's New
BREAKING: CoinCap v2 API removed. Now uses v3 API exclusively. A
COINCAP_API_KEYis 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-infoHierarchical tool naming: All tools organized into category-prefixed names (
price-*,market-*,assets-*,analysis-*)Output schemas: All tools now declare
outputSchemawithstructuredContentfor type-safe responsesMCP best practices:
isErrorflag on validation errors, server description, andasset://{symbol}resource template
Usage
Add this configuration to your Claude Desktop config file:
MacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"mcp-crypto-price": {
"command": "npx",
"args": ["-y", "mcp-crypto-price"],
"env": {
"COINCAP_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}If your MCP client requires launching via cmd.exe on Windows:
{
"mcpServers": {
"mcp-crypto-price": {
"command": "cmd",
"args": ["/c", "npx", "-y", "mcp-crypto-price"],
"env": {
"COINCAP_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}Development scripts
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 debuggingRun as Streamable HTTP server
You can run the server over HTTP for environments that support MCP over HTTP streaming.
Dev server (recommended during development):
pnpm devBuild and run the HTTP server:
# Build (outputs to dist/)
pnpm build
# Start the HTTP server
pnpm start:httpBuild and run the STDIO server:
# Build (outputs to dist/)
pnpm build
# Start the STDIO server
pnpm start:stdioThe 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:
http://localhost:3000/mcp?COINCAP_API_KEY=YOUR_API_KEY_HEREFor remote deployments:
https://mcp-crypto-price.codemonkeyinnovations.com/mcp?COINCAP_API_KEY=YOUR_API_KEY_HERERequired: CoinCap API Key
This server uses the CoinCap v3 API, which requires an API key. A free tier is available.
Sign up and get your API key at pro.coincap.io/dashboard
Add the key to your MCP client configuration:
STDIO: via the
COINCAP_API_KEYenvironment variable (see Usage examples above)HTTP: via the
COINCAP_API_KEYquery 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(defaultusd)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
slugparameter (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
exchangeIdparameter (e.g.binance) for single exchange detailsOptional
limitparameter (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
Configurable interval (
5m,15m,30m,1h,2h,6h,12h,1d)Supports 1–30 days of historical candles
Resources
The server exposes the following MCP resources:
info://server— Server name and version metadataasset://{symbol}— Cryptocurrency asset information by symbol (e.g.asset://BTC), returned as JSON
Prompts
The server exposes the following MCP prompts that clients can invoke:
Prompt | Args | Description |
|
| Comprehensive analysis: price, market, historical trends |
|
| Compare 2-5 cryptos side-by-side |
| — | Global market snapshot: metrics, top assets, top exchanges |
|
| Convert crypto amount to fiat |
|
| Exchange landscape analysis for a crypto |
|
| Full technical analysis: indicators, candles, trends |
|
| Search and screen cryptos for opportunities |
Sample Prompts
"What's the current price of Bitcoin?"
"Show me market analysis for ETH"
"Give me the 7-day price history for DOGE"
"What are the top exchanges trading BTC?"
"Show me the price trends for SOL with 1-hour intervals"
"What are the technical indicators for ETH right now?"
"What's the current EUR to USD exchange rate?"
"Which crypto exchanges have the highest 24h volume?"
"Search for cryptocurrencies matching 'sol'"
"Give me a global overview of the crypto market"
"Compare BTC, ETH, and SOL side by side"
"Show me 1-hour candlestick data for BTC over the last 3 days"
"Convert 2.5 BTC to EUR"
"Get detailed info about the Ethereum asset"
"Generate a comprehensive analysis of a cryptocurrency covering price, market, and historical trends"
"Find all cryptocurrencies with 'bit' in their name and show me their current prices"
"What's the market cap ranking and circulating supply of Cardano?"
"Compare the top 3 stablecoins and show which has the highest volume"
"Show me how Bitcoin has performed over the past 30 days with daily candles"
"Convert 100 SOL to GBP and show the exchange rate"
"Give me a full market snapshot: global metrics, top gainers, and BTC dominance"
"What are the best and worst performing cryptos in the last 24 hours?"
"Show me 15-minute candlestick data for ETH over the last 2 days"
"Compare DeFi tokens: UNI, AAVE, COMP, and MKR"
"What's the VWAP and max supply of Bitcoin?"
"Search for layer-2 tokens and compare the top results"
License
This project is licensed under the MIT License
Available Tools
3 toolsget-crypto-priceBInspect
Get current price and 24h stats for a cryptocurrency
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Cryptocurrency symbol (e.g., BTC, ETH) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description must carry full burden. Only states output is price and 24h stats, but omits details like update frequency, data source, or behavior on invalid symbol.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, no unnecessary words, front-loaded with verb and resource.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given simple tool (1 param, no output schema, no annotations), description is adequate for basic understanding but lacks detail on what '24h stats' includes (e.g., change, volume).
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, baseline 3. Description adds no extra detail beyond 'gets crypto price for given symbol'; schema already specifies symbol as string with examples.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states verb 'get', resource 'current price and 24h stats', and scope 'cryptocurrency'. Easily distinguished from siblings 'historical-analysis' and 'market-analysis'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool vs alternatives (e.g., for historical data use get-historical-analysis). No exclusions or prerequisites mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get-historical-analysisBInspect
Get historical price analysis with customizable timeframe
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days to analyze (1-30) | |
| interval | No | Time interval (m5, m15, m30, h1, h2, h6, h12, d1) | h1 |
| symbol | Yes | Cryptocurrency symbol (e.g., BTC, ETH) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided. The description does not disclose behavioral traits such as data source (e.g., real-time vs delayed), caching, rate limits, or whether the analysis includes derived metrics like moving averages.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, front-loaded with action and key qualifier. No wasted words, but could benefit from a second sentence to enhance completeness without harming conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema, so the agent cannot infer return format or fields. Description lacks details on data scope (e.g., OHLCV, volume) and pagination. Adequate for a simple analysis tool but incomplete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema coverage, parameters are documented. The description adds 'customizable timeframe' but does not elaborate on default behavior or mutually exclusive options beyond schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves historical price analysis with customizable timeframe. It distinguishes from 'get-crypto-price' (current price) and 'get-market-analysis' (broader market).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus siblings. The description does not specify context like trend analysis vs point-in-time price, nor any prerequisites or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get-market-analysisBInspect
Get detailed market analysis including top exchanges and volume distribution
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Cryptocurrency symbol (e.g., BTC, ETH) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full responsibility. It only mentions 'detailed' analysis without disclosing behavioral traits like rate limits, authentication needs, or mutability. The description adds minimal value beyond the tool name.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is one sentence long and front-loaded with the main purpose. It is efficient but could be slightly more informative without being verbose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (one param, no output schema, no annotations), the description minimally covers purpose but lacks context on when to use or what to expect. It is adequate but not complete for an autonomous agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The parameter 'symbol' is fully described in the schema with coverage at 100%. The description repeats 'e.g., BTC, ETH' which is already in the schema, adding no new semantic information. Baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves 'detailed market analysis' and specifies included data like 'top exchanges and volume distribution'. It distinguishes itself from siblings 'get-crypto-price' (price only) and 'get-historical-analysis' (historical data).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies use for market analysis but does not explicitly state when to use it versus alternatives. No guidance on prerequisites or exclusions is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v1.0.0- First observed
get-crypto-price - First observed
get-historical-analysis - First observed
get-market-analysis
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: get-crypto-price focuses on current price and 24-hour stats, get-historical-analysis covers historical price data with customizable timeframes, and get-market-analysis provides detailed market insights like top exchanges and volume distribution. There is no overlap or ambiguity between these tools.
All tool names follow a consistent verb_noun pattern with hyphens (get-crypto-price, get-historical-analysis, get-market-analysis). The naming is predictable and readable throughout the set.
With only 3 tools, the set feels thin for a server described as 'Crypto Price & Market Analysis.' While the tools cover key areas, more comprehensive analysis might require additional operations like trend prediction, exchange comparisons, or portfolio tracking, suggesting a borderline under-scoping.
The tools cover current price, historical analysis, and market analysis, which are core to the domain, but there are notable gaps. For example, there is no tool for comparing multiple cryptocurrencies, fetching real-time alerts, or performing predictive analytics, which could limit agent workflows in a full market analysis context.
Maintenance
Related MCP Connectors
Unlock the power of real-time cryptocurrency data with our Crypto Price Insights MCP server.
MCP server with quote and live cryptocurrency price tools, local and cloud-deployed transports.
MCP server giving AI agents one-connection access to crypto & DeFi data: DeFi protocol TVL, stableco
Official CoinMarketCap MCP server: real-time crypto prices, market cap, rankings and exchange data.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides access to CoinMarketCap's cryptocurrency data, enabling AI applications to retrieve cryptocurrency listings, quotes, and detailed information.36-
- AlicenseAqualityBmaintenanceA 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. Updated to use Coin Cap API v3379 npm1MIT
- AlicenseNot gradedqualityDmaintenanceA server that provides real-time cryptocurrency data through the Model Context Protocol, allowing access to detailed exchange information and current cryptocurrency rates from the CoinCap API.3 npm1MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides cryptocurrency data tools and resources via an HTTP endpoint. It enables users to fetch real-time market data from Binance, track activity logs, and generate cryptocurrency executive summaries.-