Skip to content
PerpSpread — Cross-Exchange Perpetual Funding Arbitrage MCP logo
MCP server
RegistryRemote

PerpSpread — Cross-Exchange Perpetual Funding Arbitrage MCP Server

Live 7-venue crypto funding rate spreads, L2 slippage audits, and rotation math.

PerpSpread — Cross-Exchange Perpetual Funding Arbitrage MCP scores 66 (Good), licensed MIT and written in Python. It can be reached as a remote MCP endpoint. It declares 5 tools. Filed under Finance. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by 123mason123MITPython0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "123mason123-perpspread-mcp": {      "url": "https://perpspread.com/api/mcp"    }  }}

Environment variables

This server does not declare environment variables.

Tools5Tool docs quality grade C

All capabilities
  • Fetch live Top-20 L2 orderbooks across the optimal Long and Short venues for a symbol to measure real bid/ask depth and execution slippage in basis points.

  • Model whether rotating from an active delta-neutral funding-arb pair (A) into a new target symbol (B) pays back 4-leg fees, slippage, and exit/entry price basis.

  • Discover live single-venue Spot-Long / Perp-Short positive funding cash-and-carry spreads across CEX venues.

  • Inspect all 7 venues' live funding rates, settlement intervals (1h/4h/8h), mark prices, 24h volume, and 7D/30D realized funding APR for any coin.

  • Scan live cross-exchange perpetual funding rate arbitrage spreads across all 7 venues with liquidity filters, entry basis, and breakeven days.

About

PerpSpread MCP Server & Reproducible Funding Audit Toolkit

MCP Protocol Hosted Endpoint Venues License: MIT

Official hosted Model Context Protocol (MCP) server manifest (server.json), client configurations, and zero-dependency funding reconciliation scripts for PerpSpread — an independent 7-venue crypto perpetual futures funding-rate arbitrage, cash-and-carry, and Top-20 L2 orderbook slippage terminal.

Connect Claude, Cursor, Codex CLI, Windsurf, or any MCP-compatible AI agent directly to live cross-exchange funding spreads and orderbook depth with zero local installation and no API key required on the free tier (15 req/min).


Live Terminal & Endpoints


Covered Venues (7)

TypeVenuesSettlement CadenceStandard VIP 0 Taker Fee
CEX (5)OKX, Binance Futures, Bybit, Bitget, Gate.io4h / 8h (normalized to 365d APR)0.050% / 0.050% / 0.055% / 0.060% / 0.050%
Perp DEX (2)Hyperliquid, Aster1h / 8h (normalized to 365d APR)0.045% / 0.035%

Neutrality Convention: All default rankings, breakeven days, simulators, and MCP tools use Standard VIP 0 taker fees and 1× delta-neutral sizing ($10,000 total capital = $5,000 Long + $5,000 Short). Optional OKX 20% new-user fee rebate (0.040% taker) is strictly opt-in (okx_rebate: true).


Tools

All 5 tools are read-only, idempotent, and return structured JSON payloads from live exchange feeds (protocolVersion: 2025-03-26).

  • get_top_funding_spreads — Scan live cross-exchange perpetual funding rate arbitrage spreads across all 7 venues with liquidity filters, entry basis, and breakeven days.
  • get_symbol_funding_breakdown — Inspect all 7 venues' live funding rates, settlement intervals (1h/4h/8h), mark prices, 24h volume, and 7D/30D realized funding APR for any coin.
  • audit_orderbook_slippage — Fetch live Top-20 L2 orderbooks across the optimal Long and Short venues for a symbol to measure real bid/ask depth and execution slippage in basis points.
  • calculate_rotation_breakeven — Model whether rotating from an active delta-neutral funding-arb pair (A) into a new target symbol (B) pays back 4-leg fees, slippage, and exit/entry price basis.
  • get_cash_and_carry_spreads — Discover live single-venue Spot-Long / Perp-Short positive funding cash-and-carry spreads across CEX venues.

Tool Parameters Reference

ToolRequired ParamsOptional Params
get_top_funding_spreads(none)min_volume_usd (number, default 1000000), exchange (okx | binance | bybit | bitget | gate | hyperliquid | aster), limit (1–50, default 10)
get_symbol_funding_breakdownsymbol (e.g. "BTC", "ETH", "SOL", "HYPE")(none)
audit_orderbook_slippagesymbol (e.g. "BTC", "SOL")(none)
calculate_rotation_breakevencurrent_symbol, current_long, current_short, target_symbolcapital_usd (default 20000), execution ("taker" | "maker", default "taker"), okx_rebate (boolean, default false)
get_cash_and_carry_spreads(none)min_volume_usd (number, default 1000000), limit (1–30, default 10)

Example Prompts for Your AI Agent

  • "Find the top 5 cross-exchange funding spreads involving Hyperliquid with at least $5M daily volume, then audit L2 orderbook slippage on the #1 result."
  • "Compare live funding APR vs 7-day realized settled APR for BTC and SOL across all 7 venues so I don't chase a one-hour funding spike."
  • "I am holding a $20,000 delta-neutral position long OKX / short Binance on ETH. Calculate whether rotating into SOL pays back 4-leg taker fees and slippage."
  • "Show me the best Spot-Long / Perp-Short cash-and-carry yields right now with at least $10M 24h perp volume."

Quick Start (Client Setup)

No local build, Docker container, or npm install is needed — point your MCP client to the hosted Streamable HTTP endpoint https://perpspread.com/api/mcp.

Claude Code CLI

claude mcp add --transport http perpspread https://perpspread.com/api/mcp

Claude Desktop

Add to claude_desktop_config.json (template in configs/claude_desktop_config.json):

{
  "mcpServers": {
    "perpspread": {
      "url": "https://perpspread.com/api/mcp"
    }
  }
}

Cursor / Windsurf / Cline

Add to .cursor/mcp.json (or your editor's MCP settings; template in configs/cursor_mcp.json):

{
  "mcpServers": {
    "perpspread": {
      "url": "https://perpspread.com/api/mcp"
    }
  }
}

OpenAI Codex CLI

Add to ~/.codex/config.toml (template in configs/codex_config.toml):

[mcp_servers.perpspread]
url = "https://perpspread.com/api/mcp"
# Optional: unlock 60 req/min + 30D history via https://perpspread.com/pricing
# http_headers = { "X-API-Key" = "ps_live_your_key_here" }

Optional API Key (Higher Rate Limits)

TierRate LimitHistory WindowAuth Header
Free (No Auth)15 req/min7 days settled & 15m snapshots(none required)
Developer (ps_live_)60 req/min30 days settled & snapshotsX-API-Key: ps_live_...

Get a free API key at perpspread.com/pricing.


Verify the Live MCP Endpoint

Run the zero-dependency Python 3 smoke test (performs GET discovery, JSON-RPC initialize, notifications/initialized, tools/list, and live tools/call):

python3 scripts/mcp_smoke_test.py

Or test directly with curl:

# 1. Server discovery manifest
curl -s https://perpspread.com/api/mcp | jq .

# 2. List all 5 MCP tools via JSON-RPC 2.0
curl -s -X POST https://perpspread.com/api/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | jq .

Reproducible 7-Day Settled Funding Audit (Python & Node.js)

Independently verify PerpSpread's /audit/btc-7d numbers against raw settled exchange prints. Both scripts use only standard library modules (zero external packages):

# Python 3 (defaults to BTC; pass any symbol such as ETH, SOL, HYPE)
python3 scripts/reconcile_btc_7d.py BTC

# Node.js 18+
node scripts/reconcile_btc_7d.mjs BTC

What the audit verifies end-to-end:

  1. Fetches all 7 venues' settled funding timestamps over the last 7 days from /api/v1/history?symbol=BTC&days=7&source=settled&format=json (typically 168 hourly prints on Hyperliquid vs 21 8-hour prints on CEXs/Aster).
  2. Recomputes per-venue cumulative 7-day funding cum7dRate = Σ(rawRate) and annualized avg7dApr = cum7dRate × (365 / 7) directly from the raw print array.
  3. Reconciles realized7dSpreadApr = shortAvg7dApr − longAvg7dApr against the API's reported figure and asserts numerical consistency.
  4. Prints a side-by-side $10,000 (1× · $5,000/leg) Standard VIP 0 P&L breakdown comparing Live Snapshot Projection vs 7D Realized Settled Baseline so transient funding spikes are never confused with sustained carry.

Direct REST, CSV & DuneSQL LiveFetch

All public data endpoints are permitted in robots.txt and work natively inside DuneSQL http_get() dashboards:

# Live 7-venue spreads (filter by minVol or single symbol)
curl -s "https://perpspread.com/api/v1/spreads?minVol=1000000&limit=25"

# Raw 7-day settled exchange funding prints (JSON)
curl -s "https://perpspread.com/api/v1/history?symbol=BTC&days=7&source=settled&format=json"

# Persisted 15-minute spread & Open Interest snapshots (JSON or CSV)
curl -s "https://perpspread.com/api/v1/history?symbol=BTC&days=7&format=json"
curl -s "https://perpspread.com/api/v1/history?symbol=BTC&days=7&format=csv"
-- DuneSQL LiveFetch example (paste directly into Dune)
SELECT http_get('https://perpspread.com/api/v1/spreads?minVol=1000000&limit=10') AS raw_json;

Official MCP Registry Metadata

This repository includes a schema-compliant server.json (2025-12-11 schema) for publishing to the Official MCP Registry:

mcp-publisher login github
mcp-publisher publish

License

MIT — see LICENSE.

Frequently asked questions

What is PerpSpread — Cross-Exchange Perpetual Funding Arbitrage MCP Server?

Live 7-venue crypto funding rate spreads, L2 slippage audits, and rotation math.

How do I install PerpSpread — Cross-Exchange Perpetual Funding Arbitrage MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. PerpSpread — Cross-Exchange Perpetual Funding Arbitrage MCP Server connects to the remote endpoint https://perpspread.com/api/mcp, so there is nothing to install locally.

Is PerpSpread — Cross-Exchange Perpetual Funding Arbitrage MCP Server free and open source?

Yes. PerpSpread — Cross-Exchange Perpetual Funding Arbitrage MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does PerpSpread — Cross-Exchange Perpetual Funding Arbitrage MCP Server support remote (HTTP) connections?

Yes. PerpSpread — Cross-Exchange Perpetual Funding Arbitrage MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

What tools does PerpSpread — Cross-Exchange Perpetual Funding Arbitrage MCP Server provide?

PerpSpread — Cross-Exchange Perpetual Funding Arbitrage MCP Server provides 5 tools, including audit_orderbook_slippage, calculate_rotation_breakeven, get_cash_and_carry_spreads, and get_symbol_funding_breakdown. See the full tool list for descriptions and parameters.

How is PerpSpread — Cross-Exchange Perpetual Funding Arbitrage MCP Server's trust score calculated?

PerpSpread — Cross-Exchange Perpetual Funding Arbitrage MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server