New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@sharpe-terminal/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sharpe-terminal/mcp-server

MCP server for Sharpe crypto derivatives and market data API

latest
npmnpm
Version
1.2.0
Version published
Weekly downloads
5
66.67%
Maintainers
1
Weekly downloads
 
Created
Source

@sharpe-terminal/mcp-server

Model Context Protocol (MCP) server for the Sharpe crypto derivatives and market data API. Enables AI agents (Claude, Cursor, Windsurf, etc.) to query real-time crypto market data including funding rates, futures, arbitrage opportunities, narratives, ecosystems, and more.

Installation

Requires Node.js 18 or later.

npx (no install)

npx @sharpe-terminal/mcp-server

Global install

npm install -g @sharpe-terminal/mcp-server
sharpe-mcp

Configuration

Environment Variables

VariableRequiredDefaultDescription
SHARPE_API_KEYNo—Your Sharpe API key (sk_live_...). When set, uses the authenticated /api/v1/ endpoints with higher rate limits.
SHARPE_API_URLNohttps://www.sharpe.aiBase URL for authenticated /api/v1/* API requests.
SHARPE_FREE_URLNohttps://www.sharpe.aiBase URL for free /api/* fallback requests.

Without an API key, the server falls back to free public endpoints when a matching public route exists. Authenticated-only /api/v1/* tools require SHARPE_API_KEY.

Custom base URLs must use https://, except http://localhost/127.0.0.1/::1 for local development. The server refuses API redirects so credentials are not forwarded to unexpected hosts.

Claude Desktop

Add to your claude_desktop_config.json (usually at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows):

{
  "mcpServers": {
    "sharpe": {
      "command": "npx",
      "args": ["-y", "@sharpe-terminal/mcp-server"],
      "env": {
        "SHARPE_API_KEY": "sk_live_your_key_here"
      }
    }
  }
}

Claude Code

claude mcp add sharpe -- npx -y @sharpe-terminal/mcp-server

Or with an API key:

SHARPE_API_KEY=sk_live_your_key_here claude mcp add sharpe -- npx -y @sharpe-terminal/mcp-server

Cursor

Add to your .cursor/mcp.json:

{
  "mcpServers": {
    "sharpe": {
      "command": "npx",
      "args": ["-y", "@sharpe-terminal/mcp-server"],
      "env": {
        "SHARPE_API_KEY": "sk_live_your_key_here"
      }
    }
  }
}

Local development (from source)

cd packages/mcp-server
npm install
npm run build
node dist/index.js

Available Tools

The TypeScript package exposes 41 tools: 38 endpoint tools plus 3 composite workflows (analyze_coin, market_briefing, find_opportunities). The Python sharpe-terminal-mcp package mirrors this surface and is the primary distribution for the companion CLI.

All tools are read-only market-data calls. They advertise MCP annotations for readOnlyHint, destructiveHint=false, idempotentHint, and openWorldHint. Endpoint tools return both structuredContent ({ "result": ... }) and text JSON for older clients. Composite workflow tools return { "report": "..." } in structuredContent plus the same markdown report in text content.

Large list responses are capped at 200 rows before they are returned to the MCP client. Truncated payloads include truncated, total, and showing fields.

Release checklist and cross-package synchronization notes live in ../../docs/release-packages.md.

Composite Workflows

ToolDescription
analyze_coinSingle-coin analysis combining funding, futures OI, and prediction data
market_briefingMarket overview, narrative leaders, and funding highlights in one briefing
find_opportunitiesFunding-rate and arbitrage opportunity scan across multiple sources

Derivatives

ToolDescription
get_funding_ratesPerpetual funding rates across exchanges (current, accumulated, or historical)
get_futures_dataFutures chart data: OI, volume, liquidations, long/short ratios, basis, term structure
get_futures_coinsList of coins with futures data and exchange capability flags
get_derivatives_overviewMarket-wide derivatives snapshot: total OI, weighted funding, top coins, and exchange counts

Market Data

ToolDescription
get_heatmapMarket heatmap by coins, narratives, or ecosystems
get_correlation_matrixPrice correlation matrix for portfolio analysis
get_market_overviewTotal market cap, BTC dominance, top gainers/losers, trending coins
get_price_predictionML-based price predictions with confidence intervals
search_market_capSearch coins by name or ticker with market cap data
get_newsAggregated crypto news with category and coin filters
get_curated_newsCurated crypto news highlights
get_gem_finderCurated low-cap, high-potential token discovery
get_stablecoinsStablecoin overview, detail, peg, chain supply, and yield data
get_mindshareNarrative mindshare, token-level attention, and historical snapshots
get_web_trafficAttention rankings, search trends, and social/developer snapshots
get_katanaKatana Network TVL, token, holder, sentiment, pool, and ecosystem analytics

Screener

ToolDescription
get_dexscreener_dataLive DEX pair screening by category, network, or search phrase
get_dexscreener_securityToken contract security signals for DEX Screener tokens
get_token_scannerRead-only hot token, new runner, alpha drop, AI token, and top-new scans
get_rug_check_securityToken contract and liquidity risk signals
get_rug_check_trendingTrending tokens suitable for rug-check review
get_insider_sellingInsider selling pressure and holder-quality risk signals
get_pump_dumpPump-and-dump manipulation risk signals

Arbitrage

ToolDescription
get_arbitrage_spot_perpSpot-perpetual funding rate arbitrage opportunities
get_arbitrage_cross_exchangeCross-exchange price discrepancy arbitrage
get_arbitrage_dated_futures_basisSpot-futures cash-and-carry basis rows
get_arbitrage_futures_calendar_spreadNear-versus-far dated futures curve rows
get_arbitrage_perp_dated_carryPerp funding versus dated futures carry rows
get_arbitrage_cex_spot_transferCEX spot-transfer rows with network, fee, depth, and slippage checks

Categories

ToolDescription
get_narrativesNarrative-level data: L1, L2, DeFi, AI Agents, DePIN, RWA, etc.
get_ecosystemsEcosystem-level data: Ethereum, Solana, Arbitrum, Base, etc. with TVL
get_memecoinsMemecoin narrative data: Dog, Cat, Frog, AI, Solana, Base, Pump.fun, etc.
get_memecoin_launchesRecently launched memecoin pairs screened by age, liquidity, volume, and transactions
get_exchange_listingsNew Listings aggregate activity by narrative and venue
get_recent_listingsRecent token listings feed
get_listing_eventsCanonical listing lifecycle events with source confidence
get_listing_exchangesListing connector coverage and parser status

System

ToolDescription
get_api_coverageAvailable data products, exchanges, timeframes, and chart coverage

Example Prompts

Once connected, you can ask your AI agent things like:

  • "What are the current BTC funding rates across exchanges?"
  • "Show me the top spot-perp arbitrage opportunities"
  • "What's the correlation between BTC, ETH, and SOL over the last 90 days?"
  • "Show me the DeFi narrative performance data"
  • "Search for Solana in the market cap tracker"
  • "What are the latest crypto news about Bitcoin?"
  • "Get the futures open interest chart for ETH over the last month"

License

MIT

Keywords

mcp

FAQs

Package last updated on 10 Jun 2026

Related posts