Web3 Signals MCP

by manavaga

324 downloads
Not rated
GitHub Website

About

AI-powered crypto signal intelligence. Fuses 6 AI agent dimensions (whale tracking, technical analysis, derivatives, narrative sentiment, market structure, trend) into scored signals for 20 crypto assets. Updated every 15 minutes with LLM-generated insights.

Details

Author
manavaga
Downloads
324
Categories
AI

- Five weighted data agents (Whale 30%, Technical 25%, Derivatives 20%, Narrative 15%, Market 10%)
- Composite scores from 0–100 with directional labels (STRONG BUY to STRONG SELL)
- LLM-generated cross-dimensional insights explaining each signal
- 30‑day rolling accuracy tracking evaluated at 24h and 48h windows
- Supports MCP (SSE), REST API, x402 micropayments, A2A, and OpenAPI
- Self‑hostable with environment variable configuration

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 Web3 Signals MCP
    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

Connect via MCP by adding the endpoint to your MCP client config (e.g. Claude Desktop). Then ask your AI: “What are the current crypto signals?” or “Get me the BTC signal.” Alternatively, use the REST API endpoints for individual asset signals, portfolio summaries, performance data, and health checks — some endpoints require x402 micropayments ($0.001/call on Base mainnet).

get_market_briefing

What should I buy or sell in crypto right now? Returns the top 3 buy and top 3 sell recommendations from 20 cryptocurrencies, plus market regime (trending/ranging), risk level, and momentum. Best starting point for portfolio decisions. Scores range 0-100: 60+ is buy territory, below 42 is sell territory; scores in between are neutral/abstain (no trade recommended).

get_crypto_price

What is the current price of Bitcoin, Ethereum, or any major crypto? Returns the latest USD price, 24-hour price change percentage, trading volume, and market cap. Updated every 15 minutes from CoinGecko and Binance. Supports 20 assets: BTC, ETH, SOL, BNB, XRP, ADA, AVAX, DOT, MATIC, LINK, UNI, ATOM, LTC, FIL, NEAR, APT, ARB, OP, INJ, SUI. Example: get_crypto_price('BTC')

get_all_signals

Get buy/sell signals for all 20 major cryptocurrencies including Bitcoin, Ethereum, Solana, and more. Returns a free 5-point score band and direction (bullish/bearish/neutral) for top movers, plus portfolio summary with market regime and risk level. Updated every 15 minutes. For full dimension breakdown and AI insights, use the paid REST API.

get_asset_signal

Is BTC bullish or bearish right now? Get a 0-100 buy/sell score for any cryptocurrency. Returns composite score, direction (bullish/bearish/neutral), signal label (STRONG BUY to STRONG SELL), and momentum. Supports: BTC, ETH, SOL, BNB, XRP, ADA, AVAX, DOT, MATIC, LINK, UNI, ATOM, LTC, FIL, NEAR, APT, ARB, OP, INJ, SUI. For the full 6-dimension breakdown with whale, technical, and derivatives analysis, use the paid REST API.

compare_assets

Which crypto should I buy — BTC, ETH, or SOL? Compare 2-5 cryptocurrencies ranked by signal strength. Input: comma-separated tickers (e.g. 'BTC,ETH,SOL'). Returns ranked comparison with scores, direction, and verdict. Use for portfolio allocation decisions.

get_health

Is Web3 Signals working? Check the real-time status of all 5 AI data pipelines (whale tracking, technical analysis, derivatives, narrative sentiment, market data) and the signal fusion engine. Returns last run times, durations, and any errors.

get_performance

How accurate are these crypto signals? Returns 30-day rolling accuracy metrics showing how often buy/sell predictions were correct. Includes overall accuracy percentage, reputation score (0-100), and breakdowns by asset and timeframe (24h/48h).

get_asset_performance

How accurate are the signals for BTC specifically? Get per-asset accuracy metrics for any cryptocurrency. Returns 30-day rolling accuracy, total signals evaluated, and comparison to overall accuracy.

get_analytics

Who is using Web3 Signals? See API usage statistics including total requests, unique clients, response times, breakdowns by endpoint and client type (AI agents, browsers, scripts). Useful for understanding adoption.

get_x402_stats

How much revenue has Web3 Signals generated? View x402 micropayment analytics including total paid calls, revenue in USDC, payment conversion rate, and daily payment timeline.

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "web3 signals mcp": {
            "web3-signals": {
                "url": "https://web3-signals-api-production.up.railway.app/mcp/sse"
            }
        }
    }
}

McpServers

{
    "web3-signals": {
        "url": "https://web3-signals-api-production.up.railway.app/mcp/sse"
    }
}

Web3 Signals MCP

> Crypto signal intelligence for AI agents. 5 data dimensions, 20 assets, refreshed every 15 minutes.

Version: 0.1.0
Live API: https://web3-signals-api-production.up.railway.app
MCP Endpoint: https://web3-signals-api-production.up.railway.app/mcp/sse
Dashboard: web3-signals-api-production.up.railway.app/dashboard

---

What It Is

A signal fusion engine that scores 20 crypto assets from 0-100 by combining 5 independent data agents:

| Agent | Weight | Sources |
|-------|--------|---------|
| Whale | 30% | On-chain flows, exchange movements, large transactions |
| Technical | 25% | RSI, MACD, Moving Averages (Binance) |
| Derivatives | 20% | Funding rate, open interest, long/short ratio |
| Narrative | 15% | Reddit, Google News, CoinGecko trending, LLM sentiment |
| Market | 10% | Price, volume, Fear & Greed Index |

Each agent runs every 15 minutes. Scores are fused into a composite signal with directional labels (STRONG BUY to STRONG SELL), momentum tracking, and LLM-generated cross-dimensional insights.

What Problem It Solves

AI agents and trading systems need structured, multi-dimensional crypto intelligence — not raw price feeds. This API delivers scored, opinionated signals that combine what whales are doing, what derivatives markets are pricing, what the crowd is saying, and what technicals show — fused into a single actionable score with an LLM explanation of why.

Target Horizon

- Signal refresh: Every 15 minutes
- Accuracy evaluation: 24h, 48h windows
- Best for: Swing trades (hours to days), portfolio risk monitoring, market regime detection
- Not designed for: Sub-minute scalping or HFT

Assets Covered

BTC ETH SOL BNB XRP ADA AVAX DOT MATIC LINK UNI ATOM LTC FIL NEAR APT ARB OP INJ SUI

---

Connect via MCP

Add to your MCP config (Claude Desktop, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "web3-signals": {
      "url": "https://web3-signals-api-production.up.railway.app/mcp/sse"
    }
  }
}

Then ask your AI: "What are the current crypto signals?" or "Get me the BTC signal"

MCP Tools

| Tool | Description |
|------|-------------|
| get_all_signals | Full portfolio: 20 scored signals + portfolio summary + LLM insights |
| get_asset_signal | Single asset signal with market context |
| get_health | Agent status, last run times, error counts |
| get_performance | Rolling 30-day accuracy across 24h/48h timeframes |
| get_asset_performance | Per-asset accuracy breakdown |

---

REST API

Endpoints

| Endpoint | Description |
|----------|-------------|
| GET /signal | All 20 asset signals with portfolio summary |
| GET /signal/{asset} | Single asset signal (e.g. /signal/BTC) |
| GET /performance/reputation | 30-day rolling accuracy score |
| GET /performance/{asset} | Per-asset accuracy breakdown |
| GET /health | Agent status and uptime |
| GET /analytics | API usage analytics |
| GET /api/history | Historical signal runs (paginated) |
| GET /docs | OpenAPI documentation |
| GET /dashboard | Live signal intelligence dashboard |

Example: Single Asset Signal

curl https://web3-signals-api-production.up.railway.app/signal/BTC
{
  "asset": "BTC",
  "timestamp": "2026-02-24T21:49:42.513414+00:00",
  "signal": {
    "composite_score": 31.7,
    "label": "MODERATE SELL",
    "direction": "sell",
    "dimensions": {
      "whale": {
        "score": 7.9,
        "label": "STRONG SELL",
        "detail": "25 accumulate, 33 sell (ratio 43%); exchange inflow",
        "weight": 0.3
      },
      "technical": {
        "score": 35.2,
        "label": "MODERATE SELL",
        "detail": "RSI 30; MACD bullish; trend bearish",
        "weight": 0.25
      },
      "derivatives": {
        "score": 25.0,
        "label": "STRONG SELL",
        "detail": "L/S 0.69",
        "weight": 0.2
      },
      "narrative": {
        "score": 63.5,
        "label": "MODERATE BUY",
        "detail": "vol 0.97 (106 mentions); LLM neutral; trending; 3 sources",
        "weight": 0.15
      },
      "market": {
        "score": 60.0,
        "label": "MODERATE BUY",
        "detail": "-0.8%; F&G 8 extreme fear",
        "weight": 0.1
      }
    },
    "momentum": "degrading",
    "prev_score": 42.1,
    "llm_insight": "Whale capitulation intensifying — 33 sellers dominating with exchange inflow. Derivatives flipped to strong sell. Divergence: narrative and market fear remain bullish, suggesting classic capitulation setup..."
  },
  "market_context": {
    "regime": "extreme_fear",
    "risk_level": "high",
    "signal_momentum": "degrading"
  }
}

Example: Portfolio Summary

curl https://web3-signals-api-production.up.railway.app/signal
{
  "status": "success",
  "timestamp": "2026-02-24T21:49:42+00:00",
  "data": {
    "portfolio_summary": {
      "top_buys": [
        {"asset": "ETH", "score": 53.2, "label": "NEUTRAL", "conviction": "moderate"},
        {"asset": "SUI", "score": 50.7, "label": "NEUTRAL", "conviction": "moderate"},
        {"asset": "DOT", "score": 49.4, "label": "NEUTRAL", "conviction": "moderate"}
      ],
      "top_sells": [
        {"asset": "SOL", "score": 36.9, "label": "MODERATE SELL"},
        {"asset": "XRP", "score": 34.0, "label": "MODERATE SELL"},
        {"asset": "BTC", "score": 31.7, "label": "MODERATE SELL"}
      ],
      "market_regime": "extreme_fear",
      "risk_level": "high",
      "signal_momentum": "degrading",
      "assets_improving": 0,
      "assets_degrading": 6
    },
    "signals": {
      "BTC": { "composite_score": 31.7, "label": "MODERATE SELL", "..." : "..." },
      "ETH": { "composite_score": 53.2, "label": "NEUTRAL", "..." : "..." }
    }
  }
}

Example: Performance / Reputation

curl https://web3-signals-api-production.up.railway.app/performance/reputation
{
  "status": "active",
  "reputation_score": 72,
  "accuracy_30d": 72.3,
  "signals_evaluated": 840,
  "signals_correct": 607,
  "by_timeframe": {
    "24h": {"total": 280, "hits": 196, "accuracy": 70.0},
    "48h": {"total": 280, "hits": 201, "accuracy": 71.8},
    "7d":  {"total": 280, "hits": 210, "accuracy": 75.0}
  },
  "by_asset": {
    "BTC": 75.0,
    "ETH": 70.0,
    "SOL": 68.5
  },
  "methodology": {
    "direction_extraction": "score >60 = bullish, <40 = bearish, 40-60 = neutral",
    "neutral_threshold": "price move <=2% = correct for neutral signals",
    "scoring": "binary (hit/miss)",
    "window": "30-day rolling",
    "timeframes": ["24h", "48h"],
    "price_source": "CoinGecko"
  }
}

Signal Labels

| Score Range | Label | Direction |
|-------------|-------|-----------|
| 80-100 | STRONG BUY | bullish |
| 60-79 | MODERATE BUY | bullish |
| 40-59 | NEUTRAL | neutral |
| 20-39 | MODERATE SELL | bearish |
| 0-19 | STRONG SELL | bearish |

---

Performance Tracking

The system tracks its own signal accuracy — no self-reported claims:

- Snapshots captured every 12 hours (1 per asset, max 40/day)
- Evaluation at 24h and 48h windows against actual price movement
- Direction match: Did the predicted direction (bullish/bearish/neutral) match the actual price move?
- Neutral threshold: Price move <=2% counts as correct for neutral signals
- Price source: CoinGecko (independent, no API key needed)
- Window: 30-day rolling, recalculated every evaluation cycle

---

Discovery Protocols

| Protocol | Endpoint | Standard |
|----------|----------|----------|
| x402 | /signal, /signal/{asset} | HTTP 402 Micropayments (Coinbase) |
| MCP SSE | /mcp/sse | Model Context Protocol (Anthropic) |
| A2A | /.well-known/agent.json | Agent-to-Agent (Google) |
| AGENTS.md | /.well-known/agents.md | Agentic AI Foundation |
| OpenAPI | /docs | OpenAPI 3.0 |

---

x402 Micropayments

Payment IS authentication. No API keys, no signup, no OAuth.

AI agents pay $0.001 USDC per call on Base mainnet. The x402 protocol handles discovery, payment, and settlement automatically via the Coinbase CDP Facilitator.

Paid Endpoints ($0.001/call)

| Endpoint | What you get | |----------|-------------| | GET /signal | All 20 signals + portfolio summary + LLM insights | | GET /signal/{asset} | Single asset signal with 5 dimensions | | GET /performance/reputation | 30-day rolling accuracy score |

Free Endpoints

/health, /dashboard, /analytics, /docs, /.well-known/*, /mcp/sse

How it works

1. Agent calls GET /signal → gets 402 Payment Required with payment instructions 2. Agent signs USDC payment on Base → retries with PAYMENT-SIGNATURE header 3. Facilitator verifies payment → endpoint returns data 4. Settlement happens on-chain in <2 seconds

Agents using x402-compatible clients (Otto, Questflow, Fluora, Oops!402) handle this automatically.

---

Project Structure

/api                  FastAPI server, dashboard, middleware
/mcp_server           MCP tool definitions (stdio + SSE)
/signal_fusion        Weighted score fusion engine
/whale_agent          On-chain flow tracking
/technical_agent      RSI, MACD, MA analysis
/derivatives_agent    Funding rate, OI, L/S ratio
/narrative_agent      Reddit, News, Trending, LLM sentiment
/market_agent         Price, volume, Fear & Greed
/shared               Storage layer, base agent, profile loader
/orchestrator         15-minute agent runner
README.md
AGENTS.md

---

Self-Hosting

```bash
git clone https://github.com/manavaga/web3-signals-mcp.git
cd web3-signals-mcp

cp .env.example .env

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.