A cross-platform crypto investment analysis MCP (Model Context Protocol) server with screenshot-powered portfolio tracking and comprehensive investment recommendations.
cd stock-crypto-tracker
npm install
node src/index.js # Should show "server running on stdio"Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"crypto-investment": {
"command": "node",
"args": ["/YOUR/FULL/PATH/stock-crypto-tracker/src/index.js"],
"env": {}
}
}
}Look for "crypto-investment" with "7" tools in the integration menu.
What's Bitcoin's current price in EUR?
Show me the top 10 cryptocurrencies
What's the crypto market sentiment?
Analyze Ethereum's technical indicators
Should I buy Solana right now?
Give me detailed analysis of Cardano
Update my portfolio manually: BTC:0.5:30000,ETH:2:2500
Show me my complete portfolio analysis
What are my portfolio recommendations?
- π° Current Price in EUR (primary) and USD
- ππ 24h Change with emoji indicators
- π Market Cap in billions
- π Volume in millions
- RSI: >70 overbought, <30 oversold, 30-70 neutral
- Moving Averages: Above = bullish, Below = bearish
- Volume: Increasing = strong, Decreasing = weak
- Trend: Bullish/Bearish/Neutral for short/medium term
- π’ BUY - Multiple bullish signals
- π‘ WEAK BUY - Some positive signals
- βͺ HOLD/WAIT - Mixed signals
- π΄ SELL/AVOID - Multiple bearish signals
- LOW-MEDIUM: Favorable conditions
- MEDIUM: Standard market risk
- HIGH: Elevated risk factors
Give me a morning crypto update: Bitcoin price, market sentiment, and top 5 cryptos
I'm considering investing in Ethereum. Analyze its technical indicators and give me a recommendation.
Update my portfolio: BTC:0.5:28000,ETH:2:3200,ADA:1000:1.50 and give me the full analysis
What's the current crypto market sentiment and which coins are performing best today?
| Problem | Solution |
|---|---|
| MCP not showing | Check config file path, restart Claude Desktop |
| Server won't start | Run npm install, check Node.js version (18+) |
| API errors | Check internet connection, try different symbols |
| Portfolio not importing | Use format: SYMBOL:AMOUNT:PRICE |
On mobile devices (iPhone, Android, iPad):
- Upload screenshot of your CoinStats portfolio
- Ask Claude to analyze it: "Update my portfolio from this screenshot"
- Get same analysis as desktop MCP version
- Correct:
BTC:0.5:30000,ETH:2:2500 - Wrong:
Bitcoin 0.5 at 30000orBTC = 0.5
- β Check market sentiment before making decisions
- β Use technical analysis for entry/exit timing
- β Monitor portfolio diversification warnings
- β Set stop-losses based on recommendations
Compare Bitcoin and Ethereum technical analysis and tell me which is a better buy right now
My portfolio is BTC:0.5:28000,ETH:2:3200 - analyze performance and give rebalancing advice
What's the correlation between Fear & Greed Index and current top crypto performance?
- Portfolio Management: Import holdings via screenshot (no manual data entry)
- Price Data: Real-time EUR pricing using CoinGecko API
- Technical Analysis: RSI, moving averages, volume trends, with concise and detailed rationales
- Market Intelligence: Latest crypto news, sentiment, and Fear & Greed Index
- Investment Advice: Buy/sell/hold recommendations with risk assessment
- Node.js (JavaScript): Main server and backend logic
- @modelcontextprotocol/sdk: Official SDK for building MCP servers
- axios: HTTP client for API requests (CoinGecko, CryptoPanic, etc.)
- dotenv: Loads environment variables from
.env - CoinGecko API, CryptoPanic API, Alternative.me API: Real-time crypto data, news, and sentiment
- VS Code: Development environment
src/index.js: Main MCP server entry pointsrc/crypto-api.js: Handles API calls to CoinGecko, CryptoPanic, etc.src/portfolio.js: Manages portfolio data, screenshot import, and summary logicsrc/analysis.js: Technical analysis (RSI, moving averages, etc.)
- Portfolio can be updated via screenshot (preferred) or manual input (for testing)
- Real-time prices fetched for each holding
- Performance metrics, diversification, and recommendations are generated
- Desktop (Mac/Windows):
- Full MCP server runs locally (Node.js process)
- Claude Desktop App connects directly to the local MCP server
- All features available
- Mobile/Tablet (iOS/Android/iPadOS):
- Upload screenshots directly to Claude for analysis (no local MCP server needed)
- Same analysis quality, just no automated MCP functions
- Cloud-Hosted MCP (Advanced):
- Optional for full automation on all platforms
- Requires VPS setup and security configuration
- Start with the desktop MCP for full features
- Mobile users upload screenshots to Claude for identical analysis
- No manual data entry (screenshot-powered)
- No paid API subscriptions
- Platform agnostic (works with any portfolio tracker)
- EUR pricing
- Cross-device compatibility (Mac, Windows, iPad, iPhone, Android)
- Comprehensive analysis in Claude conversations
- Add RevolutX API for full automation
- Add more technical indicators
- Add portfolio optimization suggestions
This project is designed for rapid setup (30 minutes to working MCP) and maximum cross-platform compatibility.
See doc/requirements-and-tests.md for requirements and implementation notes.