BlockRunBlockRun

Trading with alpha-mcp

Your AI just became a trader.

alpha-mcp gives Claude the tools to analyze markets, execute trades, and manage risk. It pays for its own intelligence and acts autonomously.

What It Does

  • Technical Analysis — RSI, MACD, EMA from Binance data
  • DEX Data — Market data via DexScreener
  • Sentiment Analysis — Social signals (paid via BlockRun)
  • Trade Execution — Token swaps on Base via 0x Protocol
  • Portfolio Tracking — Manage and monitor positions
  • Risk Management — Hardcoded safety limits
  • Trade Memory — Semantic search across trade history

Pricing

alpha-mcp is free and open source.

You only pay for the intelligence your agent uses:

  • Technical signals: Free (Binance public API)
  • DEX data: Free (DexScreener public API)
  • Sentiment analysis: ~$0.01 per query (paid via x402)
  • Trade execution: Network gas only

Quick Start

# Install alpha-mcp
claude mcp add @blockrun/alpha

# Or via npm
npx @anthropic-ai/claude-code install @blockrun/alpha

Then in Claude Code:

Analyze BTC for trading signals

Data Sources

SourceData TypePricing
BinancePrice & technical indicatorsFree
DexScreenerDEX market dataFree
0x ProtocolSwap execution on BaseGas only
BlockRun SentimentSocial signalsPay-per-query

How It Works

  1. Discover — Claude identifies what analysis is needed
  2. Analyze — Calls alpha-mcp tools for signals and data
  3. Decide — Claude evaluates signals against risk rules
  4. Execute — Performs swap via 0x if conditions are met
  5. Record — Logs trade to memory for future analysis

Safety First

alpha-mcp has hardcoded risk limits that cannot be overridden:

LimitValue
Max position size15% of portfolio
Total exposure cap50% of portfolio
Daily loss threshold5%
Min cash reserve50%
Stop-loss trigger15%

See Risk Management for details.

Next Steps

Links