MCP Server
The Sharpe MCP Server exposes 42 tools (39 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, screeners, narratives, ecosystems, memecoins, new listings, project dashboards, 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.
uvx sharpe-mcp
uv tool install sharpe-mcp
pipx install sharpe-mcp
python3 -m venv ~/.venvs/sharpe
source ~/.venvs/sharpe/bin/activate
pip install sharpe-mcp
Configuration
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"sharpe": {
"command": "uvx",
"args": ["sharpe-mcp"],
"env": {
"SHARPE_API_KEY": "sk_live_your_key_here"
}
}
}
}
No API key? Leave out the env block entirely. The server falls back to free public endpoints automatically.
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 42 tools organized into 9 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 toBTC.
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), orhistory(per-coin time-series). Defaults tocurrent.
- 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 MCP/API 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/futuresresource 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, or3Y. Defaults to3M.
- 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/optionsresource for all 22 valid IDs.
- Name
coin- Type
- string
- Description
One of
BTC,ETH, orSOL. Defaults toBTC.
- Name
timeframe- Type
- string
- Description
Lookback window:
1W,1M,3M,6M,1Y,3Y, orALL. Defaults to3M.
- Name
exchanges- Type
- string
- Description
Comma-separated exchange filter. Only
Deribitis supported today.
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, orecosystems. Defaults tocoins.
- Name
category- Type
- string
- Description
Category slug (e.g.,
top-100,decentralized-finance-defi,layer-1,meme-token). Defaults totop-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, or3y. Defaults to30d.
- Name
ids- Type
- string
- Description
Comma-separated asset IDs. Crypto uses canonical 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
Canonical coin slug (e.g.,
bitcoin,ethereum,solana). Omit for all coins.
search_market_cap
Search for coins by name or ticker symbol to find canonical asset 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.
get_stablecoins
Stablecoin overview, detail, and yield data including market cap, peg deviation, mechanism mix, and chain supply.
get_mindshare
Narrative mindshare rankings, token-level attention rows, rolling windows, and historical snapshots.
get_web_traffic
Attention rankings, search trends, social snapshots, and market-level traffic signals for exchanges, coins, and narratives.
Screener tools
DEX and token-discovery workflows for pair screening, token scanning, and contract risk review.
get_dexscreener_data
Live DEX pair screening by category, network, or search phrase.
get_dexscreener_security
Token contract security signals for a DEX Screener token by address and chain ID.
get_token_scanner
Read-only scanner modes for hot tokens, new runners, alpha drops, AI tokens, and top-new pairs.
get_rug_check_security
Token contract and liquidity risk signals for rug-check review.
get_rug_check_trending
Trending tokens suitable for rug-check review.
get_insider_selling
Insider selling pressure signals across crypto assets, including wallet concentration, holder-quality risk, sell-side flow, and derivatives confirmation.
get_pump_dump
Pump-and-dump manipulation risk signals across crypto assets, including derivatives pressure, holder concentration, liquidity quality, DEX flow, and price behavior.
Project tools
get_katana
Katana Network TVL, token, holder, sentiment, pool, mover, and ecosystem analytics.
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) orall. Defaults toall.
- Name
direction- Type
- string
- Description
Trade direction:
all,long(positive funding), orshort(negative funding). Defaults toall.
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.
get_arbitrage_dated_futures_basis
Spot-futures cash-and-carry scanner rows for buying spot and selling dated futures.
get_arbitrage_futures_calendar_spread
Near-versus-far dated futures curve scanner rows with forward yield and net roll APY.
get_arbitrage_perp_dated_carry
Perp funding versus dated futures carry rows comparing expected funding to expiry against locked dated basis.
get_arbitrage_cex_spot_transfer
CEX spot-transfer rows after common network, withdrawal/deposit status, withdrawal fee, depth, slippage, and spread-lifetime checks.
Category tools
Sector, chain, and memecoin narrative analytics.
get_narratives
Analytics for 22 MCP narrative slugs: 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). Seesharpe://narrativesresource for all 22 MCP slugs. Omit for overview of all.
- Name
correlation- Type
- string
- Description
Set to
trueto 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). Seesharpe://ecosystemsresource for all 23 slugs. Omit for overview.
- Name
exclude_native- Type
- string
- Description
Set to
trueto exclude the chain's native token from aggregate metrics.
- Name
correlation- Type
- string
- Description
Set to
truefor 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 grouped categories: Dog, Cat, Frog, AI, Solana, Base, Pump.fun, and more. Returns market cap, market share, volume, freshness, calculation method, short-term momentum score, and top coins per category.
- Name
narrative- Type
- string
- Description
Memecoin narrative slug (e.g.,
dog-coins,cat-coins,frog-coins,ai-memes,trump-coins). Omit for all.
- Name
historical- Type
- string
- Description
Include time-series snapshots:
24h,7d,30d, or1yfor trend analysis.
- Name
coin_history- Type
- string
- Description
In narrative detail mode, include top-coin price history:
24h,7d,1m, or1y.
get_memecoin_launches
Recently launched memecoin pairs screened by age, liquidity, volume, and transaction count. This is a discovery feed, not a contract-security verdict.
- Name
chains- Type
- string
- Description
Comma-separated chain ids, e.g.
solana,base,bsc,ethereum.
- Name
days- Type
- number
- Description
Launch age window in days, from 1 to 30.
- Name
limit- Type
- number
- Description
Maximum launch rows, from 1 to 200.
- Name
profile- Type
- string
- Description
Screening profile:
discovery,balanced, orstrict.
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 canonical coin slug (e.g.,
bitcoin,ethereum).
- Name
since- Type
- string
- Description
ISO 8601 timestamp -- only articles published after this time.
New listings tools
Listing lifecycle events across CEXs and Perp DEXs, tagged by narrative and source confidence. Use these as a forward signal for where exchange liquidity 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. Legacy aggregate rows are currently populated for enabled compatibility venues.
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. Event filters can include registry venues such as
bitget,hyperliquid, oraster.
- 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.
get_listing_events
Canonical listing event feed across spot, perp, futures, and options markets. Returns event type, instrument id, status, source URL, source kind, and source confidence.
- Name
exchange- Type
- string
- Description
Optional exchange or perp DEX id.
- Name
venue_type- Type
- string
- Description
cex,perp_dex, ordex.
- Name
market_type- Type
- string
- Description
spot,perp,futures,options, ormargin.
- Name
event_type- Type
- string
- Description
listing,delisting,suspension,resumption, orprelaunch.
- Name
confidence- Type
- string
- Description
authoritative,high,medium,low,proxy, ormanual.
get_listing_exchanges
Typed connector registry for supported listing venues, including market coverage, source docs, enabled status, polling group, and parser confidence.
- Name
venue_type- Type
- string
- Description
Optional venue type filter.
- Name
market_type- Type
- string
- Description
Optional supported-market filter.
- Name
enabled- Type
- string
- Description
trueorfalse.
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 MCP 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
Site root for authenticated API calls. Defaults to
https://www.sharpe.ai; legacy/apior/api/v1base values are normalized.
- Name
SHARPE_FREE_URL- Type
- string
- Description
Base URL for free public endpoints. Defaults to
https://www.sharpe.ai.
Custom base URLs must use https://, except http://localhost and http://127.0.0.1 for local development.
Works without an API key
The MCP server works without setting SHARPE_API_KEY for tools that have free public endpoint fallbacks. Authenticated-only /api/v1 tools require an API key. Add a key for complete coverage and higher rate limits.
Get an API key
Create a key from the API key dashboard, then set it as SHARPE_API_KEY in your MCP client configuration. The full key is shown once at creation time.
Example prompts
These natural language prompts show how AI agents route to the correct tools.
| Prompt | Tools 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 |