Cryptoscholar

by cryptographer11

299 downloads
Not rated
GitHub

About

Crypto technical analysis inside Claude. Ask about any coin — get live TA from Binance (EMA, RSI, MACD, ADX, Bollinger Bands, TSS score), macro market context (BTC dominance, ARS, MRS), coin ranking, and a grounded bull/bear debate. No API key needed except for the debate tool.

Details

Author
cryptographer11
Downloads
299
Categories
Other, AI, Finance

- analyze_coin – Full TA snapshot with EMA, RSI, MACD, ADX, ATR, Bollinger Bands, Historical Volatility, and TSS composite score.
- rank_coins – Rank a watchlist by Trend Strength Score with full TA data.
- market_context – Macro signals: BTC dominance, ETH/BTC ratio, altcoin market cap, stablecoin supply, ARS, and MRS.
- debate – Grounded bull/bear debate using live indicator values, returning both sides and a bottom line.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Cryptoscholar
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install the package with pip install cryptoscholar, then configure it as an MCP server in your Claude environment. Once connected, you can invoke any of the exposed tools—such as analyze_coin, rank_coins, market_context, or debate—directly through Claude’s interface.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "cryptoscholar": {
            "cryptoscholar": {
                "command": "cryptoscholar",
                "env": {
                    "ANTHROPIC_API_KEY": "your-key-here"
                }
            }
        }
    }
}

McpServers

{
    "cryptoscholar": {
        "command": "cryptoscholar",
        "env": {
            "ANTHROPIC_API_KEY": "your-key-here"
        }
    }
}

Crypto technical analysis, directly inside Claude.CryptoScholar is a Model Context Protocol (MCP) server that gives Claude real-time TA capabilities — no chart-switching, no copy-pasting data, no context loss.

Ask Claude"Is SOL set up for a swing trade?"and it fetches live data from Binance, runs a full indicator suite, scores it, and delivers a grounded bull/bear debate — all in one response.

CryptoScholar exposes 15 MCP tools that Claude can call natively:

Full technical analysis snapshot for any coin. Fetches 300 days of real OHLCV candles from Binance (with CoinGecko fallback) and computes:

Pass a list of symbols and get them back ranked by TSS. Runs in parallel (up to 8 workers) for fast results on large lists. Each result includes TSS, regime, EMA alignment, 4H MTF alignment, RSI divergence, OBV trend, funding rate, RSI-14, ADX-14, and RS vs BTC.

No symbol list needed. Fetches the top 50 coins by market cap from CoinGecko and returns them ranked by TSS. Smart filtering automatically removes:

- Stablecoins (USDT, USDC, DAI, etc.)
- Wrapped / synthetic tokens (WBTC, WETH, stETH, cbBTC, etc.)
- Low-liquidity coins with < $10M daily volume

Compute pairwise Pearson correlation of 30-day daily returns across 2–20 coins. Returns the full correlation matrix, high-correlation clusters (>0.85), and uncorrelated pairs (<0.30) — useful for portfolio diversification analysis.

Macro market signals to frame individual coin analysis. Uses CoinGecko global data, DefiLlama stablecoin supply, and Alternative.me Fear & Greed Index. Returns:

Claude reads the live TA data and generates a structured bull/bear debate grounded in actual indicator values — not hallucinated opinion. Returns:

- Bull case— what the technicals say in favour
- Bear case— what could go wrong
- Bottom line— one-sentence synthesis

Persistent coin lists stored in SQLite (~/.cryptoscholar/watchlist.db).

Manually trigger a retrain of the HMM volatility regime model on fresh BTC price history. The model auto-retrains every 7 days automatically — use this after a major market structure shift to force an immediate update. Accepts an optionalforce=Trueflag to bypass the 7-day cooldown.

Generate a structured analysis report for one or more coins. Uses a 3-stage pipeline:
- Cluster— groups TA signals into thematic sections (trend, momentum, volume/on-chain, volatility, relative strength)
- Write— Claude writes a narrative paragraph for each section based on the clustered signals
- Assemble— combines sections into a formatted markdown report with a key statistics table at the top

Supports single-coin deep-dives and multi-coin comparison reports (e.g.["BTC", "ETH", "SOL"]). Passoutput_format="json"for structured output instead of markdown. Up to 10 symbols per call.

No API key required for market data.ANTHROPIC_API_KEYis needed for thedebateandgenerate_reporttools.

- generate_reporttool (tool #15)— 3-stage Cluster → Write → Assemble pipeline that produces a formatted markdown report for any coin or list of coins. Stage 1 groups TA signals into thematic clusters; Stage 2 uses Claude to write narrative sections; Stage 3 assembles a report with a key statistics table.
- Multi-coin comparison— pass up to 10 symbols and get a comparative report with per-coin summaries, a strongest/weakest setup call, and an overall comparative summary.
- JSON output option— passoutput_format="json"to get the full structured report dict instead of markdown, useful for downstream processing.
- Parallel analysis— coin data for multi-symbol reports is fetched in parallel (up to 8 workers) before the Claude write stage.

git clone https://github.com/cryptographer11/cryptoscholar.git cd cryptoscholar make install cp .env.example .env # Add your ANTHROPIC_API_KEY to .env (only needed for debate tool) cryptoscholar
{ "mcpServers": { "cryptoscholar": { "command": "python", "args": ["-m", "cryptoscholar"], "env": { "ANTHROPIC_API_KEY": "your_key_here" } } } }

- "Analyze BTC for me"
- "Rank ETH, SOL, AVAX, and LINK by trend strength"
- "Show me the top 50 coins ranked by trend strength"
- "What does the macro market look like right now?"
- "Give me the bull and bear case for DOGE based on current TA"
- "How correlated are BTC, ETH, SOL, and AVAX over the last month?"
- "Add BTC, ETH, and SOL to my main watchlist"
- "Set an alert on BTC if TSS drops below 35"
- "Check my alerts"
- "Give me the digest for my main watchlist"


Ranking BTC, ETH, and XRP by Trend Strength Score — then drilling into the bear case for XRP

rank_coinsscores each coin across trend, momentum, and relative strength vs BTC and returns them sorted by TSS. Here BTC leads at 63.7, ETH at 53.0, and XRP trails at 47.8 — all inlow_volregime. Asking for the XRP bear case immediately after surfaces the specific technical reasons: a steepest weekly EMA slope, faltering MACD, and ETH underperformance vs BTC flagged as early institutional exit pressure.


Full technical analysis snapshot for SOL — indicators, scoring, and bear case in one response

analyze_coinreturns a structured breakdown covering EMA stack alignment, RSI, MACD, ADX, ATR, Bollinger Band width, OBV trend, funding rate, and relative strength vs BTC — all computed from 300 days of live Binance candles. Claude then reads the raw indicator values to generate a grounded bear case: EMA-200 resistance, weekly slope steepening, and MACD crossdown risk. No chart-switching, no copy-pasting — the full TA context is already in Claude's window.

{ "btc_price_30d_change_pct": -8.4, "btc_dominance_current": 54.2, "btc_dominance_30d_change_pct": 2.1, "eth_btc_20d_change_pct": -5.3, "total3_30d_change_pct": -14.6, "stablecoin_supply_usd": 196500000000, "stablecoin_30d_change_pct": 2.8, "fear_greed_value": 22, "fear_greed_label": "Fear", "btc_trend_score": 35.0, "ars": 28.5, "stablecoin_score": 60.0, "fear_greed_modifier": 0.0, "mrs": 42.3 }
{ "symbol": "SOL", "data_source": "binance", "price": 142.30, "tss": 79.2, "regime": "mid_vol", "regime_source": "hmm", "vrs": 55, "ema_alignment": "full_bull", "mtf_alignment_4h": "bullish", "rsi_divergence": "none", "obv_trend": "rising", "funding_rate": 0.00012, "indicators": { "rsi_14": 61.4, "macd_hist": 0.42, "adx_14": 28.1, "atr_14": 6.82, "hv_20": 68.4, "rs_btc": 4.2, "bb_width": 0.18, "rsi_divergence": "none", "obv_trend": "rising" } }

correlate_coins(["BTC", "ETH", "SOL", "BNB"])

{ "symbols": ["BTC", "ETH", "SOL", "BNB"], "lookback_days": 30, "matrix": { "BTC": {"BTC": 1.0, "ETH": 0.91, "SOL": 0.78, "BNB": 0.83}, "ETH": {"BTC": 0.91, "ETH": 1.0, "SOL": 0.82, "BNB": 0.79}, "SOL": {"BTC": 0.78, "ETH": 0.82, "SOL": 1.0, "BNB": 0.71}, "BNB": {"BTC": 0.83, "ETH": 0.79, "SOL": 0.71, "BNB": 1.0} }, "high_correlation_pairs": [ {"symbol_a": "BTC", "symbol_b": "ETH", "correlation": 0.91} ], "uncorrelated_pairs": [] }
{ "bull_case": "SOL is in a full bullish EMA stack with RSI at 61 — healthy momentum without overbought conditions. ADX at 28 confirms trending structure, and relative strength vs BTC is positive at +4.2%, signalling capital rotation into SOL. Rising OBV confirms volume is flowing in on up-days.", "bear_case": "Historical volatility at 68% is elevated, and Bollinger Band width is widening — conditions that often precede sharp reversals. A break below EMA-20 would invalidate the current trend structure. Funding rate at 0.012% hints at building long leverage.", "bottom_line": "Technicals are constructive for continuation but volatility is high; position sizing should reflect the risk." }

CryptoScholar works with any coin listed on CoinGecko or Binance — just pass the ticker symbol. No configuration needed.

A built-in symbol map covers 65 major coins for instant resolution — the full top-50 market cap universe including BTC, ETH, SOL, BNB, XRP, ADA, AVAX, DOGE, LINK, DOT, SUI, TIA, WIF, BONK, and more. For anything outside that list, CryptoScholar automatically queries CoinGecko's search API to resolve the symbol and falls back to CoinGecko OHLCV if the coin isn't available on Binance.

In practice: if it trades somewhere and has a CoinGecko listing, it will work.

Stateless by design — no database, no scheduler. Every tool call fetches fresh data.

Claude (MCP call) └── server.py FastMCP entry point ├── tools/ │ ├── analyze.py Orchestrates fetch → indicators → regime → score │ ├── rank.py Runs analyze_coin in parallel, sorts by TSS │ ├── top_coins.py Fetches top N by market cap, delegates to rank_coins │ ├── correlate.py Pairwise Pearson correlation of 30-day returns │ ├── watchlist.py Watchlist + alert tools (7 tools) │ ├── debate.py Builds prompt from TA data, calls Claude API │ └── market_context.py ARS + MRS + macro signals ├── ta/ │ ├── indicators.py pandas-ta + custom HV / RS / OBV functions │ ├── scoring.py TSS: trend + momentum + RS ± MTF ± OBV bonuses │ ├── regime.py HMM-first regime classifier with rule-based fallback │ └── hmm_regime.py GaussianHMM train / persist / classify / auto-retrain ├── market/ │ └── context.py BTC dominance, ETH/BTC, TOTAL3, F&G, ARS, MRS └── data/ ├── binance.py Binance klines + funding rate (1,200 req/min, no auth) ├── coingecko.py CoinGecko client, 5-min TTL cache, OHLCV builder ├── alternative_me.py Fear & Greed Index (Alternative.me, 1-hr cache) ├── defillama.py DefiLlama stablecoin supply history └── watchlist_db.py SQLite watchlist + alert persistence (~/.cryptoscholar/)

Data flow foranalyze_coin("SOL"):
- Map symbol → CoinGecko ID (SOLsolana)
- Fetch 300-day daily OHLCV from Binance (SOLUSDTklines); fall back to CoinGecko if unavailable
- Fetch 200-bar 4H OHLCV from Binance for multi-timeframe analysis
- Fetch USDT-M perpetual funding rate from Binance Futures (null if no perpetual)
- Compute all daily indicators via pandas-ta (EMA, RSI, MACD, ADX, ATR, BB, HV, OBV, RS vs BTC)
- Compute OBV trend (EMA-10 of OBV slope over last 5 bars)
- Compute 4H indicators (EMA-20/50) and derive MTF alignment bonus (±3 TSS pts)
- Detect RSI divergence over last 30 bars (bullish/bearish/none)
- Classify regime via GaussianHMM (hv_20 + normalised ATR + BBW); falls back to rule-based if no model
- Compute TSS (weighted composite of trend, momentum, RS vs BTC ± MTF bonus ± OBV bonus)
- Fetch current market data (price, market cap, 24h change) from CoinGecko
- Return structured dict to Claude
- Fetch total market cap history (30d) from CoinGecko/global/market_cap_chart
- Fetch BTC and ETH market chart history (30d) from CoinGecko
- Fetch stablecoin supply history from DefiLlama
- Fetch Fear & Greed Index from Alternative.me (1-hr cache)
- Compute BTC dominance trend, ETH/BTC ratio trend, TOTAL3 change
- Score into ARS (altcoin rotation) and MRS (market readiness + F&G modifier)

make test # run test suite make test-parallel # run tests in parallel (pytest-xdist) make coverage # coverage report make lint-security # bandit security scan

SeeROADMAP.mdfor planned versions. Highlights:

- v0.8research_cointool: web search + Jina reader for news and narrative context
- v0.9— Market structure classification (HH/HL/LH/LL) via swing point detection; newmarket_structurefield inanalyze_coin
- v1.0— Support & resistance zones clustered from swing pivots;support_zones+resistance_zonesinanalyze_coin
- v1.1— Setup confluence score (1–5) measuring signal alignment; surfaces inanalyze_coin,rank_coins,watchlist_scan
- v1.2— Trade plan block:entry_zone,take_profit,stop_loss,risk_reward_ratiocomputed from S/R zones + ATR
- v1.3— Pi Cycle indicator inmarket_context;brieftool: Claude Haiku one-paragraph setup summary
- v1.4— EV filter:ev_score+ev_signalflags negative-EV setups before acting on a trade plan
- v1.5backtest_strategytool: walk-forward simulation, fee-adjusted R, win rate, max drawdown

MCP server and plugin for Sperax Protocol – USDs, SPA, veSPA & Demeter on Arbitrum. Listed on Anthropic's official MCP Registry.

The Schwab Model Context Protocol (MCP) Server connects your Schwab account to LLM-based applications (like Claude Desktop or other MCP clients), allowing them to retrieve market data, check account status, and (optionally) place orders under your supervision.

An MCP server for AI video generation. MCP server for AI video generation. Lets Claude, ChatGPT, OpenClaw , Hermes & other agents create AI videos and publish them to YouTube, TikTok, Instagram etc..

HumanDesign.ai MCP is the official account-connected Human Design server for Claude, ChatGPT, Codex, Cursor, and VS Code.

A Model Context Protocol (MCP) server written in Go that wraps the APsystems OpenAPI, giving AI assistants like Claude direct access to your solar monitoring data. Includes an optional web dashboard for visual monitoring.

MCP server for interacting with the APVISO AI-powered penetration testing platform from Claude Code, Cursor, Windsurf, Codex, and other MCP-compatible tools.

AI-powered text-to-speech MCP server with instant voice cloning. Generate speech from Claude Desktop, Claude Code, or n8n using 5 built-in voices (English, German, French, Spanish) or clone any voice from a short audio sample. Runs fully local, no API keys, no cloud. Supports stdio, SSE, and HTTP transports.

Chess.com player, game, and daily-puzzle tools where each tool ships its own interactive React view — board replays and a playable puzzle widget, not just text. Built with Skybridge for ChatGPT & Claude.

Pre-indexed code knowledge graph, auto syncs on code changes, for Claude Code, Codex, Gemini, Cursor, OpenCode, AntiGravity, Kiro, and Hermes Agent — fewer tokens, fewer tool calls, 100% local

A high-performance trading system for Claude Desktop, providing real-time market data via Tiingo and optional Telegram alerts.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.