{"slug": "how-to-query-hyperliquid-data-from-claude-and-chatgpt", "title": "How to Query Hyperliquid Data from Claude and ChatGPT", "summary": "Hyperdash launched a hosted, read-only Model Context Protocol server at data.hyperdash.com/mcp that exposes one tool per Hyperdash Data API endpoint, letting Claude, ChatGPT, Claude Code, Codex and Cursor query live Hyperliquid market, liquidation and wallet data instead of relying on training data. The server supports OAuth sign-in for Claude and ChatGPT connectors and API-key authentication for coding agents, and includes a time_window tool that converts relative dates into exact timestamps. Hyperdash says the server is read-only and cannot place orders or move funds.", "body_md": "*Originally published on the [Hyperdash blog](https://hyperdash.com/learn/hyperliquid-mcp-server-claude-chatgpt).*\n\nYes, there is a hosted Hyperliquid MCP server. Hyperdash runs a read-only one at `https://data.hyperdash.com/mcp`, with one tool for each Hyperdash Data API endpoint, and it works on every Hyperdash Data API plan.\n\nTo query Hyperliquid data from Claude or ChatGPT, add the Hyperdash MCP server, `https://data.hyperdash.com/mcp`, as a custom connector and sign in with your Hyperdash account. The assistant can then answer questions about Hyperliquid markets, liquidations and any wallet's history with live data instead of its training data. The same server works in Claude Code, Codex and Cursor.\n\nThis guide covers what the server is, how to connect each client, what to ask, and how to keep an agent's spending under control.\n\nMCP, the Model Context Protocol, is an open standard that lets AI assistants call outside tools. The Hyperdash MCP server is a remote server (Streamable HTTP) that gives an assistant one tool for each endpoint of the [Hyperdash Data API](https://hyperdash.com/products/data/api). It reads from Hyperdash's own Hyperliquid nodes and history store, so answers come from current and historical exchange data.\n\nIt also includes a `time_window` tool that turns \"yesterday\" or \"last week in New York\" into exact timestamps, and results that name a wallet link to that wallet's page on hyperdash.com.\n\nThe server is read-only. It answers questions about Hyperliquid; it does not place orders or move funds.\n\n`https://data.hyperdash.com/mcp`.\nThe connector is saved to your Claude account, so it works on web, desktop and mobile. No API key is involved.\n\nCoding agents can sign in with OAuth or use an API key. To use a key, create one in the [console](https://console.hyperdash.com) under **API Keys** and save it in your shell as `HYPERDASH_API_KEY`, so it never appears in a chat.\n\n**Claude Code:**\n\n```\nclaude mcp add --transport http --scope user hyperdash-data https://data.hyperdash.com/mcp --header \"Authorization: Bearer $HYPERDASH_API_KEY\"\n```\n\nTo sign in with OAuth instead, leave out `--header`, run `/mcp` in Claude Code, pick `hyperdash-data` and choose **Authenticate**.\n\n**Codex:**\n\n```\ncodex mcp add hyperdash-data --url https://data.hyperdash.com/mcp --bearer-token-env-var HYPERDASH_API_KEY\n```\n\nTo sign in with OAuth instead, leave out `--bearer-token-env-var HYPERDASH_API_KEY`, then run `codex mcp login hyperdash-data`.\n\n**Cursor:** add the server to `~/.cursor/mcp.json`, or to `.cursor/mcp.json` in one project, with the URL `https://data.hyperdash.com/mcp` and an `Authorization: Bearer ${env:HYPERDASH_API_KEY}` header. To sign in with OAuth instead, leave out the header, open **Cursor Settings**, then **MCP**, and select **Connect** next to `hyperdash-data`.\n\nAny other client that supports remote MCP servers works the same way. Full steps for each client are in the [MCP server docs](https://docs.hyperdash.com/data-api/mcp), and the console's **MCP** page has a copy button for each setup.\n\n**OAuth vs API key for the Hyperdash MCP server**\n\n|  | OAuth | API key | \n|---|---|---|\n| Clients | Claude, ChatGPT, and coding agents that support MCP sign-in | Claude Code, Codex, Cursor and other agents that send a header | \n| Setup | Sign in to the console and approve one project and its scopes | Create a key in the console and set it as an environment variable | \n| Data tools | Every tool the approved scopes allow | Every tool the key's scopes allow | \n| Live streams and credit balance | Not available | Available | \n| Revoking access | From the console at any time | Revoke the key in the console; it stops working within about 5 seconds | \n\nNever paste an API key into a chat. Keys belong in the client's configuration or an environment variable.\n\nOpen a new chat and ask in plain language. These come from the Hyperdash docs:\n\nWallet questions work for any address: its PnL, open positions, completed trades, funding and risk metrics. For examples of what to look for in a trader, see [How to Analyze Trader Performance on Hyperliquid](https://hyperdash.com/blog/how-to-analyze-trader-performance-on-hyperliquid). For more prompts, see the [guides](https://docs.hyperdash.com/data-api/guides).\n\nHave the agent read the [Data skill](https://docs.hyperdash.com/skills/data) first. It teaches the agent which endpoint answers which question and how to page through results. For coding agents, the [AI agents guide](https://docs.hyperdash.com/data-api/build-with-ai) has a master prompt that connects the server, reads the skill and lists what the agent can now do.\n\nWhen an agent writes code against the API instead of calling tools, point it at the endpoint index, `https://data.hyperdash.com/llms.txt`, and the [OpenAPI spec](https://data.hyperdash.com/openapi.json). Both are free to read.\n\nThe server itself has no separate fee. Every tool call uses credits from your Hyperdash Data workspace, the same as a REST request. Plans start at $20 a month for 500,000 credits; see [Plans and limits](https://docs.hyperdash.com/data-api/plans).\n\nBy default, a connection can spend up to your balance. To cap it, open **Settings**, then **Security**, then **Connected apps** in the console, edit the connection and set a credit budget per day or month. A call over a limit is refused without charge. The console's **Logs** page shows the credits each request used. More in [Credits](https://docs.hyperdash.com/data-api/credits).\n\nOnce the server is connected, try a question you could not answer by hand, such as \"Which builder codes have the most profitable users this month?\"\n\nFor more, read [how to analyze trader performance](https://hyperdash.com/blog/how-to-analyze-trader-performance-on-hyperliquid) and [the Hyperdash Data API launch post](https://hyperdash.com/blog/hyperdash-data-api).\n\n**Is there a Hyperliquid MCP server?** Yes. The Hyperdash MCP server serves Hyperliquid data from Hyperdash's own nodes and covers markets, wallets, liquidations, order books and trader analytics.\n\n**Do I need an API key to use Hyperliquid data in Claude or ChatGPT?** No. Claude and ChatGPT connect with OAuth: you sign in with your Hyperdash account and approve access. Coding agents can use either OAuth or a key.\n\n**Can the MCP server place trades on Hyperliquid?** No. It is read-only and returns data only. Orders go through Hyperliquid's exchange endpoint, covered in the [Hyperliquid API guide](https://hyperdash.com/blog/hyperliquid-api-explained).\n\n**What is the difference between data.hyperdash.com/mcp and docs.hyperdash.com/mcp?** `data.hyperdash.com/mcp` serves Hyperliquid data. `docs.hyperdash.com/mcp` searches the Hyperdash documentation.\n\n**Does the MCP server have historical data?** Yes. It has one tool per Data API endpoint, so it reaches the same history as the REST API, within your plan's history depth: 90 days on Hobby and Starter, 180 on Growth, 365 on Scale and full history on Enterprise.\n\n**How fast can an agent make requests?** Agent keys and MCP connections default to 5 requests per second with a burst of 10. Requests over the limit return an error and cost nothing.\n\nNeed full history, an SLA or Hyperliquid Peering in Tokyo or Frankfurt? [Talk to the Hyperdash team](https://hyperdash.com/products/data/enterprise-solutions).", "url": "https://wpnews.pro/news/how-to-query-hyperliquid-data-from-claude-and-chatgpt", "canonical_source": "https://dev.to/hyperdash/how-to-query-hyperliquid-data-from-claude-and-chatgpt-2j8b", "published_at": "2026-12-05 23:00:02+00:00", "updated_at": "2026-12-05 23:14:12.832241+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "developer-tools"], "entities": ["Hyperdash", "Hyperliquid", "Claude", "ChatGPT", "Claude Code", "Codex", "Cursor", "Model Context Protocol"], "also_reported_by": [], "takeaway": "Hyperdash's hosted MCP server at data.hyperdash.com/mcp exposes one tool per Data API endpoint over Streamable HTTP, so assistants like Claude, ChatGPT, Claude Code, Codex and Cursor can pull live Hyperliquid market and wallet data via OAuth or a bearer-token environment variable.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/how-to-query-hyperliquid-data-from-claude-and-chatgpt", "markdown": "https://wpnews.pro/news/how-to-query-hyperliquid-data-from-claude-and-chatgpt.md", "text": "https://wpnews.pro/news/how-to-query-hyperliquid-data-from-claude-and-chatgpt.txt", "jsonld": "https://wpnews.pro/news/how-to-query-hyperliquid-data-from-claude-and-chatgpt.jsonld"}}