MCP server for AI agent trading — 275+ perpetual markets including TSLA, NVDA, GOLD, SILVER via Hyperliquid HIP-3. Stocks, commodities, crypto, forex. By Purple Flea.
Server presents 9 trading tools with mostly complete schemas and descriptions. Naming follows verb_noun convention consistently (trading_*). Descriptions are present and substantial (100-300+ chars), exceeding the 10-char minimum. All tools have input schemas with type definitions and parameter descriptions. However, there are significant gaps: (1) Output schemas are not documented, the code returns JSON blobs via `{ type: 'text', text: JSON.stringify(...) }` with no structured schema declaration telling the LLM what fields to expect; (2) Error handling is minimal, `isError: 'error' in result` flags errors but provides no recovery guidance or actionable messages; (3) Parameters lack validation constraints, e.g., coin is a free-form string with no enum, size_usd accepts any positive number with no bounds documented; (4) Critical security issue: trading_register and trading_open_position expose credential parameters (hl_signing_key, hl_wallet_address) that should never be in tool params; (5) Composition concern: trading_open_position and trading_close_position are high-risk destructive operations but lack confirmation/dry-run patterns. Descriptions are marketing-heavy (mentioning referral commissions, leverage multiples, fee percentages) but lack clarity on what data each tool returns.
View your trading account details: tier, leverage limits, total volume, fees paid, P&L, and referral code. Agents earn 20% commission on fees from referred traders.
Close an open position on Hyperliquid and realize profit/loss. Submits a reduce-only market order. Returns entry price, exit price, P&L in USD and percentage, and fees paid.
View your real Hyperliquid positions with live prices and unrealized P&L. Reads directly from HL clearinghouse. Optionally include closed positions from history.
Get the current live price for any market. Supports stocks (TSLA, NVDA), commodities (GOLD, SILVER), crypto (BTC, ETH, SOL), and more. Prices sourced from Hyperliquid DEX in real-time.
View your complete trade history — every order fill with prices, fees, and realized P&L.
Output schemas not documented. All tools return text-wrapped JSON via `{ type: 'text', text: JSON.stringify(...) }` with no declared fields, types, or structure. LLMs cannot plan downstream calls or extract specific values without guessing.
Credentials exposed as tool parameters. trading_register accepts hl_signing_key and hl_wallet_address as input strings. Private keys must never be tool parameters, they are logged, traced, and cached. Use server-side secret injection via environment or secure vault.
High-risk destructive operations lack confirmation/dry-run pattern. trading_open_position (real leveraged trades) and trading_close_position (real P&L settlement) execute immediately with no confirmation step. Agents can misfire and cause real financial loss.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 64 | 2026-07-28+ | v2 |
| 2026-03-09 | D | 55 | - | v1 |
List all 275+ tradeable perpetual markets across stocks (TSLA, NVDA, AAPL, GOOGL, META), commodities (GOLD, SILVER, OIL, URANIUM), indices (SPX, JP225), forex (EUR, JPY), and 229 crypto pairs. Powered by Hyperliquid HIP-3. Trade real-world assets 24/7 with leverage.
Get detailed info for a specific market including price, max leverage, fee structure, and trade examples. Works for any of the 275+ markets.
Open a REAL leveraged long or short position on Hyperliquid. Supports stocks (TSLA 5x), commodities (GOLD 10x), crypto (BTC 50x). Orders execute directly on YOUR HL account. Fees: Hyperliquid base + builder fee (2 bps free tier). Referral agents earn 20% commission.
Create a new trading account with real Hyperliquid execution. Provide your HL wallet address and signing key (API Agent Wallet private key) for live trading. Trades execute on YOUR Hyperliquid account — we never hold your funds. Sign up via https://app.hyperliquid.xyz/join/PF for referral benefits.
Parameter constraints missing or underspecified. coin is a free-form string with no enum; size_usd is unbounded numeric; leverage has min/max (1-50) but no documentation of market-specific limits (e.g., TSLA 5x, BTC 50x). LLMs will hallucinate invalid values.
Error handling is minimal and non-actionable. Code checks `isError: 'error' in result` but returns raw API errors with no recovery guidance. Errors should tell the LLM what went wrong and what to do next (e.g., 'Insufficient balance. Check trading_account to review available margin.').
No permission gates or audit trails. Destructive tools (trading_open_position, trading_close_position, trading_register) should verify caller authority and log who executed what, when, and with what result for compliance and incident response.
Descriptions lack clarity on return structure and when to use each tool. trading_account, trading_get_positions, and trading_history all return lists/records but descriptions do not state what fields are returned, how many items to expect, or pagination support.
Pagination support unclear. trading_history accepts limit (1-200, default 50) but no documentation of offset, cursor, or total count. Large result sets risk blowing context windows.
Descriptions mix marketing language with functional intent. trading_open_position says 'Referral agents earn 20% commission', this is not actionable for the tool; it belongs in docs, not the description. Focus descriptions on what the tool does and when to call it.