Hip4 Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Hip4 Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
⚠️ EXPERIMENTAL — HIP-4 is currently live on Hyperliquid testnet only. Mainnet launch is expected in 2026 (no exact date announced). This server will be updated for mainnet once HIP-4 goes live.
MCP server for Hyperliquid HIP-4 prediction markets (outcome trading). Provides read-only tools for discovering, analyzing, and monitoring outcome contracts.
HIP-4 adds outcome trading to Hyperliquid — fully collateralized binary contracts that settle to 0 or 1 based on whether an event occurs. Think prediction markets built natively on HyperCore's orderbook.
npm install -g hip4-mcpOr clone and build:
git clone https://github.com/yashhsm/hip4-mcp.git
cd hip4-mcp
npm install
npm run buildAdd to your MCP config (.mcp.json or Claude Code settings):
{
"mcpServers": {
"hip4": {
"command": "node",
"args": ["/path/to/hip4-mcp/dist/index.js"]
}
}
}list_outcomesList all HIP-4 outcome markets with metadata, side specs, and linked questions. For priceBinary markets, returns parsed underlying asset, target price, expiry, and period.
get_outcome_bookGet the L2 orderbook for a specific outcome side. Returns bids, asks, spread, and depth summary.
get_outcome_pricesGet mid prices for all outcome markets with decoded outcome IDs and side names.
get_outcome_positionsGet a user's outcome token balances (prediction market positions).
get_outcome_depth_summaryGet depth summary across ALL outcome markets — bid/ask depth, spread, best prices for every active side.
search_outcomesSearch and filter outcomes by underlying asset (BTC, HYPE), type (priceBinary), or keyword. Optionally filter to only markets with orderbook depth.
get_outcome_candlesGet OHLCV candle data for an outcome side. Useful for charting price history.
get_outcome_tradesGet a user's fill history filtered to outcome markets only.
get_outcome_open_ordersGet a user's open orders filtered to outcome markets only.
encoding_helperConvert between outcome IDs, side indices, coin symbols (#xxx), token names (+xxx), and asset IDs. Useful for understanding the HIP-4 encoding system.
Outcome assets use a special encoding on Hyperliquid:
| Component | Formula | Example (BTC outcome 2146, YES) |
|---|---|---|
| Encoding | 10 * outcomeId + side | 21460 |
| Spot coin | #<encoding> | #21460 |
| Token name | +<encoding> | +21460 |
| Asset ID | 100_000_000 + encoding | 100021460 |
Side is 0 for the first outcome (usually YES), 1 for the second (usually NO).
All tools accept a network parameter ("testnet" or "mainnet"), defaulting to "testnet".
https://api.hyperliquid-testnet.xyzhttps://api.hyperliquid.xyznpm run build
node dist/test.jsRuns integration tests against the Hyperliquid testnet API.
MIT
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.