dydx-perps-markets-api-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dydx-perps-markets-api-mcp list top dYdX perpetual markets by 24h volume"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dydx-perps-markets-api-mcp
Decentralized perpetual futures market data from the dYdX v4 Indexer over Model Context Protocol (MCP). Derivatives desks, basis traders, and quantitative analysts can inspect active perpetual markets, hourly funding rate histories, L2 orderbook depth, and OHLCV candles without an API key or account. It works right away.
Hosted endpoint
Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.
https://dydx-perps-markets-api-mcp.lipmichal.workers.dev/mcpRelated MCP server: dydx-agent-gateway
Available tools
Tool | Purpose |
| List active dYdX v4 perpetual futures markets ranked by 24h volume, open interest, or funding rate |
| Fetch oracle price, 24h change, margin fractions, open interest, and next funding rate for one ticker |
| Fetch historical hourly funding rates and implied annualized APR for a perpetual contract |
| Fetch live L2 bid and ask levels, best spread in basis points, and mid-price for a market |
| Fetch OHLCV candlesticks across minute, hourly, and daily resolutions for a dYdX perpetual market |
Client configuration
Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.
{
"mcpServers": {
"dydx-perps-markets-api": {
"url": "https://dydx-perps-markets-api-mcp.lipmichal.workers.dev/mcp"
}
}
}Run locally over stdio
You can also run the server locally on Node 20 or newer over stdio.
npm install
npm run build
npm startCompliance and reliability
Every upstream request queries indexer.dydx.trade/v4/ with a polite User-Agent header (mcpstamp-dydx-perps-markets-api/1.0.1 (hello@mcpstamp.com)) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions down to the SDK version cleanly.
More MCP servers and readiness check
This server belongs to the public MCP directory maintained by MCPStamp and Zovo.
Free live-data MCP directory with hosted keyless endpoints and client setup guides.
Free MCP readiness checker to score any MCP server for Claude, ChatGPT, and registry submission.
MCP Readiness Audit ($490) for teams shipping a production server who want a hands-on security, schema, and store review.
Zovo Pro MCP Bundle ($39 one-time) with hosted commercial servers and priority endpoints.
Available Tools
5 toolsget_dydx_historical_funding_ratesGet dYdX historical funding ratesRead-onlyIdempotentInspect
Fetch historical hourly funding payments, oracle prices, and annualized APR estimates for a dYdX v4 perpetual market.
Inputs: ticker (required), limit.
get_dydx_market_candlesGet dYdX market candlesARead-onlyIdempotentInspect
Fetch OHLCV historical candlesticks and USD volume for a dYdX v4 perpetual market at minute, hourly, or daily resolution.
Inputs: ticker (required), limit, resolution.
get_dydx_market_detailsGet dYdX market detailsARead-onlyIdempotentInspect
Fetch full oracle price, 24h change, volume, open interest, margin fractions, and next funding rate for one dYdX perpetual ticker.
Inputs: ticker (required).
get_dydx_market_orderbookGet dYdX market orderbookRead-onlyIdempotentInspect
Fetch live L2 bids, asks, best bid/ask, mid-price, and spread in basis points for a dYdX v4 perpetual market.
Inputs: ticker (required), depth.
list_dydx_perpetual_marketsList dYdX perpetual marketsRead-onlyIdempotentInspect
List dYdX v4 perpetual futures markets sorted by 24h USD volume, open interest USD, or absolute hourly funding rate.
Inputs: limit, status, sort_by.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Read-only market data on derivatives: digital asset and US stock perpetuals, liquidations, options.
Read-only market data: tokens, stocks, Hyperliquid perps, Polymarket, and public trader books.
Hyperliquid public API for perpetual futures mid prices, funding rates, OI, and L2 books.
51Read-only crypto MCP: markets, funding, spreads, DeFi, prediction markets, explorer & RPC.
Related MCP Servers
- AlicenseAqualityNot gradedmaintenanceA read-only MCP server for querying Hyperliquid perp markets, funding rates, order books, candles, and account positions/fills/funding for any address, without needing API keys or wallets.82MIT
- AlicenseAqualityBmaintenanceAnalytics-only MCP gateway to dYdX v4. 22 read-only tools: market data, funding heatmap, verified trader PnL with deposit-adjusted metrics and identity reconciliation (phantom-data detector), leaderboards with farmer flags, liquidation cascade detection, OI anomaly alerts, cross-asset correlation/beta, CVD, ATR risk plans. Zero keys, zero setup, pip install and go.2237 PyPI1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to read live Hyperliquid market data — perp and spot metadata, mid prices, order books, OHLCV candles, funding rates and history, and current open interest — keylessly from the exchange's public info API, with no wallet or trading access.81 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI clients to query real-time Hyperliquid exchange data—including market prices, order books, candles, perpetual and spot metadata, account positions, orders, fills, vaults, staking, and lending—through public read-only endpoints without an API key.MIT