Skip to content

MCP Server

The Sharpe MCP Server exposes 24 tools (21 endpoint tools + 3 composite workflows), 5 resources, and 2 prompts for crypto derivatives and market data via the Model Context Protocol. It connects AI agents in Claude Desktop, Claude Code, Cursor, and any MCP-compatible client to data across 13 funding-rate exchanges and the rest of the Sharpe API surface — funding rates, futures, options, arbitrage, narratives, ecosystems, memecoins, exchange listings, and more.


Installation

The recommended method uses uvx which always runs the latest version with zero install. For a persistent install that keeps the sharpe-mcp binary on your PATH, use uv tool install, pipx, or pip inside a venv.

No install needed (recommended)

uvx sharpe-mcp

Persistent install via uv

uv tool install sharpe-mcp

Or with pipx

pipx install sharpe-mcp

Or with pip inside a venv

python3 -m venv ~/.venvs/sharpe
source ~/.venvs/sharpe/bin/activate
pip install sharpe-mcp

Configuration

Claude Desktop

Add to your claude_desktop_config.json:

Recommended (always latest via uvx)

{
  "mcpServers": {
    "sharpe": {
      "command": "uvx",
      "args": ["sharpe-mcp"],
      "env": {
        "SHARPE_API_KEY": "sk_live_your_key_here"
      }
    }
  }
}

Claude Code

Add to Claude Code

claude mcp add sharpe -- uvx sharpe-mcp

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "sharpe": {
      "command": "uvx",
      "args": ["sharpe-mcp"],
      "env": {
        "SHARPE_API_KEY": "sk_live_your_key_here"
      }
    }
  }
}

Tools

The server exposes 24 tools organized into 6 categories. All tools accept optional parameters with sensible defaults and return structured data.

Composite tools

High-level tools that combine multiple API calls into a single consolidated response. Best for broad questions.

analyze_coin

Comprehensive single-coin analysis combining funding rates, futures OI, options IV, and AI price prediction into one view. Best tool for "what's happening with BTC?" questions.

  • Name
    coin
    Type
    string
    Description

    Coin ticker (e.g., BTC, ETH, SOL). Defaults to BTC.

market_briefing

Full market briefing combining market overview, top narratives, and funding rate highlights. Best tool for "what's going on in crypto?" or morning briefings.

No parameters. Returns formatted text with market stats, Fear and Greed, top gainers/losers, narrative rankings, and funding highlights.

find_opportunities

Scans for the best funding rate arbitrage opportunities across all exchanges, combining spot-perp basis trades and cross-exchange funding arb.

No parameters. Returns top opportunities sorted by annualized APR with a funding rate sentiment summary.


Derivatives tools

Granular derivatives data for funding rates, futures charts, and options analytics.

get_funding_rates

Perpetual funding rates across 13 exchanges (Binance, Bybit, OKX, Deribit, Hyperliquid, and more). Positive rate means longs pay shorts.

  • Name
    type
    Type
    string
    Description

    One of current (live snapshot), accumulated (cumulative over 7d/30d/90d/1y), or history (per-coin time-series). Defaults to current.

  • Name
    coin
    Type
    string
    Description

    Base coin ticker. Required when type='history', ignored otherwise.

  • Name
    days
    Type
    integer
    Description

    Lookback days for history mode. Range 1--1095. Defaults to 30.

get_futures_data

Time-series or snapshot data for 19 futures chart types: open interest, liquidations, volume, long/short ratios, funding, basis, and term structure.

  • Name
    chart
    Type
    string
    Description

    Chart type ID. See the sharpe://charts/futures resource for all 19 valid IDs.

  • Name
    coin
    Type
    string
    Description

    Base coin ticker. Defaults to BTC.

  • Name
    timeframe
    Type
    string
    Description

    Lookback window: 1W, 2W, 1M, 3M, 6M, 1Y, or 3Y. Defaults to 3M.

  • Name
    exchanges
    Type
    string
    Description

    Comma-separated exchange filter (e.g., Binance,Bybit,OKX). Omit for all defaults.

get_futures_coins

Lists coins with futures data available, including per-coin capability flags (hasOI, hasLiquidations, hasLongShort).

No parameters.

get_options_data

Options analytics for BTC, ETH, and SOL across 22 chart types: implied volatility, Greeks, GEX, vol surface, flow, and more.

  • Name
    chart
    Type
    string
    Description

    Chart type ID. See the sharpe://charts/options resource for all 22 valid IDs.

  • Name
    coin
    Type
    string
    Description

    One of BTC, ETH, SOL. Defaults to BTC.

  • Name
    timeframe
    Type
    string
    Description

    Lookback window: 1W, 1M, 3M, 6M, 1Y, 3Y, or ALL. Defaults to 3M.

  • Name
    exchanges
    Type
    string
    Description

    Comma-separated exchange filter (e.g., Deribit,OKX). Omit for all.

get_derivatives_overview

Market-wide derivatives snapshot: total OI, average funding rate, OI-weighted funding, top 20 coins by OI, and exchange/coin counts.

No parameters.


Market data tools

Broad market data covering heatmaps, correlations, price predictions, and token discovery.

get_heatmap

Market heatmap data with tokens sized by market cap and colored by price performance.

  • Name
    mode
    Type
    string
    Description

    Grouping mode: coins, narratives, or ecosystems. Defaults to coins.

  • Name
    category
    Type
    string
    Description

    Category slug (e.g., top-100, decentralized-finance-defi, layer-1, meme-token). Defaults to top-100.

get_correlation_matrix

Pearson correlation matrix for crypto and TradFi assets over a given lookback period.

  • Name
    period
    Type
    string
    Description

    Lookback period: 30d, 90d, 1y, or 3y. Defaults to 30d.

  • Name
    ids
    Type
    string
    Description

    Comma-separated asset IDs. Crypto uses CoinGecko IDs (bitcoin, ethereum), TradFi uses short IDs (sp500, gold, nvda). Max 10.

get_market_overview

Broad crypto market overview: total market cap, 24h volume, BTC dominance, Fear and Greed Index, top gainers/losers, and trending coins.

No parameters. Use this as the first call for any general market question.

get_price_prediction

AI-powered price prediction scores with sub-signal breakdowns for bias assessment (bullish/bearish/neutral, 0--10 score, RSI, EMA trends, derivatives signals).

  • Name
    coin
    Type
    string
    Description

    CoinGecko slug (e.g., bitcoin, ethereum, solana). Omit for all coins.

search_market_cap

Search for coins by name or ticker symbol to find CoinGecko IDs and basic market stats.

  • Name
    q
    Type
    string
    Description

    Search query: coin name or ticker. 2--100 characters.

get_gem_finder

Curated list of low-cap, high-potential tokens identified by the gem finder algorithm. Returns score, ATH distance, FDV/MCap ratio, and exchange listing counts.

  • Name
    limit
    Type
    integer
    Description

    Number of tokens to return. Range 1--1000. Defaults to 100.


Arbitrage tools

Delta-neutral and yield-generating trade opportunities from funding rate differentials.

get_arbitrage_spot_perp

Spot-perp basis trade opportunities: long spot + short perp (or vice versa) to capture funding. Sorted by APR descending.

  • Name
    exchange
    Type
    string
    Description

    Exchange name (e.g., Binance, Bybit) or all. Defaults to all.

  • Name
    direction
    Type
    string
    Description

    Trade direction: all, long (positive funding), or short (negative funding). Defaults to all.

get_arbitrage_cross_exchange

Cross-exchange funding rate arbitrage: long where funding is negative, short where positive. Sorted by spread descending.

  • Name
    exchanges
    Type
    string
    Description

    Comma-separated exchanges to compare (e.g., Binance,Bybit). Omit for all.


Category tools

Sector, chain, and memecoin narrative analytics.

get_narratives

Analytics for 22 crypto narratives: L1, L2, DeFi, AI Agents, DePIN, RWA, Gaming, and more. Returns market cap, volume, performance, and social sentiment per narrative.

  • Name
    narrative
    Type
    string
    Description

    Narrative slug for detail view (e.g., defi, ai-agents, rwa, layer-1). See sharpe://narratives resource for all 22 slugs. Omit for overview of all.

  • Name
    correlation
    Type
    string
    Description

    Set to true to include a correlation matrix for the narrative's tokens.

  • Name
    timeframe
    Type
    string
    Description

    Timeframe for correlation data (e.g., 30d, 90d).

get_ecosystems

Analytics for 23 blockchain ecosystems: Ethereum, Solana, BNB Chain, Arbitrum, Base, and more. Returns market cap, volume, TVL, and performance per ecosystem.

  • Name
    ecosystem
    Type
    string
    Description

    Ecosystem slug (e.g., ethereum, solana, arbitrum, base). See sharpe://ecosystems resource for all 23 slugs. Omit for overview.

  • Name
    exclude_native
    Type
    string
    Description

    Set to true to exclude the chain's native token from aggregate metrics.

  • Name
    correlation
    Type
    string
    Description

    Set to true for a token correlation matrix within the ecosystem.

  • Name
    timeframe
    Type
    string
    Description

    Timeframe for correlation data (e.g., 30d, 90d).

get_memecoins

Memecoin narrative data across 17 curated categories: Dog, Cat, Frog, AI, Political, and more. Returns market cap, volume, dominance, momentum score, and top coins per category.

  • Name
    narrative
    Type
    string
    Description

    Memecoin narrative slug (e.g., dog-coins, ai-meme, political, cat-coins). Omit for all.

  • Name
    historical
    Type
    string
    Description

    Include time-series snapshots: 24h or 7d for trend analysis.

get_news

Aggregated crypto news feed from multiple sources, ranked by reliability tier.

  • Name
    limit
    Type
    integer
    Description

    Number of articles. Range 1--500. Defaults to 50.

  • Name
    category
    Type
    string
    Description

    Filter by category (e.g., defi, regulation, nft, bitcoin).

  • Name
    coin
    Type
    string
    Description

    Filter by CoinGecko coin slug (e.g., bitcoin, ethereum).

  • Name
    since
    Type
    string
    Description

    ISO 8601 timestamp -- only articles published after this time.


Exchange listings tools

Which tokens got listed on the top 5 retail CEXs (Binance, OKX, Bybit, Gate.io, MEXC), tagged by narrative. Use these as a forward signal for where retail capital is being deployed.

get_exchange_listings

Aggregated hub payload: weekly + monthly listing counts by narrative and exchange, last 90 days of recent listings, and summary stats (WoW/MoM deltas, top narratives of the month, top exchanges of the month). Best tool for "which narratives are CEXs deploying listing slots toward?".

  • Name
    narrative
    Type
    string
    Description

    Filter to a single narrative slug (e.g., ai-agents, memes, layer-1, rwa, defi). All returned counts are scoped to that narrative. Omit for all narratives.

  • Name
    exchange
    Type
    string
    Description

    Filter to a single exchange. One of binance, okx, bybit, gateio, mexc. Omit for all.

get_recent_listings

Flat feed of recent listings, one row per token-exchange pair. Best for trade-signal consumers scanning fresh listings or agents building per-token context.

  • Name
    narrative
    Type
    string
    Description

    Filter to a single narrative slug.

  • Name
    exchange
    Type
    string
    Description

    Filter to a single exchange. One of binance, okx, bybit, gateio, mexc.

  • Name
    days
    Type
    integer
    Description

    Lookback window in days. Range 1--365. Defaults to 90.

  • Name
    limit
    Type
    integer
    Description

    Max rows returned. Range 1--1000. Defaults to 200.


System tools

get_api_coverage

Metadata about all available data products: supported exchanges, coins, chart types, timeframes, and update frequencies. Call this first to discover what data is available before making specific queries.

No parameters.


Resources

The server exposes 5 MCP resources that provide reference data for valid parameter values.

  • Name
    sharpe://charts/futures
    Type
    JSON array
    Description

    All 19 valid futures chart IDs with descriptions. Use these IDs with get_futures_data.

  • Name
    sharpe://charts/options
    Type
    JSON array
    Description

    All 22 valid options chart IDs with descriptions. Use these IDs with get_options_data.

  • Name
    sharpe://exchanges
    Type
    JSON object
    Description

    Supported exchanges per product: 13 for funding rates, 5 default + 5 extra for futures, and Deribit for options.

  • Name
    sharpe://narratives
    Type
    JSON array
    Description

    All 22 narrative slugs and names for use with get_narratives.

  • Name
    sharpe://ecosystems
    Type
    JSON array
    Description

    All 23 ecosystem slugs, names, and native tokens for use with get_ecosystems.


Prompts

The server includes 2 guided prompt templates that walk AI agents through multi-step analysis workflows.

market_analysis

Guides the agent through a 6-step comprehensive market analysis: market overview, derivatives health, sector rotation, ecosystem flows, arbitrage opportunities, and synthesis into a bullish/bearish/neutral verdict.

No parameters.

coin_deep_dive

Guides the agent through an in-depth single-coin analysis: quick analysis, futures deep dive (OI, long/short, liquidations, basis), options analysis (IV, skew, put/call, GEX), funding history, correlations, price prediction, and a final synthesis with key levels and risk factors.

  • Name
    coin
    Type
    string
    Description

    Coin ticker. Defaults to BTC.


Environment variables

  • Name
    SHARPE_API_KEY
    Type
    string
    Description

    API key for authenticated /v1/ endpoints. Not required -- the server falls back to free endpoints without one.

  • Name
    SHARPE_API_URL
    Type
    string
    Description

    Base URL for the v1 API. Defaults to https://www.sharpe.ai/api.

  • Name
    SHARPE_FREE_URL
    Type
    string
    Description

    Base URL for free public endpoints. Defaults to https://www.sharpe.ai.


Works without an API key

Get an API key

Loading...


Example prompts

These natural language prompts show how AI agents route to the correct tools.

PromptTools triggered
"What are the current funding rates for BTC across exchanges?"get_funding_rates with type='current'
"Give me a full market briefing"market_briefing (composite: market overview + narratives + funding)
"Show me the open interest chart for ETH over the last month"get_futures_data with chart='oi-stacked', coin='ETH', timeframe='1M'
"What arbitrage opportunities exist right now?"find_opportunities (composite: spot-perp + cross-exchange + funding summary)
"How are AI and DeFi narratives performing this week?"get_narratives with narrative='ai-agents', then get_narratives with narrative='defi'
"Deep dive on SOL -- derivatives, options, funding, everything"coin_deep_dive prompt, or analyze_coin with coin='SOL'
"Find me some hidden gem tokens"get_gem_finder
"What's the BTC implied volatility term structure?"get_options_data with chart='iv-term-structure', coin='BTC'
"Which narratives are getting the most CEX listings this month?"get_exchange_listings (returns top narratives by month + WoW/MoM deltas)
"What new AI-agent tokens listed on MEXC in the last 30 days?"get_recent_listings with narrative='ai-agents', exchange='mexc', days=30

Was this page helpful?