axe
Reference

MCP Tools

MCP tools exposed by the Hyperliquid intelligence module for agent and IDE integrations.

HLQ exposes 5 tools via the Model Context Protocol. These are designed for agent consumption — each response includes provenance metadata for traceability.

Starting the server

# stdio (Claude Desktop, agent integration)
python -m hlq.api.mcp --transport stdio
 
# HTTP (remote clients)
python -m hlq.api.mcp --host 0.0.0.0 --port 8420
 
# SSE
python -m hlq.api.mcp --transport sse --port 8420

find_similar_traders

Search for traders matching a natural language query.

Parameters:

NameTypeDefaultDescription
querystrrequiredNatural language search query
top_kint50Maximum results
addresseslist[str]nullExplicit addresses (skips ANN shortlist)

Response fields:

FieldDescription
tradersList of matching trader dicts (address, metrics, scores)
sql_usedThe SQL that was executed
intent_familyHow the query was classified
actionWhich RouteAction was selected
result_countNumber of results
multi_coinWhether results span multiple coins
sort_directionASC or DESC
provenanceTraceability metadata (see Provenance)

explain_trader

Get a detailed profile and narrative for a single trader.

Parameters:

NameTypeDefaultDescription
addressstrrequiredTrader's blockchain address
window_daysint30Analysis window in days

Response fields: profile, narrative, semantics, provenance

detect_copytrade

Detect copy-trading relationships between traders.

Parameters:

NameTypeDefaultDescription
leaderstrnullLeader address
followerstrnullFollower address
lag_daysint1Lag window for correlation

Response fields: pairs, lag_days, result_count, addresses_provided, provenance

Key pair metrics: corr_same_day, corr_lagged, lag_lift_score, overlap_days.

screen_risk

Screen traders by risk criteria.

Parameters:

NameTypeDefaultDescription
risk_typestr"leverage"Type: leverage, liquidation, margin
thresholdfloat4.0Risk threshold value

Response fields: traders, risk_type, threshold, result_count, provenance

bridge_status

Check bridge health and artifact inventory. No parameters.

Response fields: version, format_version, created_at, actions, ann_items, sql_templates, checksum_errors, health, narrative, issues

On this page