Skip to main content
Glama
cerebrus-pulse-mcp

cerebrus-pulse-mcp

by 0xsl1m

Cerebrus Pulse MCP

mcp-name: io.github.0xsl1m/cerebrus-pulse-mcp

PyPI License: MIT Python 3.10+

MCP server for Cerebrus Pulse — real-time crypto intelligence for AI agents. Provides 15 tools covering technical analysis, liquidation heatmaps, market stress, funding rates, and more across 50+ Hyperliquid perpetuals.

Tools

Tool

Description

Cost

cerebrus_health

Gateway health check

Free

cerebrus_list_coins

List all available tickers (50+)

Free

cerebrus_pulse

Multi-timeframe technicals (RSI, EMAs, BBands, VWAP, regime)

$0.025

cerebrus_sentiment

Aggregated market sentiment + fear/greed

$0.01

cerebrus_funding

Funding rate analysis with historical context

$0.01

cerebrus_bundle

Pulse + sentiment + funding combined

$0.05

cerebrus_screener

Scan all coins for top signals

$0.06

cerebrus_oi

Open interest delta, percentile, trend

$0.015

cerebrus_spread

Bid-ask spread + slippage estimates

$0.015

cerebrus_correlation

BTC-altcoin correlation matrix

$0.05

cerebrus_stress

Cross-chain arbitrage-derived market stress index

$0.02

cerebrus_cex_dex

CEX vs DEX price divergence

$0.02

cerebrus_basis

Chainlink oracle vs Hyperliquid basis

$0.02

cerebrus_depeg

USDC collateral health via Chainlink

$0.01

cerebrus_liquidations

Liquidation heatmap across 5 leverage tiers

$0.03

Paid endpoints use x402 micropayments (USDC on Base or Solana). Free tools work without any configuration.

Prices are checked against the API's live x402 manifest (https://api.cerebruspulse.xyz/.well-known/x402) with python scripts/check_prices.py --live, which CI runs. The auto-pay payee pin is checked against a live 402 with python scripts/check_payto.py --live, which CI and the release workflow run.

Related MCP server: Funding-mcp

Install

Claude Desktop / Cursor / Windsurf

Add to your MCP config (claude_desktop_config.json, .cursor/mcp.json, etc.):

{
  "mcpServers": {
    "cerebrus-pulse": {
      "command": "uvx",
      "args": ["cerebrus-pulse-mcp"]
    }
  }
}

To enable automatic x402 payments for paid endpoints, add a wallet key. The x402 client ships with the package, so the same uvx command pays; there is no extra to install:

{
  "mcpServers": {
    "cerebrus-pulse": {
      "command": "uvx",
      "args": ["cerebrus-pulse-mcp"],
      "env": {
        "CEREBRUS_WALLET_KEY": "your-base-wallet-private-key",
        "CEREBRUS_WALLET_KEY_SOLANA": "your-solana-wallet-private-key"
      }
    }
  }
}

Automatic payment currently covers Base only. CEREBRUS_WALLET_KEY_SOLANA is reserved for a future Solana signer — the API accepts Solana today, but you would need to settle those payments yourself.

Use a dedicated hot wallet that holds a few dollars of USDC on Base, never a main wallet: the key sits in plain text in the MCP config.

Auto-payment has spend limits, checked before anything is signed:

  • no single payment above CEREBRUS_MAX_PAYMENT_USD (default 0.10; the priciest tool costs $0.06);

  • no more than CEREBRUS_MAX_SPEND_USD in total while the server process runs (default 1.00; restart the server to reset it). The --json CLI starts a new process on every call, so this budget cannot span CLI calls, and the CLI does not auto-pay unless you opt in (see CLI Usage);

  • only USDC on Base, and only to an address in CEREBRUS_ALLOWED_PAYTO (default: the published Cerebrus Pulse Base address), so a hijacked or mistyped CEREBRUS_BASE_URL cannot redirect payments.

A refused payment returns "status": "payment_blocked" with the reason; a malformed limit disables auto-payment rather than lifting the limit.

Without a wallet key, paid tools still work as discovery: they return the exact price, network, and recipient so the calling agent can pay however it likes.

pip

pip install cerebrus-pulse-mcp

CLI Usage

The server includes a --json flag for direct CLI access without an MCP client:

# List all available CLI tools
cerebrus-pulse-mcp --json

# Free endpoints
cerebrus-pulse-mcp --json health
cerebrus-pulse-mcp --json list-coins

# Paid endpoints (return the payment terms unless CLI auto-pay is on, below)
cerebrus-pulse-mcp --json pulse BTC
cerebrus-pulse-mcp --json funding ETH lookback_hours=48
cerebrus-pulse-mcp --json screener top_n=10
cerebrus-pulse-mcp --json liquidations SOL

Arguments can be passed positionally (for coin) or as key=value pairs.

The CLI does not auto-pay by default, even with CEREBRUS_WALLET_KEY set. Every call is a new process with a fresh CEREBRUS_MAX_SPEND_USD budget, so the budget cannot stop a script that runs the CLI in a loop. Set CEREBRUS_CLI_AUTOPAY=1 to let it pay anyway: each call may then sign one payment of up to CEREBRUS_MAX_PAYMENT_USD, and limiting how many calls run is up to your script.

Configuration

Environment Variable

Description

Required

CEREBRUS_BASE_URL

API base URL (default: https://api.cerebruspulse.xyz)

No

CEREBRUS_WALLET_KEY

Base wallet private key for x402 auto-payment

No

CEREBRUS_MAX_PAYMENT_USD

Largest single payment auto-pay may sign (default: 0.10)

No

CEREBRUS_MAX_SPEND_USD

Total auto-pay may sign per server process (default: 1.00); does not span --json CLI calls

No

CEREBRUS_CLI_AUTOPAY

Set to 1 to let the --json CLI auto-pay (default: off, because the budget resets on every CLI call)

No

CEREBRUS_ALLOWED_PAYTO

Comma-separated payTo addresses auto-pay may pay (default: the published Cerebrus Pulse Base address)

No

CEREBRUS_WALLET_KEY_SOLANA

Reserved; Solana auto-payment not yet implemented

No

Example Response

$ cerebrus-pulse-mcp --json health
{
  "status": "ok",
  "engine": "available",
  "kill_switch": "enabled",
  "version": "1.2.0"
}

Development

git clone https://github.com/0xsl1m/cerebrus-pulse-mcp.git
cd cerebrus-pulse-mcp
pip install -e .

License

MIT

Available Tools

15 tools
cerebrus_basisA

Get Chainlink basis analysis — compares Hyperliquid perpetual oracle price vs Chainlink aggregated spot price on Arbitrum. Returns basis in bps, direction (hl_premium/hl_discount/aligned), and contrarian signal. Positive = longs paying shorts, negative = deleveraging. Cost: $0.02 USDC via x402.

Inputs: coin (required).

cerebrus_bundleA

Get complete analysis bundle: multi-timeframe technical analysis (5m/15m/1h/4h/1d/1w) + sentiment + funding combined in one call. 20% discount vs individual endpoints. Cost: $0.04 USDC via x402.

Inputs: coin (required), timeframes.

cerebrus_cex_dexA

Get CEX-DEX price divergence for a token. Compares Coinbase (CEX) vs Chainlink/Uniswap (DEX) prices. Returns spread in bps, direction (cex_premium or dex_premium), and interpretation. Refreshes every 5 minutes. Cost: $0.02 USDC via x402.

Inputs: coin (required).

cerebrus_correlationA

Get BTC-altcoin correlation matrix for top 15 Hyperliquid perpetuals. Returns 30-day rolling correlations, correlation regime (CORRELATED/DECORRELATED/MIXED), and sector averages. Cost: $0.03 USDC via x402.

Inputs: no named parameters.

cerebrus_depegA

Get USDC collateral health monitor via Chainlink oracle. Checks USDC/USD deviation from $1.00 peg, reports peg status (HEALTHY/ELEVATED/WARNING/CRITICAL), risk level, and Arbitrum sequencer status. Essential before sizing USDC-margined positions. Cost: $0.01 USDC via x402.

Inputs: no named parameters.

cerebrus_fundingA

Get funding rate analysis for a Hyperliquid perpetual. Returns current rate, annualized percentage, historical min/max/average. Cost: $0.01 USDC via x402.

Inputs: coin (required), lookback_hours.

cerebrus_healthB

Check Cerebrus Pulse gateway health status. FREE — no payment required.

Inputs: no named parameters.

cerebrus_liquidationsA

Get estimated liquidation heatmap for a Hyperliquid perpetual. Maps where liquidation clusters sit across 5 leverage tiers (3x-50x) for both longs and shorts. Returns cascade risk level (LOW/MODERATE/HIGH/EXTREME), estimated USD at each zone, proximity to current price, long/short ratio from funding skew, and nearest cluster alert. No other MCP provider offers this signal. Cost: $0.03 USDC via x402.

Inputs: coin (required).

cerebrus_list_coinsA

List all available coins on Cerebrus Pulse. Returns tickers for 30+ Hyperliquid perpetuals. FREE — no payment required.

Inputs: no named parameters.

cerebrus_oiA

Get open interest analysis for a Hyperliquid perpetual. Returns OI delta (1h/4h/24h), percentile rank, trend direction, and price-OI divergence signals. Cost: $0.01 USDC via x402.

Inputs: coin (required).

cerebrus_pulseA

Get multi-timeframe technical analysis for a Hyperliquid perpetual. Supports 6 timeframes: 5m, 15m, 1h, 4h, 1d, 1w (daily/weekly aggregated from 1h). Returns RSI, EMAs (20/50/200), ATR, Bollinger Bands, VWAP, Z-score, trend direction, cross-timeframe confluence with alignment scoring, derivatives data (funding, OI, spread), and market regime. Cost: $0.02 USDC via x402.

Inputs: coin (required), timeframes.

cerebrus_screenerA

Scan all 30+ coins for top trading signals. Returns RSI zone, trend, volatility regime, funding bias, multi-TF confluence score with alignment, and OI trend for each coin. Much cheaper than calling pulse individually. Cost: $0.04 USDC via x402.

Inputs: top_n.

cerebrus_sentimentA

Get aggregated crypto market sentiment analysis. Returns overall sentiment, fear/greed, momentum, and funding bias. Not coin-specific. Cost: $0.01 USDC via x402.

Inputs: no named parameters.

cerebrus_spreadA

Get spread and liquidity analysis for a Hyperliquid perpetual. Returns bid-ask spread, estimated slippage at $10k/$50k/$100k/$500k, and liquidity score (1-10). Cost: $0.008 USDC via x402.

Inputs: coin (required).

cerebrus_stressA

Get market stress index derived from cross-chain arbitrage detection. Scans 8 chains (Arbitrum, Base, Optimism, Polygon, etc.) for price dislocations. Returns stress level (LOW/MODERATE/HIGH/EXTREME), score (0-1), spread statistics, chain routes, and recent scan summaries. Unique signal — not available from any other provider. Cost: $0.015 USDC via x402.

Inputs: limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 15 tools

    Disambiguation5/5

    Each tool serves a unique purpose, from specific analyses like funding rates and liquidations to aggregated signals like the screener and bundle. Descriptions clearly differentiate them.

    Naming Consistency5/5

    All tools follow a uniform 'cerebrus_' prefix with descriptive, lowercase, snake_case names, making the set predictable and easy to navigate.

    Tool Count5/5

    With 15 tools, the server covers a broad range of analytics without being overwhelming. Each tool addresses a distinct aspect of Hyperliquid perpetual trading.

    Completeness4/5

    The toolkit is comprehensive, covering technical analysis, sentiment, funding, liquidations, OI, spreads, and more. Minor gaps exist (e.g., no raw price feed or historical data export), but core workflows are well-supported.

    Maintenance

    ActivityStale
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Real-time perp market-data for AI trading agents — funding rates, funding-arb signals, open interest, volume, orderbook depth/slippage and oracle families across 25 venues, plus HIP-3 RWA coverage (tokenized stocks, metals, oil) that mainstream aggregators lack. x402-native pay-per-call (USDC on Base): one free funding screener tool + 11 paid tools with auto-pay.
      12
      19 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to retrieve real-time and historical Hyperliquid funding rates across 229 perp markets, sort them, and identify funding rate arbitrage opportunities via x402 micropayments.
      MIT