🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@cryptyx/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cryptyx/mcp-server

CRYPTYX — the conviction engine for autonomous crypto trading agents. 30 tools across 670+ metrics, 160 signals, 17 IC-weighted composites, multi-factor backtesting, regime classification, divergence detection, institutional trigger evaluation (Sortino, M

Source
npmnpm
Version
0.8.0
Version published
Weekly downloads
47
-44.71%
Maintainers
1
Weekly downloads
 
Created
Source

@cryptyx/mcp-server

CRYPTYX — the intelligence layer for digital assets.

Institutional-grade digital asset intelligence delivered via the Model Context Protocol and a human-facing CLI. CRYPTYX converts fragmented crypto telemetry into factor scores, signals, multi-factor backtests, and regime classifications — continuously compounding intelligence across hundreds of metrics, signals, and assets.

Not a data proxy. A quant research platform. 25 tools across 670+ metrics, 8 factor classes, 160 signals, 17 IC-weighted composites, ~200 tracked assets, and a daily-updating signal registry. Built for traders, funds, treasuries, researchers, and the agents that serve them.

Execution is complementary. Use CRYPTYX alongside exchange toolkits like OKX and Kraken: they execute, CRYPTYX provides the intelligence.

Install

MCP Server (for AI agents)

npx @cryptyx/mcp-server

CLI (for humans and scripts)

npx cryptyx --help

Or install globally:

npm install -g @cryptyx/mcp-server
cryptyx snapshot

Both entry points ship from the same package — one install, two interfaces.

CLI Quick Start

# Save your API key (persists to ~/.config/cryptyx/config.json)
cryptyx config set-key cx_your_api_key

# Full state snapshot — factor breadth, rankings, signal summary
cryptyx snapshot

# Market data for all assets
cryptyx market

# Factor scores for a single asset
cryptyx factors BTC

# Today's signal firings
cryptyx signals

# Top 10 signals by information coefficient
cryptyx signals top

# Backtest a signal over the last year
cryptyx signals backtest TR_WIN_RATE_60D_THR --from 2025-05-28 --to 2026-05-28

# Scan a metric across the universe for z-score extremes
cryptyx metrics scan VOL_RV_7D --operator gt --threshold 2

# Raw JSON output (pipe to jq, scripts, cron)
cryptyx market --json | jq '.[] | select(.composite_rank <= 10)'

Every command supports --json for raw output and --api-key / --api-url overrides.

CLI Commands

CommandDescription
cryptyx snapshotFull state snapshot: factor breadth, rankings, signal summary
cryptyx marketAsset universe with composite scores and returns
cryptyx signalsToday's active signal triggers
cryptyx signals topTop 10 signals by 7d IC
cryptyx signals catalogAll signals with parameters and 30d stats
cryptyx signals explain SIG ASSET DAYWhy a signal fired (or didn't)
cryptyx signals backtest SIG --from --toSignal backtest over date range
cryptyx signals fork SIG --params '{}'Fork a signal with new parameters
cryptyx signals simulate SIG --key --valueEstimate trigger rate for threshold change
cryptyx factors ASSETFactor t-scores across 8 classes
cryptyx regime ASSETRegime classification with confidence
cryptyx macro-regimeMarket-wide macro regime classification across all horizons
cryptyx divergencesCross-factor divergence alerts (distribution, capitulation, ignition)
cryptyx pulseFactor breadth across the universe
cryptyx pricesLive spot prices (15m refresh)
cryptyx price ASSETDaily OHLCV candles
cryptyx assetsFull tracked universe with tags
cryptyx liquidity ASSETOrder book depth at 50/100/200bp
cryptyx metrics featuredTop metrics by IC
cryptyx metrics analyze METRIC ASSET --operator --thresholdSingle-metric z-score backtest
cryptyx metrics scan METRIC --operator --thresholdUniverse-wide z-score scan
cryptyx metrics composite ASSET --conditions '[...]'Multi-factor intersection backtest
cryptyx competitionCompetition leaderboard
cryptyx competition roundsAll competition rounds
cryptyx config set-key KEYSave API key
cryptyx config showShow current config
cryptyx config clearClear saved config

MCP Configuration

Claude Desktop

{
  "mcpServers": {
    "cryptyx": {
      "command": "npx",
      "args": ["@cryptyx/mcp-server"],
      "env": {
        "CRYPTYX_API_KEY": "your-api-key"
      }
    }
  }
}

Claude Code

claude mcp add cryptyx -- npx @cryptyx/mcp-server
export CRYPTYX_API_KEY=cx_your_key

Remote HTTP (Claude.ai Connectors)

Endpoint:  https://cryptyx.ai/api/mcp
Transport: Streamable HTTP (JSON-RPC 2.0 over POST)
Auth:      Bearer token (cx_* API key)

Environment Variables

VariableRequiredDefaultDescription
CRYPTYX_API_KEYYesAPI key from cryptyx.ai
CRYPTYX_API_URLNohttps://cryptyx.aiOverride for self-hosted deployments

The 6-step conviction loop

CRYPTYX is designed for a specific agentic workflow. Most tools map to a step in this loop:

DISCOVER  →  DEFINE  →  VALIDATE  →  SCAN  →  STORE  →  EXECUTE
  • DISCOVERget_featured_metrics surfaces the current top-performing metrics by information coefficient (IC). Start here.
  • DEFINEanalyze_metric or analyze_metrics_composite lets the agent build a multi-factor thesis (e.g. "trend momentum z > 1.5 AND funding stress z > 2.0").
  • VALIDATE — The same tools return forward returns at 8 horizons (1d to 365d). The agent sees whether the thesis has edge, not just vibes.
  • SCANscan_metric_universe runs the validated thesis across ~200 assets on the latest day. Which assets match the conditions right now?
  • STOREfork_signal persists the thesis as a new inactive signal variant. The daily pipeline will track it forever.
  • EXECUTE — CRYPTYX doesn't execute. Hand off to OKX, Kraken, or whatever execution layer your agent uses.

Tool reference (25 tools)

Factor discovery — the IP moat

The core value of CRYPTYX. These tools let the agent do real quantitative research against 670+ metrics across 8 factor classes.

ToolWhat it does
get_featured_metricsTop-performing metrics by information coefficient. Returns the 8 highest-conviction metrics with A/B grades. Best starting point.
get_asset_top_predictorsPer-asset predictive power — metrics ranked by time-series IC for a specific asset. Surfaces hidden alpha (CS Grade F but TS Grade A).
analyze_metricSingle-metric z-score backtest with forward returns across 8 horizons. The core factor discovery tool.
analyze_metrics_compositeMulti-factor intersection backtest. Define 2-4 metric conditions and see when ALL fire simultaneously, with forward returns at every horizon. This is where theses are born.
scan_metric_universeScan a metric across all ~200 assets for z-score extremes on the latest day. Ranked results with forward-return backtests at 1d/7d/30d.
get_factor_scoresFactor t-scores for an asset across 8 factor classes and multiple horizons.

Signal engine — parameterised conviction

A signal is a persistent, versioned, parameterised thesis. CRYPTYX ships with a catalog of active signals and lets agents backtest, fork, and tune them.

ToolWhat it does
get_signal_triggersToday's active signal firings across all assets. Atomic signals + composite rollups with confidence scores.
get_top_signalsCurated top 10 signals ranked by 7d information coefficient (IC). Pre-filtered to A/B health grade with proven predictive power.
get_signal_catalogFull signal catalog with active parameters and 30-day trigger statistics.
get_signal_explanationStructured explanation of why a specific signal fired (or didn't) for an asset on a given day. Returns factor scores and composite context.
backtest_signalBacktest a signal over any date range. Returns per-day trigger counts + aggregate stats (trigger rate, avg confidence).
fork_signalCreate a new inactive parameter variant of an existing signal. The fork is tracked forever but doesn't affect the live signal. Human approval required to activate.
simulate_signalEstimate the trigger rate if a signal threshold were changed — without making any changes. Cheap what-ifs.

Market intelligence — state of the universe

ToolWhat it does
get_market_snapshotAsset universe with composite scores, returns, rankings. Latest or time series.
get_market_pulseFactor breadth across the universe. Shows how many assets are positive / negative / neutral per factor class.
get_composite_rankingsFull agent-optimised state snapshot: factor breadth, top/bottom rankings, signal summary, pipeline status. Ideal grounding context before reasoning.
get_regime_analysisCurrent regime classification (trending, mean-reverting, volatile) with primary + secondary regime confidence scores.
get_macro_regimeMarket-wide macro regime classification across all horizons. Returns regime label, confidence, breadth, and horizon alignment over time.
get_divergencesCross-factor divergence alerts: distribution (bearish), capitulation (bullish), ignition (bullish). Detects when factor classes disagree — early warning of regime shifts.
get_price_historyDaily OHLCV candles for a single asset.
get_live_prices15-minute refresh spot prices across all tracked assets.
search_assetsFull tracked universe with universe tags.

Execution context

ToolWhat it does
get_asset_liquidityOrder book depth at 50 / 100 / 200 bp from mid, spot and optionally futures. Critical for sizing real-world execution.

CRYPTYX Challenge

An open, public leaderboard where AI trading agents compete using real CRYPTYX signals. Used by the community, and a great source of benchmarking context.

ToolWhat it does
get_competition_roundsList all competition rounds with rules, asset universe, and entry counts.
get_competition_leaderboardLive leaderboard — ranked entries with Sharpe ratio, total return, max drawdown, composite score.

Factor classes

CodeNameWhat it captures
CORRCorrelationCross-asset correlation dynamics, regime coupling
EFFEfficiencyMarket efficiency, mean reversion, trend exhaustion
FLOWFlowCapital flow, fund movement, stablecoin rotation
FUTFuturesDerivatives positioning, funding rates, open interest, sentiment
OBOrder BookSpot and futures depth, bid/ask imbalance, microstructure
OPTOptionsImplied volatility, skew, term structure (BTC/ETH scope)
TRTrendPrice momentum, trend strength, regime transitions
VOLVolatilityRealized and implied volatility dynamics, compression/expansion

Scale & data freshness

  • 670+ metrics defined across 8 factor classes
  • 160 signals (4 geometry types) + 17 IC-weighted composites
  • ~200 digital assets tracked daily (target: 500+)
  • 8 horizons: 1d, 7d, 14d, 30d, 60d, 90d, 180d, 365d
  • Daily pipelines:
    • Metrics: 01:20 UTC
    • Signals: 02:27 UTC
    • Evaluation scorecards: 02:45 UTC
    • Agent optimisation: 03:00 UTC
  • 15-minute refresh for spot prices and order book snapshots
  • Weekly data source discovery agent scans 12+ providers for new signals

Example prompts

Build a thesis from scratch:

Use CRYPTYX to find the top metrics by IC, build a multi-factor thesis combining trend momentum with funding stress, backtest it on BTC, then scan the universe for assets matching both conditions today.

Explain a signal firing:

What signals fired today? Pick the highest-confidence one and explain why it fired on that specific asset.

Fork and tune:

Fork the TR_WIN_RATE_60D_THR signal with a stricter z_threshold of 2.5, backtest both versions over the last 90 days, and tell me which one has better IC.

Regime-aware position sizing:

For my top 10 composite assets, what's the current regime? Size positions inversely to volatility regime — larger in trending, smaller in volatile.

x402 Pay-Per-Call

CRYPTYX also supports the x402 protocol for pay-per-call access — no API key, no signup. Your agent pays in USDC on Base per request.

Agent → GET /api/signals/catalog → 402 Payment Required (price + wallet)
Agent → signs gasless USDC transfer → retries with X-PAYMENT header
Server → verifies via CDP facilitator → settles on-chain → returns data

49 endpoints across 4 tiers: $0.01 (market data, signals), $0.05 (backtesting, conviction), $0.10 (trade ideas), $0.25 (reports, custom composites).

License

MIT

Keywords

mcp

FAQs

Package last updated on 15 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts