MCP server for Hyperliquid HIP-4 prediction markets
The server provides 10 read-only tools for Hyperliquid prediction market data. Tool naming is consistent and verb-first (list_, get_). All tools have descriptions (10-80 chars, mostly adequate). Input schemas are present with Zod validation for most tools. However, there are significant gaps: (1) Output schemas are completely undocumented, responses are returned as text blobs without structured field definitions, making it impossible for LLMs to extract and chain data; (2) Parameter descriptions are minimal or absent for some tools (e.g., get_candles has 'hours' with only 'Candle interval in hours', no range, no guidance on valid values); (3) Error handling is minimal, no recovery guidance, no categorization of retryable vs fatal errors; (4) No tool annotations (readOnlyHint, idempotentHint) despite all tools being read-only and safe; (5) Composition is weak, tools return unstructured text that makes downstream chaining difficult. The tools follow a consistent pattern and are self-contained, but the lack of structured output and minimal error guidance significantly limits agent usability.
Get OHLCV candles for an outcome coin
Get detailed info about a specific market outcome
Get aggregate market summary for all outcomes
Get open orders for a user address
Get order book for a specific outcome side
Get current mid prices for all outcome coins
Get recent trades for an outcome coin
Output schemas completely undocumented. All tools return text blobs (content[{type: 'text', text: string}]) rather than structured JSON objects with typed fields. LLMs cannot extract, parse, or chain data without explicit schema documentation.
Parameter descriptions lack constraints and guidance. get_candles accepts 'hours' with description 'Candle interval in hours', no valid range (1, 4, 24?), no examples. get_user_fills 'limit' has no explanation of what happens when limit exceeds available results.
No error handling guidance. Tools can fail silently or return generic fetch errors (e.g., 'HL API error: 404'). No indication of whether errors are retryable, what to do if a user address is invalid, or which tools require warm-up calls.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 53 | 2026-07-28+ | v2 |
Get trade history for a user address
Get current outcome balances with venue, participant, held shares and mark values. Does not discover wallets or merge contracts across deployers.
List all prediction markets with current prices
No tool annotations (readOnlyHint, idempotentHint) despite all tools being read-only and fully idempotent. Agents cannot infer safety without explicit annotations.
Weak composition and chaining. Tools return formatted text strings (e.g., 'Order book for XYZ: Asks (sell): ...'). LLMs cannot extract coin names, price levels, or order counts to feed into downstream tools. No pagination or next_cursor support despite potential for large result sets.
Parameter 'side' in get_orderbook accepts 0 or 1 with description '(0=Yes/first, 1=No/second)'. Enum or explicit constants would be clearer. LLMs may confuse numeric codes with actual market semantics.