Supports 7+ MILLION tokens through DexPaprika integration! π
A Model Context Protocol (MCP) server for comprehensive cryptocurrency technical analysis. Built with Swift, it provides real-time price data, technical indicators, chart pattern detection, and trading signals for over 7 million cryptocurrencies - from Bitcoin to the newest meme coin on any DEX!
CryptoAnalysisMCP is provided for informational and educational purposes only. It is not financial, investment, trading, or tax advice, and nothing it outputs should be treated as a recommendation to buy, sell, or hold any asset.
- Technical indicators, chart patterns, and trading signals are computed from public market data using well-known formulas. They are imperfect, can be wrong, and offer no predictive guarantee.
- Cryptocurrency markets are highly volatile. You can lose your entire investment β and more than you put in if you use leverage or margin. Never trade with money you cannot afford to lose.
- Past performance β including any examples, backtests, or sample outputs in this repository β does not predict future returns.
- The author and contributors are not licensed financial advisors. This project is not affiliated with, endorsed by, or operated by any exchange, broker, regulator, or data provider.
- Always do your own research (DYOR), consult a qualified financial professional about your specific situation, and verify any data this tool produces against an authoritative source before acting on it.
- The software is provided "as is", without warranty of any kind, per the MIT License. The author and contributors are not liable for any losses, damages, or consequences arising from your use of this tool.
By using CryptoAnalysisMCP you acknowledge and accept these terms. See DISCLAIMER.md for the full text.
- Moved from in-tree
SimpleMCPto officialmcp-swift-sdkv0.12.1 as the default transport - Legacy
SimpleMCPavailable via--use-legacyflag (one-release safety valve; removed in v1.4) - Both transports expose the same 16 tools with identical schemas
- Full strict concurrency compliance with zero warnings
- Modern async/await patterns throughout
- Enhanced type safety and memory management
DataProviderprotocol for pluggable data sources (CoinPaprika primary, DexPaprika fallback)- Fixed mathematical precision in all technical indicators (RSI, MACD, OBV, Williams %R, Bollinger Bands)
- 2,989+ integration and golden-vector tests ensure indicator accuracy
π¦ Follow @m_pineapple__ for updates!
π‘ Not sure what to ask? Check our Crypto Analysis Prompts Guide for inspiration!
- Universal Token Support: 7+ MILLION tokens through DexPaprika integration
- Liquidity Pool Analytics: Monitor liquidity, volume, and pool data across DEXes
- Dynamic Symbol Resolution: Automatically supports all cryptocurrencies
- Real-time Price Data: Current prices, volume, market cap, and percentage changes
- Technical Indicators: RSI, MACD, Moving Averages, Bollinger Bands, and more
- Chart Pattern Detection: Head & shoulders, triangles, double tops/bottoms
- Support & Resistance Levels: Automatic identification of key price levels
- Trading Signals: Buy/sell/hold recommendations based on technical analysis
- Multi-timeframe Analysis: 4-hour, daily, weekly, and monthly timeframes
- Risk-adjusted Signal Filtering: Conservative, moderate, and aggressive thresholds for signal confidence
- Remove legacy
SimpleMCPtransport (SDK becomes mandatory)
Want to suggest a feature? Open an issue on GitHub!
Short answer: Depends on your trading style.
What works WITHOUT any API key:
- β Real-time price data (with slight delays)
- β Swing trading analysis (3-7 day trades)
- β Position trading (weeks to months)
- β Long-term investment analysis
- β All technical indicators on DAILY timeframe
- β 1 year of daily historical data
- Basic price data for 7+ MILLION tokens via DexPaprika
- Liquidity pool data across all major DEXes
- DEX price comparison and aggregation
What REQUIRES a Pro API key ($99/mo):
- β Day trading (you need hourly/4h data)
- β Scalping (you need minute data)
- β Intraday patterns and signals
- β Real-time/low-latency updates
- β Historical data beyond 1 year
- β Any timeframe shorter than daily
How to get your FREE API key:
- Go to CoinPaprika API
- Click "Start Free"
- Register for an account
- Get your API key
- Add to Claude Desktop config:
{
"mcpServers": {
"crypto-analysis": {
"command": "/path/to/crypto-analysis-mcp",
"env": {
"COINPAPRIKA_API_KEY": "your-free-api-key-here"
}
}
}
}The free tier includes:
- β 25,000 API calls per month
- β 1 year of daily historical data
- β 2,500+ cryptocurrencies
For advanced features, upgrade to CoinPaprika Pro:
- β 4-hour and hourly timeframes (Pro required)
- β Extended historical data beyond 1 year
- β Higher rate limits
- β Priority support
Currently: Not implemented. CryptoAnalysisMCP uses CoinPaprika as the primary data provider.
How to add support: As of v1.2.0, the DataProvider protocol makes it straightforward to add alternative data sources. If you're interested in CoinMarketCap or CoinGecko integration, contributions are welcome! Open an issue to discuss or submit a PR.
Why CoinPaprika first:
- 3x more market coverage than competitors (71,000+ assets)
- More generous free tier (25,000 API calls/month)
- Better historical data access
- Superior API reliability (99.9% uptime)
The MCP supports 7+ MILLION tokens via DexPaprika integration:
- β All 2,500+ CoinPaprika tokens (major coins with full analysis)
- β 7+ MILLION DEX tokens via DexPaprika (automatic fallback)
- β Every token on every DEX across 23+ blockchains
- β Brand new tokens - analyze tokens minutes after launch
- β Obscure meme coins - if it trades on a DEX, we have it
- β NO API KEY NEEDED for basic price data
Examples:
- Major coins: BTC, ETH, SOL (full technical analysis via CoinPaprika)
- Popular memes: DOGE, SHIB, PEPE, WOJAK (price data from any source)
- New launches: That token that launched 5 minutes ago on Uniswap
- Any ERC-20, BEP-20, SPL token, or token on any supported chain
Just use the ticker symbol - the MCP automatically finds it!
You're trying to use features that require a Pro subscription:
Common causes:
- Using any timeframe other than 'daily' (4h, 1h, 15m, etc.)
- Requesting data older than 1 year
- Exceeding rate limits (rare)
Solutions:
- For swing trading/investing: Just use 'daily' timeframe - it's free!
- For day trading: You MUST upgrade to CoinPaprika Pro ($99/mo)
There is NO free option for day trading. If you need intraday data, you need to pay.
Trading signals are for informational purposes only β see the Disclaimer at the top of this README and the full DISCLAIMER.md. They are based on well-established technical indicators but no prediction is 100% accurate. Always do your own research and never invest more than you can afford to lose.
While technically possible, we strongly advise caution:
- This MCP provides analysis, not execution
- Requires additional safety mechanisms
- Needs proper risk management
- Should be thoroughly backtested
- Consider paper trading first
Depends on your API tier:
- Free tier: ~1-5 minute delays
- Pro tier: 30-second updates for prices
- Cached locally: 1-5 minutes to reduce API calls
Yes! Your API key:
- Is never hardcoded
- Only read from environment variables
- Never logged or transmitted
- Only used for CoinPaprika API calls
- Follows security best practices
Absolutely! We welcome contributions:
- Bug fixes
- New indicators
- Performance improvements
- Documentation updates
- Feature suggestions
See our Contributing section for guidelines.
- Check this FAQ first
- Read the documentation
- Search existing issues
- Open a new issue with details
- Join our community discussions
Swift offers:
- Native macOS performance
- Type safety and modern concurrency
- Excellent memory management
- Seamless Claude Desktop integration
- Growing ecosystem for server-side development
Plus, we love Swift! π
- macOS 10.15 or later
- Swift 5.5 or later
- Xcode 13+ (for development)
- Claude Desktop
- Get a FREE CoinPaprika API Key (optional but recommended for technical analysis):
- Visit CoinPaprika API
- Click "Start Free" and register
- Copy your API key for step 3
- Note: Basic price data works without API key via DexPaprika!
- Clone the repository:
git clone https://github.com/M-Pineapple/CryptoAnalysisMCP.git
cd CryptoAnalysisMCP- Build the project:
./build-release.sh- Configure Claude Desktop by adding to
~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"crypto-analysis": {
"command": "/path/to/CryptoAnalysisMCP/crypto-analysis-mcp",
"env": {
"COINPAPRIKA_API_KEY": "your-free-api-key-here"
}
}
}
}As of v1.3.0 the server runs on the official
mcp-swift-sdktransport by default. To opt back into the legacySimpleMCPtransport (one-release safety valve, removed in v1.4), pass"args": ["--use-legacy"]in the config above.
- Restart Claude Desktop
sudo cp ./.build/release/CryptoAnalysisMCP /usr/local/bin/crypto-analysis-mcpThen use this in Claude Desktop config:
{
"mcpServers": {
"crypto-analysis": {
"command": "/usr/local/bin/crypto-analysis-mcp"
}
}
}New to crypto analysis? Check out our comprehensive Crypto Analysis Prompts Guide with 100+ example prompts for:
- π Day Trading
- π Swing Trading
- πΌ Long-term Investing
- π Technical Indicators
- π― Risk Management
- And much more!
Once configured, you can use these commands in Claude:
crypto-analysis:get_crypto_price
symbol: "BTC"
crypto-analysis:get_technical_indicators
symbol: "ETH"
timeframe: "daily"
crypto-analysis:detect_chart_patterns
symbol: "SOL"
timeframe: "4h"
crypto-analysis:get_trading_signals
symbol: "ADA"
risk_level: "moderate"
timeframe: "daily"
crypto-analysis:get_full_analysis
symbol: "DOT"
timeframe: "weekly"
risk_level: "aggressive"
crypto-analysis:get_support_resistance
symbol: "MATIC"
timeframe: "daily"
crypto-analysis:multi_timeframe_analysis
symbol: "AVAX"
crypto-analysis:get_token_liquidity
symbol: "PEPE"
network: "ethereum" (optional)
crypto-analysis:search_tokens_by_network
network: "solana"
query: "meme" (optional)
limit: 20
crypto-analysis:compare_dex_prices
symbol: "SHIB"
network: "ethereum"
crypto-analysis:get_network_pools
network: "ethereum"
sort_by: "volume_usd"
limit: 10
crypto-analysis:get_available_networks
Here are some natural language prompts you can use:
1. Quick Analysis
"Give me a quick technical analysis of [SYMBOL]"
"Is [SYMBOL] bullish or bearish right now?"
"What's the trend for [SYMBOL]?"
2. Day Trading Focus
"Analyze [SYMBOL] for day trading opportunities"
"Show me scalping levels for [SYMBOL] today"
"What are the intraday support and resistance for [SYMBOL]?"
3. Swing Trading Analysis
"Provide swing trading setup for [SYMBOL] with 3-7 day outlook"
"Analyze [SYMBOL] patterns on daily timeframe for swing trades"
"Give me entry, stop loss, and targets for swing trading [SYMBOL]"
4. Full Institutional Analysis
"Do a complete Wall Street analyst report on [SYMBOL]"
"Analyze [SYMBOL] like a hedge fund would"
"Give me all technical indicators, patterns, and signals for [SYMBOL]"
5. Risk-Based Strategies
"Show me conservative trading strategy for [SYMBOL]"
"What's the aggressive play on [SYMBOL]?"
"Give me risk-adjusted entries for [SYMBOL]"
6. Specific Indicator Requests
"What's the RSI and MACD saying about [SYMBOL]?"
"Check Bollinger Bands squeeze on [SYMBOL]"
"Are there any chart patterns forming on [SYMBOL]?"
7. Meme Coin & DEX Token Analysis
"What's the price of WOJAK?"
"Analyze that new PEPE fork on Ethereum"
"Show me price data for [obscure token]"
"Track this Uniswap token: [contract address]"
8. Liquidity & DEX Analytics
"What's the liquidity for SHIB across all DEXes?"
"Show me the top pools on Solana"
"Compare PEPE prices on different DEXes"
"Find high liquidity meme coins on BSC"
"Which DEX has the best price for ETH?"
"Show me all tokens on Arbitrum with >$1M liquidity"
π‘ Replace [SYMBOL] with any cryptocurrency ticker (BTC, ETH, SOL, etc.)
π See 100+ more examples in our Crypto Analysis Prompts Guide
The MCP supports 7+ MILLION tokens through our dual-provider system:
- CoinPaprika (Primary): 2,500+ major cryptocurrencies with full technical analysis
- DexPaprika (Fallback): 7+ million DEX tokens across 23+ blockchains - NO API KEY REQUIRED!
The MCP automatically:
- Checks CoinPaprika first for established tokens (better data, more features)
- Falls back to DexPaprika for any token not found
- Caches results for optimal performance
- Works with just the ticker symbol
Supported Networks via DexPaprika:
- Ethereum, BSC, Polygon, Arbitrum, Optimism, Base
- Solana, Avalanche, Fantom, Aptos, Sui
- And 12+ more chains!
Just use any ticker symbol - if it exists on any DEX, we'll find it!
- Basic price data works WITHOUT API key via DexPaprika
- Technical analysis features still require a FREE CoinPaprika API key
- Visit CoinPaprika API
- Click "Start Free"
- Create an account
- Copy your API key
Option 1 - Environment Variable (Recommended):
{
"mcpServers": {
"crypto-analysis": {
"command": "/path/to/crypto-analysis-mcp",
"env": {
"COINPAPRIKA_API_KEY": "your-api-key-here"
}
}
}
}Option 2 - System Environment:
export COINPAPRIKA_API_KEY="your-api-key-here"CryptoAnalysisMCP v1.3+ runs on the official mcp-swift-sdk (v0.12.1) by default.
A legacy in-tree SimpleMCP transport is retained for one release as an opt-out:
- Default (recommended): no flag needed.
- Opt out: add
"args": ["--use-legacy"]to your Claude Desktop config. --use-sdk: accepted as a no-op for v1.2.x backward compatibility; emits a one-time deprecation warning to stderr. Will be removed in v1.4.
Both transports expose the same 16 tools with the same input schemas (verified by an integration test on every build). Wire-format differences:
- The SDK serializes JSON with sorted keys.
- The SDK emits
"description": nullfor tools without a description; the legacy path omits the key.
Neither difference is semantically meaningful, but anyone diffing their JSON-RPC traffic across versions should be aware.
Bottom Line: If you're a day trader, you MUST get the Pro subscription. There's no workaround.
Free Tier (No API Key):
daily- Daily candles only β
Pro Tier ($99/mo) - All timeframes:
5m- 5-minute candles15m- 15-minute candles30m- 30-minute candles1h- 1-hour candles4h- 4-hour candlesdaily- Daily candlesweekly- Weekly candles
π‘ Note: Attempting to use any timeframe other than 'daily' without a Pro key will result in an error.
conservative- Lower risk, focus on strong signalsmoderate- Balanced approach (default)aggressive- Higher risk, more sensitive signals
# Clone the repository
git clone https://github.com/M-Pineapple/CryptoAnalysisMCP.git
cd CryptoAnalysisMCP
# Build debug version
swift build
# Build release version
swift build -c release
# Run tests
swift testCryptoAnalysisMCP/
βββ Sources/
β βββ CryptoAnalysisMCP/
β βββ Main.swift # Entry point
β βββ SimpleMCP.swift # MCP protocol implementation
β βββ CryptoDataProvider.swift # CoinPaprika API integration
β βββ DexPaprikaDataProvider.swift # π DexPaprika integration
β βββ TechnicalAnalyzer.swift # Indicators & calculations
β βββ ChartPatternRecognizer.swift # Pattern detection
β βββ SupportResistanceAnalyzer.swift # Support/resistance levels
β βββ AnalysisFormatters.swift # Output formatting
β βββ Models.swift # Data models
βββ Tests/ # Unit tests
βββ Package.swift # Swift package manifest
βββ README.md # This file
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Swift and the Model Context Protocol
- Powered by CoinPaprika API for cryptocurrency data
- π Enhanced with DexPaprika for 7+ million DEX tokens
- Technical analysis algorithms based on industry standards
- Special thanks to the CoinPaprika team for their support!
- Ensure the path in
claude_desktop_config.jsonis absolute - Check that the binary has execute permissions:
chmod +x crypto-analysis-mcp - Restart Claude Desktop after configuration changes
The free tier of CoinPaprika has rate limits. If you encounter 402 errors, consider:
- Using daily timeframe (most compatible with free tier)
- Adding an API key for higher limits
- Implementing request throttling
If you encounter build errors:
- Ensure Swift 5.5+ is installed:
swift --version - Clean the build:
swift package clean - Update dependencies:
swift package update
If CryptoAnalysisMCP has helped enhance your crypto analysis workflow or saved you time with technical indicators, consider supporting its development:
Your support helps me:
- Maintain and improve CryptoAnalysisMCP with new features
- Keep the project open-source and free for everyone
- Dedicate more time to addressing user requests and bug fixes
- Explore new indicators and analysis techniques
Thank you for considering supporting my work! π
For issues, questions, or suggestions, please open an issue on GitHub.
Follow me for updates and crypto analysis insights:
- π¦ Twitter/X: @m_pineapple__
- π GitHub: @M-Pineapple
Made with β€οΈ by π



