MCP Server
The Sharpe MCP Server exposes 41 tools (38 endpoint tools + 3 composite workflows), 4 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, 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.
No install needed (recommended)
uvx --from sharpe-terminal-mcp sharpe-mcp
Persistent install via uv
uv tool install sharpe-terminal-mcp
Or with pipx
pipx install sharpe-terminal-mcp
Or with pip inside a venv
python3 -m venv ~/.venvs/sharpe
source ~/.venvs/sharpe/bin/activate
pip install sharpe-terminal-mcp
Configuration
Claude Desktop
Add to your claude_desktop_config.json:
Recommended (always latest via uvx)
{
"mcpServers": {
"sharpe": {
"command": "uvx",
"args": ["--from", "sharpe-terminal-mcp", "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
Add to Claude Code
claude mcp add sharpe -- uvx --from sharpe-terminal-mcp sharpe-mcp
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"sharpe": {
"command": "uvx",
"args": ["--from", "sharpe-terminal-mcp", "sharpe-mcp"],
"env": {
"SHARPE_API_KEY": "sk_live_your_key_here"
}
}
}
}
Tools
The server exposes 41 tools organized into 9 categories. All tools accept optional parameters with sensible defaults and return structured data.
Tool behavior
All Sharpe MCP tools are read-only market-data calls. Tools advertise MCP annotations for readOnlyHint, destructiveHint=false, idempotentHint, and openWorldHint so compatible clients can classify them safely. Endpoint tools return both MCP structuredContent ({ "result": ... }) and text JSON for clients that still read only the content array. Composite workflow tools return { "report": "..." } in structuredContent plus the same formatted markdown in text content.
Large list responses are capped at 200 rows before they are returned to the client. When truncation happens, the payload includes truncated, total, and showing fields so agents can tell that a longer result exists.
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, 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 and futures charts.
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'; optional forcurrentandaccumulated, where the server filters rows to that coin before truncation.
- 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 24 MCP/API futures chart types: open interest, liquidations, volume, long/short ratios, funding, basis, term structure, and signal views.
- Name
chart- Type
- string
- Description
Chart type ID. See the
sharpe://charts/futuresresource for all 24 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_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--100 consensus 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.
- Name
type- Type
- string
- Description
Payload type:
overview,detail, oryields. Defaults tooverview.
- Name
slug- Type
- string
- Description
Stablecoin slug for
detailmode.
get_mindshare
Narrative mindshare rankings, token-level attention rows, rolling windows, and historical snapshots.
- Name
tokens- Type
- string
- Description
Set to
truefor token rows.
- Name
narrative- Type
- string
- Description
Optional narrative slug.
- Name
historical- Type
- string
- Description
Set to
truefor historical snapshots.
- Name
timeframe- Type
- string
- Description
Historical timeframe:
1W,1M,3M,6M,1Y, or3Y.
- Name
window- Type
- string
- Description
Rolling snapshot window:
now,24h,7d, or30d.
get_web_traffic
Attention rankings, search trends, social snapshots, and market-level traffic signals for exchanges, coins, and narratives.
- Name
type- Type
- string
- Description
Entity type:
exchange,coin, ornarrative.
- Name
mode- Type
- string
- Description
Payload mode:
rankings,trends,snapshots, ormarket.
- Name
tf- Type
- string
- Description
Lookback window:
7d,30d,90d,1y,3y, orall.
- Name
entities- Type
- string
- Description
Comma-separated entity IDs.
- Name
sub- Type
- string
- Description
Market sub-mode when
mode=market:trending,categories, orglobal.
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.
- Name
category- Type
- string
- Description
DEX Screener category:
volume,trending,gainers,losers, ornew_pairs. Defaults totrending.
- Name
network- Type
- string
- Description
Optional chain or network slug.
- Name
phrase- Type
- string
- Description
Optional search phrase.
- Name
limit- Type
- integer
- Description
Maximum rows returned. Range 1--100. Defaults to
50.
get_dexscreener_security
Token contract security signals for a DEX Screener token by address and chain ID.
- Name
address- Type
- string
- Description
Token contract address.
- Name
chainId- Type
- integer
- Description
Codex network ID.
get_token_scanner
Read-only scanner modes for hot tokens, new runners, alpha drops, AI tokens, and top-new pairs.
- Name
mode- Type
- string
- Description
Scanner mode:
hot,new-runners,alpha-drops,ai-top, ortop-new. Defaults tohot.
- Name
chains- Type
- string
- Description
Comma-separated Dexscreener chain IDs.
- Name
chain- Type
- string
- Description
Single chain for
top-newmode.
- Name
profile- Type
- string
- Description
Scanner profile:
discovery,balanced,strict, orcustom.
- Name
limit- Type
- integer
- Description
Maximum rows returned. Range 1--200. Defaults to
50.
- Name
minLiquidityUsd- Type
- number
- Description
Minimum liquidity in USD.
- Name
minVolumeH24- Type
- number
- Description
Minimum 24-hour volume in USD.
- Name
minTxnsH1- Type
- number
- Description
Minimum one-hour transaction count.
- Name
maxAgeHours- Type
- number
- Description
Maximum pair age in hours.
get_rug_check_security
Token contract and liquidity risk signals for rug-check review.
- Name
address- Type
- string
- Description
Token contract address.
- Name
chainId- Type
- integer
- Description
Chain or network ID.
get_rug_check_trending
Trending tokens suitable for rug-check review.
- Name
limit- Type
- integer
- Description
Maximum rows returned. Range 1--100. Defaults to
50.
get_insider_selling
Insider selling pressure signals across crypto assets, including wallet concentration, holder-quality risk, sell-side flow, and derivatives confirmation.
- Name
limit- Type
- integer
- Description
Maximum scored coins returned. Range 1--500. Defaults to
100.
- Name
min_score- Type
- number
- Description
Minimum 0--10 pressure score to include. Defaults to
0.
get_pump_dump
Pump-and-dump manipulation risk signals across crypto assets, including derivatives pressure, holder concentration, liquidity quality, DEX flow, and price behavior.
- Name
limit- Type
- integer
- Description
Maximum scored coins returned. Range 1--500. Defaults to
100.
- Name
min_score- Type
- number
- Description
Minimum 0--10 risk score to include. Defaults to
0.
- Name
phase- Type
- string
- Description
Filter to one manipulation lifecycle phase:
setup,markup,distribution,dump, ordumping.
Project tools
get_katana
Katana Network TVL, token, holder, sentiment, pool, mover, and ecosystem analytics.
No parameters.
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.
- Name
minOiUsd- Type
- number
- Description
Minimum open interest in USD on the smaller leg. Filters out thin pairs.
get_arbitrage_dated_futures_basis
Spot-futures cash-and-carry scanner rows for buying spot and selling dated futures.
- Name
coin- Type
- string
- Description
Optional base coin ticker, e.g.
BTC,ETH, orSOL.
- Name
exchanges- Type
- string
- Description
Comma-separated exchange filter, e.g.
Binance,Bybit,OKX.
- Name
minApr- Type
- number
- Description
Minimum APR or carry edge in percentage points.
- Name
minOiUsd- Type
- number
- Description
Minimum open interest in USD.
- Name
minDepthUsd- Type
- number
- Description
Minimum executable depth in USD when available.
- Name
notional- Type
- number
- Description
Position notional in USD. Defaults to
10000.
- Name
limit- Type
- integer
- Description
Maximum rows returned. Range 1--1000. Defaults to
100.
- Name
cursor- Type
- string
- Description
Cursor for the next page.
get_arbitrage_futures_calendar_spread
Near-versus-far dated futures curve scanner rows with forward yield and net roll APY.
- Name
coin- Type
- string
- Description
Optional base coin ticker, e.g.
BTC,ETH, orSOL.
- Name
exchanges- Type
- string
- Description
Comma-separated exchange filter, e.g.
Binance,Bybit,OKX.
- Name
minApr- Type
- number
- Description
Minimum APR or carry edge in percentage points.
- Name
minOiUsd- Type
- number
- Description
Minimum open interest in USD.
- Name
minDepthUsd- Type
- number
- Description
Minimum executable depth in USD when available.
- Name
notional- Type
- number
- Description
Position notional in USD. Defaults to
10000.
- Name
limit- Type
- integer
- Description
Maximum rows returned. Range 1--1000. Defaults to
100.
- Name
cursor- Type
- string
- Description
Cursor for the next page.
get_arbitrage_perp_dated_carry
Perp funding versus dated futures carry rows comparing expected funding to expiry against locked dated basis.
- Name
coin- Type
- string
- Description
Optional base coin ticker, e.g.
BTC,ETH, orSOL.
- Name
exchanges- Type
- string
- Description
Comma-separated exchange filter, e.g.
Binance,Bybit,OKX.
- Name
minApr- Type
- number
- Description
Minimum APR or carry edge in percentage points.
- Name
minOiUsd- Type
- number
- Description
Minimum open interest in USD.
- Name
minDepthUsd- Type
- number
- Description
Minimum executable depth in USD when available.
- Name
notional- Type
- number
- Description
Position notional in USD. Defaults to
10000.
- Name
limit- Type
- integer
- Description
Maximum rows returned. Range 1--1000. Defaults to
100.
- Name
cursor- Type
- string
- Description
Cursor for the next page.
get_arbitrage_cex_spot_transfer
CEX spot-transfer rows after common network, withdrawal/deposit status, withdrawal fee, depth, slippage, and spread-lifetime checks.
- Name
coin- Type
- string
- Description
Optional base coin ticker, e.g.
BTC,ETH, orSOL.
- Name
exchanges- Type
- string
- Description
Comma-separated exchange filter, e.g.
Binance,Bybit,OKX.
- Name
minApr- Type
- number
- Description
Minimum APR or carry edge in percentage points.
- Name
minDepthUsd- Type
- number
- Description
Minimum executable depth in USD when available.
- Name
notional- Type
- number
- Description
Position notional in USD. Defaults to
10000.
- Name
limit- Type
- integer
- Description
Maximum rows returned. Range 1--1000. Defaults to
100.
- Name
cursor- Type
- string
- Description
Cursor for the next page.
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
excludeNative- 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
coinHistory- 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
200.
- Name
offset- Type
- integer
- Description
Number of articles to skip before returning results, for pagination. Defaults to
0.
- Name
category- Type
- string
- Description
Filter by category:
all,crypto,tradfi,macro,geopolitics,research, orai.
- 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.
get_curated_news
AI-curated crypto news highlights across crypto, AI, markets, and geopolitics. Updated every 15 minutes.
- Name
limit- Type
- integer
- Description
Number of curated stories. Range 1--100. Defaults to
20.
- Name
category- Type
- string
- Description
Filter by category:
all,crypto,ai,markets, orgeopolitics.
- Name
cursor- Type
- string
- Description
Pagination cursor (ISO date or
date|id) from a previous response.
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
venue_type- Type
- string
- Description
Optional event-feed venue filter:
cex,perp_dex, ordex.
- Name
market_type- Type
- string
- Description
Optional event-feed market filter:
spot,perp,futures,options, ormargin.
- Name
event_type- Type
- string
- Description
Optional event type filter:
listing,delisting,suspension,resumption, orprelaunch.
- Name
asset_class- Type
- string
- Description
Optional listed instrument class:
token,spot_pair,perp_contract,futures_contract, oroptions_contract.
- Name
status- Type
- string
- Description
Optional event status:
announced,scheduled,live,completed,cancelled, orneeds_review.
- Name
confidence- Type
- string
- Description
Optional source confidence:
authoritative,high,medium,low,proxy, ormanual.
- Name
from- Type
- string
- Description
ISO date or datetime lower bound.
- Name
to- Type
- string
- Description
ISO date or datetime upper bound.
- 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.
- Name
cursor- Type
- string
- Description
Cursor returned by event feed pages.
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
asset_class- Type
- string
- Description
token,spot_pair,perp_contract,futures_contract, oroptions_contract.
- Name
status- Type
- string
- Description
announced,scheduled,live,completed,cancelled, orneeds_review.
- Name
narrative- Type
- string
- Description
Sharpe narrative slug.
- Name
confidence- Type
- string
- Description
authoritative,high,medium,low,proxy, ormanual.
- Name
from- Type
- string
- Description
ISO date or datetime lower bound.
- Name
to- Type
- string
- Description
ISO date or datetime upper bound.
- 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.
- Name
cursor- Type
- string
- Description
Cursor for the next page.
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 4 MCP resources that provide reference data for valid parameter values.
- Name
sharpe://charts/futures- Type
- JSON array
- Description
All 24 valid futures chart IDs with descriptions. Use these IDs with
get_futures_data.
- Name
sharpe://exchanges- Type
- JSON object
- Description
Supported exchanges per product: 13 for funding rates, and 5 default + 5 extra for futures.
- 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), 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
/api/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 local development hosts such as http://localhost, http://127.0.0.1, and http://[::1]. The server refuses HTTP redirects from API calls so credentials are not forwarded to unexpected hosts.
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, funding, everything" | coin_deep_dive prompt, or analyze_coin with coin='SOL' |
| "Find me some hidden gem tokens" | get_gem_finder |
| "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 |