AlphaPipeline
AlphaPipeline is a read-only, pay-per-call market-data and pre-trade safety MCP/REST server for crypto and trading agents.
Convert public webpage URLs into clean, LLM-friendly Markdown.
Run pre-buy token security checks: honeypot, buy/sell tax, mintability, ownership, risk flags, LP lock/burn health, and combined token diagnostics.
Assess token unlock/vesting dump risk and vesting progress.
Check DEX liquidity, estimated slippage, and CEX-DEX arbitrage spreads.
Monitor Korea-vs-global “kimchi premium” arbitrage signals.
Pull perpetual funding rates, funding-rate APR/carry breakeven, and Hyperliquid wallet position exposure.
Analyze Polymarket markets: neg-risk basket arbitrage, executable exit capacity, order-split guidance, bid/ask spread, book imbalance, depth after cancellation haircut, taker fee estimates, and monotonicity mispricing.
Analyze Hyperliquid HIP-4 prediction markets: snapshots, strike ladders, closest-strike pricing, and monotonicity mispricing.
Get macro event countdowns (FOMC/CPI/NFP), BTC/ETH halving-cycle comparisons, and Hyperliquid mid/mark/oracle gap checks.
Access everything as MCP tools or REST endpoints, with x402 pay-per-call and some free onboarding/context tools; it does not execute trades or return buy/sell verdicts.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
AlphaPipeline
A pre-flight safety gate for on-chain trading agents — rug-pull/honeypot checks before you buy, plus market/derivatives data — pay-per-call ($0.005–$0.03 USDC), no signup, no API key, no OAuth. Check a token for honeypot/tax/liquidity risk before a swap, or pull funding rates, DEX slippage, Korea price premiums, Polymarket arbitrage signals, and Hyperliquid HIP-4 prediction-market odds. Authenticate and pay in a single request via the x402 protocol (HTTP 402) on Base, or call it as a remote MCP server from Claude Desktop, Cursor, or any MCP client.
Why AlphaPipeline
AlphaPipeline is a machine-first data API. Every endpoint is metered per call using x402: a request without a payment header gets back a standard HTTP 402 response describing exactly how to pay (asset, amount, network, recipient). No account creation, no dashboard, no API key issuance — sign, retry the request with the payment attached, and you get the data back in the same request/response cycle.
It is also exposed as a remote MCP server (POST /mcp) so agent frameworks (Claude Desktop, Cursor, LangChain, CrewAI, and anything else that speaks MCP) can discover and call it with zero custom integration code.
The security cluster is the most battle-tested part of this API. security.token_risk, security.contract_health_audit, and security.token_diagnostic have been run as a live pre-buy safety gate ahead of real on-chain swaps on Base — not just informational data, but an actual pass/fail input wired into a trading pipeline before it risked funds. None of the three return a qualitative verdict field (no safe_to_execute: true/false) — they return raw GoPlus/Honeypot.is numbers and leave the buy/no-buy decision to your own code.
Discovery is always free.
initializeandtools/listnever require payment — browse the full tool catalog before you decide to pay.Two tools are permanent free onboarding endpoints (
unlocks.dump_riskandmarket.kimchi_alert, see below) so an agent can verify connectivity, latency, and response schema before it starts paying for the security cluster and the rest.Settlement is Coinbase CDP (Developer Platform) Facilitator on Base mainnet (
eip155:8453), asset USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913).
The endpoints have not been reviewed by Coinbase — please ensure you trust them prior to sending funds.
Related MCP server: x402-mcp
Quickstart — Remote MCP
Add this to your MCP client's config (Claude Desktop claude_desktop_config.json, Cursor .cursor/mcp.json, or equivalent):
{
"mcpServers": {
"alphapipeline": {
"url": "https://alphapipeline-eu.onrender.com/mcp"
}
}
}tools/list works immediately with no payment. tools/call on a priced tool requires an x402-aware client that can sign and retry a payment (a wallet-holding bot/agent client — most stock chat UIs cannot pay automatically). See examples/ for a working Python client using the official x402 SDK.
Quickstart — Plain REST / x402
curl -s "https://alphapipeline-eu.onrender.com/v1/security/token-risk?chain_id=8453&contract_address=0x..."
# -> HTTP 402, payment terms in the `payment-required` response header (base64 JSON)
# sign a payment, retry with the PAYMENT-SIGNATURE header attached -> 200 + dataNote for client authors: this server speaks x402 v2 — the 402 response body is an empty
{}; the actual payment terms (accepts array, price, asset, pay-to address) are base64-JSON in thepayment-requiredresponse header, not the body. A client written against the older body-shaped convention will get an empty object with no error, not a loud failure. Decode the header instead.
Note on
unlocks.dump_riskandmarket.kimchi_alert: both are intentionally free (no x402 payment required) as onboarding tools — they're informational market-context signals, not part of the validated pre-trade security cluster (security.token_risk,security.contract_health_audit,security.token_diagnostic), which remains paid. If a third-party discovery catalog (e.g. x402 Bazaar) still shows a stale non-zero price for either from before this change, treat this server's own/response and MCPtools/listoutput as the source of truth — they always reflect the live price.Note on tool names: MCP tool names use a
domain.tool_namedot-notation (e.g.market.kimchi_alert) so the tool list forms a navigable tree by domain. The REST paths under/v1/<domain>/...are unaffected by this and remain stable.
Full protocol reference: /llms.txt · x402 docs
Try it now — no wallet, no signup, no payment
Before wiring up a paying client, run check-my-slippage to see this service return real, live data against a production endpoint:
npx check-my-slippageReal output (captured 2026-09-18, straight from production — not a mocked sample):
Checking live Polymarket exit-liquidity via AlphaPipeline...
Market: will-the-fed-decrease-interest-rates-by-25-bps-after-the-october-2026-meeting-... (sell)
Position size: 500 shares
Executable: true
Best quote: $0.0060
Avg exit price: $0.0060
Price impact: 0%
Data source: polymarket-clob
Latency: 88ms
Want this for any market/size, in your own bot?
-> https://github.com/parkyucheol-del/alphapipelineThis calls the free, rate-limited (10/min per IP) GET /v1/prediction/preview-slippage — no payment header, no query params, always runs against a fixed benchmark market so you can judge data quality before paying for prediction.exit_capacity_audit, which takes any market/size you supply. If npx check-my-slippage doesn't resolve on your machine, call the endpoint directly instead: curl https://alphapipeline-eu.onrender.com/v1/prediction/preview-slippage, or run it from source: node check-my-slippage/bin/index.js from a clone of this repo.
Copy-paste client — pre-flight safety gate before a DEX buy
If you're building a sniping/discovery bot that buys new tokens on Base, this is the pattern our own dogfooding bot (alphapipeline-dogfood-bot) uses as a hard, non-bypassable gate before every on-chain purchase: pay $0.03 for security.token-diagnostic, then apply your own thresholds to the raw fields it returns (this server never returns a safe_to_buy: true/false verdict — see Why AlphaPipeline). Adapted from examples/client_example.py:
# pip install "x402[https]" eth_account httpx
import asyncio, os
from eth_account import Account
from x402 import x402Client
from x402.http.clients import x402HttpxClient
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
API = "https://alphapipeline-eu.onrender.com"
async def is_safe_to_buy(contract_address: str, chain_id: int = 8453) -> bool:
account = Account.from_key(os.environ["EVM_PRIVATE_KEY"]) # dedicated small wallet only
client = x402Client()
register_exact_evm_client(client, EthAccountSigner(account))
async with x402HttpxClient(client) as http:
r = await http.get(f"{API}/v1/security/token-diagnostic",
params={"contract_address": contract_address, "chain_id": chain_id})
await r.aread()
diag = r.json() # $0.03 USDC charged on Base mainnet — no free tier for this one
return (
diag.get("is_honeypot") is not True
and (diag.get("buy_tax_pct") or 0) <= 10
and (diag.get("sell_tax_pct") or 0) <= 10
and diag.get("liquidity_health") in ("LOCKED", "PARTIALLY_LOCKED")
)
if __name__ == "__main__":
print(asyncio.run(is_safe_to_buy("0xYourTargetTokenContract")))Tune the thresholds (buy/sell tax %, which liquidity_health values you accept, risk_flags_count, etc.) to your own risk tolerance — the full field list is in the security.token-diagnostic schema below. This is exactly the logic our dogfooding bot runs on every candidate before it will spend real USDC.
Tools / Endpoints
Tool (MCP) | REST endpoint | Price | What it does |
|
| $0.01 | Pre-trade check, cheapest tier — batch-screening filter: LP lock/burn status (same GoPlus call as contract_health_audit, no extra upstream cost) plus GeckoTerminal top-pool USD liquidity (same source as dex.liquidity_slippage) in one minimal response. Run this first across many candidates to cheaply drop the ones with no real liquidity or unlocked LP, then only spend |
|
| $0.01 | Pre-trade check, cheapest tier — flags contracts impersonating a known mainstream asset (e.g. a fake "USDC"), using GoPlus's |
|
| $0.02 | Pre-trade check — call before buying or swapping: GoPlus/Honeypot.is-backed contract security audit (honeypot flag, buy/sell tax, mintability, ownership renouncement, plus individual GoPlus signals — cannot_sell_all, hidden_owner, transfer_pausable, selfdestruct, is_blacklisted, slippage_modifiable, owner concentration — folded into risk_flags). Screening many candidates? |
|
| $0.02 | Pre-trade check — LP (liquidity pool) lock/burn audit reusing the same GoPlus data as token-risk: flags whether liquidity is locked, burned, or freely held by a single wallet before you trust it. Screening many candidates? |
|
| $0.03 | Pre-trade check — bundles token_risk + contract_health_audit into one call (same GoPlus data, no new upstream calls) for a single go/no-go input before a swap. No composite score or letter grade — just both tools' fields plus a deduped risk_flags union. Cheaper than calling both separately. Screening many candidates? |
|
| $0.02 | GeckoTerminal-backed DEX pool liquidity and estimated trade slippage, plus fixed $1k/$5k/$10k |
|
| $0.02 | Audits a Hyperliquid wallet address you supply: open positions, leverage, |
|
| $0.01 | Bybit (primary) / Binance (fallback) perpetual futures funding rate, plus |
|
| $0.001 | Cheap tier — thin wrapper around |
|
| $0.01 | Annualizes the current funding rate into an APR and computes carry-trade breakeven days against an assumed round-trip trading cost. |
|
| $0.02 | CEX (Coinbase spot) vs DEX (GeckoTerminal) spread calculator with gas-adjusted profitability flag, plus |
|
| $0.03 | Detects basket arbitrage in a Polymarket neg-risk (mutually-exclusive, multi-outcome) event — a full YES basket always settles to $1, so a basket price away from $1 (after costs) is a near risk-free edge. Also returns the actual liquidity-bottleneck size executable right now (VWAP-priced, not just top-of-book), and |
|
| $0.02 | Walks a Polymarket outcome's live order book to check whether a given position size can actually be filled right now, at what average price and price impact, plus |
|
| $0.02 | Walks a Polymarket outcome's live order book to recommend how many clips to split a large position into so each clip's own price impact stays at or under |
|
| $0.001 | Cheap tier — a single Polymarket outcome's live top-of-book bid/ask spread as a percentage of |
|
| $0.01 | A single Polymarket outcome's bid-side vs ask-side order-book depth ratio, summed within |
|
| $0.02 | A single Polymarket outcome's executable depth within |
|
| $0.01 | Polymarket's own taker fee ( |
|
| $0.03 | Monotonicity check (higher strike must not be priced above a lower strike) across Polymarket markets you assert already share the same settlement condition — this endpoint does not verify or infer that equivalence itself (Polymarket's API has no reliable field for it; see |
|
| $0.01 | Real-time probability snapshot of Hyperliquid's HIP-4 outcome markets — crypto price binaries, sports game winners, tournament winners, Fed rate decisions, and any new market type Hyperliquid adds, all in one call. No curated market list: every |
|
| $0.01 | One underlying's HIP-4 "above $X" price-binary markets sorted into a strike ladder, each rung with its live Yes probability — read the market's implied price distribution at a glance instead of scanning |
|
| $0.002 | Cheap tier — single-rung lookup: reuses |
|
| $0.02 | Finds monotonicity violations among a single underlying's HIP-4 "above $X" price-binary markets: within the same expiry/period, a higher strike's Yes price should never exceed a lower strike's — any reversal is flagged with |
|
| $0.01 | BTC/ETH price return since the current halving (2024-04-20) vs. the same elapsed days in the 2016 and 2020 post-halving cycles, plus today's real BTC dominance and DXY/US 10Y macro context. Reads a daily-refreshed cache (no live upstream call at request time). Raw price comparison, not true market-cap dominance history — see the response's own |
|
| $0.01 | Single-snapshot gap between Hyperliquid's mid price and its mark/oracle prices for one perpetual — the failure mode behind the 2026-10-10 Papertrade incident on HyperEVM (a protocol priced off raw mid instead of mark/oracle; an attacker moved ~$2.31B notional on Hyperliquid itself to swing the mid ~12bp, netting ~$1.28M). Returns |
|
| $0.001 | Cheap tier — thin wrapper around |
|
| $0.01 | Countdown to the nearest major US macro event (FOMC, CPI, NFP) from a static, pre-loaded calendar — no external API call, never fails on an upstream outage. |
|
| $0.005 | Converts any webpage URL into clean, ad-free Markdown optimized for LLM context windows. |
|
| Free | Real-time Korea (Upbit) vs global reference price (Coinbase spot, CoinGecko fallback — not a live Binance orderbook) premium — the "kimchi premium" — with reverse-premium and 1h-surge alerts. Kept free by default as an onboarding tool: informational market context, not part of the paid pre-trade security cluster. |
|
| Free | On-chain (Sablier) proxy for token unlock/vesting dump risk, including |
[EXPERIMENTAL] |
| See below | Webhook push alerts on HIP-4 probability jumps / new markets, instead of polling |
Every response is timestamped in both UTC and KST, and every priced endpoint's payment prompt reads "Paid in USDC on Base." so a human looking at the 402 screen in a browser isn't left guessing which chain's USDC to send.
Event subscriptions (webhook push) — EXPERIMENTAL
2026-09-30 addition, modeled loosely on a still-draft MCP Events extension
(github.com/modelcontextprotocol/experimental-ext-triggers-events — not an
official spec yet, request/response shape may change). Instead of polling
GET /v1/prediction/hip4-snapshot yourself, you can register a webhook and
get pushed a Standard Webhooks-signed (webhook-id / webhook-timestamp /
webhook-signature, HMAC-SHA256 over "{id}.{timestamp}.{body}") POST when a
HIP-4 outcome's probability moves by at least a threshold, or a new HIP-4
market shows up.
Honest caveats before you rely on this:
It's polling, not a real push feed. Hyperliquid's HIP-4 has no webhook/streaming API, so under the hood this server re-fetches
get_hip4_snapshot()everyHIP4_EVENTS_POLL_INTERVAL_SECONDS(default 300s = 5 min) and diffs it. A jump can be reported up to that long after it actually happened.Disabled by default (
HIP4_EVENTS_ENABLED=false). The subscribe route isn't even registered with the payment middleware while disabled, and the handler itself double-checks and returns503— so you can never be charged for a subscription that will never deliver anything.Subscriptions may not survive a restart. They're persisted to a local JSON file (
HIP4_EVENTS_DATA_FILE, defaultdata/hip4_event_subscriptions.json), which is fine for a single long-running Render instance but is lost on a disk reset. Not backed by a real database (yet).hip4.resolving(resolution/settlement-imminent) is not implemented - Hyperliquid'soutcomeMetadoesn't expose a verified resolution timestamp, and this project's policy is never to fake a field it can't back with real data. Onlyhip4.prob_jumpandhip4.market_createdare live.MCP clients get the same three operations as
events/list/events/subscribe/events/unsubscribeJSON-RPC methods on/mcp(declared under the experimentalcapabilities.extensions["io.modelcontextprotocol/events"]key) -events/subscribeself-calls the same paid REST route internally, so pricing/payment is identical either way.Optional noise filter (
HIP4_EVENTS_CLEF_FILTER_ENABLED, defaultfalse). When on, eachhip4.prob_jumpcandidate is scored by Cloudflare Workers AI'sclef-flashdecision model (needsCLOUDFLARE_ACCOUNT_ID/CLOUDFLARE_API_TOKEN) before delivery; candidates scored belowHIP4_EVENTS_CLEF_SIGNAL_THRESHOLD(default0.3) are not sent. No trading-volume or orderbook-depth data goes into that score - Hyperliquid's public HIP-4 API doesn't expose either - so it's reasoning from the probability move alone. If the Cloudflare call fails or the credentials are missing, this fails open: the event is delivered anyway, just without the extraclef_signalfield it would otherwise carry.
Quick test once HIP4_EVENTS_ENABLED=true is set and deployed:
curl -G https://alphapipeline-eu.onrender.com/v1/prediction/hip4-alerts/subscribe \
--data-urlencode "webhook_url=https://webhook.site/your-id" \
--data-urlencode "secret=replace-with-a-random-32-byte-secret"
# -> 402 with payment terms, same as any other endpoint here; pay, retry, get a subscription_id backNote: this is GET with query parameters, not POST with a JSON body -
see the note on secret in the endpoint description for the resulting
trade-off (it travels in the URL query string).
Data sources
Every number returned is either passed through unchanged from one of these upstreams, or a deterministic calculation on top of them — never a third-party estimate presented as our own:
Domain | Upstream(s) | Notes |
| Upbit (KRW) + Coinbase spot, CoinGecko fallback | Not a live Binance orderbook, despite the legacy |
| GoPlus Security API, Honeypot.is fallback (token_authenticity has no fallback) | Same underlying GoPlus data reused across all five; no independent second opinion. |
| Bybit v5 (primary), Binance premiumIndex (fallback) |
|
| Hyperliquid public API ( | No leaderboard/discovery endpoint exists upstream — you must supply the wallet address. |
| GeckoTerminal | Liquidity depth is a constant-product (50:50) approximation, not per-token real reserves — disclosed via the response's own |
| On-chain Sablier vesting streams (default, free) | VC/team classification and exact unlock timing require a paid DropsTab key (disabled by default) and are otherwise always |
| Static, pre-loaded calendar | No external API call — never fails on an upstream outage, but needs manual updates as events roll off the calendar. |
| Polymarket Gamma API (event/market metadata) + Polymarket CLOB API (order book, |
|
| Hyperliquid public API ( | No leaderboard/curated list — every market Hyperliquid currently lists shows up. The |
| Same Hyperliquid public API as | Pure re-sort/filter of |
| Hyperliquid public API ( | Mid/mark/oracle prices are Hyperliquid's own reported fields, read fresh each call (short-lived cache, |
| Yahoo Finance ( | Daily GitHub Actions cron writes a single JSON cache; the endpoint only reads that file. CoinMetrics Community (401 on everything now), CoinGecko's historical global market-cap chart (paid plans only), and CoinGecko's free Demo plan (365-day history cap) and Kraken's public OHLC (720-candle cap) were all tried and ruled out before landing on Yahoo — see |
| The URL you pass in | No third-party data provider — we fetch and convert the page you give us. |
[EXPERIMENTAL] | Same Hyperliquid public API as | Polling + diff, not a push feed from Hyperliquid — see "Event subscriptions" above. |
In progress — stock discrepancy feed (4-week data trial, started 2026-10-08)
Collecting hourly, not selling yet. scripts/collect_stock_discrepancy.py runs via .github/workflows/stock-discrepancy-collect.yml once an hour and appends to data-public/stock_discrepancy_log.jsonl (not data/ — that directory is gitignored for HIP-4 webhook secrets; this data has nothing sensitive in it). Nothing here is a paid endpoint — this is purely assembling the evidence to decide whether it should become one.
What's tracked: last regular-session close, Base B20 token price (Aerodrome, via GeckoTerminal), Hyperliquid HIP-3 stock perp mark price + funding, and the discrepancy % between them, per symbol, per hour. Symbol list: NVDA, AAPL, META, GOOGL — not TSLA/MSTR/COIN, which an earlier brief named but which don't have a confirmed Coinbase B20/cbStock token on Aerodrome as of this writing (re-check before adding them back in).
Launch/hold decision, due ~2026-11-05 (4 weeks from start) — needs 2 of 3 to clear:
Weekend discrepancy direction (Friday close → Sunday night) matches the following Monday's opening-gap direction ≥65% of the time (sample: 4 weekends × symbol count, roughly 16-20 data points).
A discrepancy >1% occurs at least once per weekend, across any symbol — this is what makes an alert product viable in the first place.
Data gaps (
data_gap: truerows — pool illiquidity, upstream API errors) stay ≤10% of all rows.
If it doesn't clear 2 of 3: don't force a paid launch on a thin signal. Turn it into a free public dashboard instead and use it as a traffic funnel into the rest of AlphaPipeline.
Secondary, free feed: the same cron also snapshots Kalshi's KXBTC15M 15-minute/hourly crypto prediction markets (public, no-auth API) into data-public/kalshi_btc15m_log.jsonl, to compare against prediction.hip4_snapshot's own BTC probability later. No extra infrastructure cost; not part of the launch/hold decision above.
New sub-feed, started 2026-10-26 — EQX spot vs Hyperliquid perp gap: EQX Labs listed 11 tokenized US stocks/ETFs (EQSPY, EQQQQ, EQAAPL, EQAMZN, EQGOOG, EQMETA, EQMSFT, EQNVDA, EQTSLA, EQMU, EQSPCX) as native Hyperliquid HIP-1 spot tokens on 2026-10-26 22:30 KST. Unlike the Base-vs-Hyperliquid comparison above (two different chains, bridge/settlement noise included), this is spot and perp on the same HyperCore venue, so the gap is a cleaner read on pure after-hours arbitrage-unavailability. Same hourly cron now also writes data-public/eqx_gap_log.jsonl (collect_eqx_gap_rows() in the same script). Not a paid endpoint yet — watching whether the after-hours/weekend gap is consistently larger than the regular-hours gap before deciding. No official EQX token ID registry was public at launch, so rows are matched by token name only (EQ + ticker) — revisit once EQX publishes IDs.
Disclaimer
AlphaPipeline provides quantitative market data and analytics for informational and research purposes only. It does not execute trades, place orders, hold custody of user funds, or provide brokerage/betting/gambling services of any kind — it is a read-only data layer. Users are solely responsible for ensuring their use of this data complies with the laws and regulations applicable in their own jurisdiction.
Links
Live service: https://alphapipeline-eu.onrender.com
Agent-readable spec: https://alphapipeline-eu.onrender.com/llms.txt
OpenAPI docs: https://alphapipeline-eu.onrender.com/docs
x402 Bazaar listing: https://www.x402bazaar.org/
Glama listing (verified, TDQS A / 4.4): https://glama.ai/mcp/connectors/com.onrender.alphapipeline/alpha-pipeline-agent-mcp
x402 protocol: https://docs.x402.org
License
See LICENSE.
Available Tools
28 toolsarb.spread_matrixAInspect
CEX-DEX arbitrage spread calculator: checks whether a global reference
price (Coinbase spot, CoinGecko fallback - NOT a specific exchange
orderbook, despite internal naming) and a DEX pool price (GeckoTerminal)
diverge enough to be worth trading after an assumed flat gas cost. Returns
gross/net spread, direction, and is_profitable.
Use this before executing a cross-venue arbitrage trade, or for kimchi-style
premium checks on non-Korean venues (use market.kimchi_alert instead for the
Upbit-specific case). net_spread_pct does NOT subtract the DEX pool's own
swap fee (see pool_fee_pct, typically 0.05-1%), CEX trading fees, CEX
deposit/withdrawal availability, or slippage beyond trade_size_usd - a
spread that clears the threshold before those costs may not clear it after,
so always re-verify with live quotes before executing. Requires exactly one
of pool_address or token_address; passing neither raises "invalid_input".
Args:
symbol: Ticker symbol, e.g. "SUI", "BTC", "ETH".
network: GeckoTerminal network id (default "base").
trade_size_usd: Hypothetical trade size in USD (default 1000.0).
min_spread_threshold_pct: Net spread threshold (%) above which
is_profitable is true (default 0.8).
pool_address: A specific DEX pool contract address.
token_address: Token contract address (auto-picks the most liquid pool).
One of pool_address or token_address is required.
Returns:
On success: {"success": true, "gross_spread_pct", "net_spread_pct",
"direction", "is_profitable", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: symbol (required), network, pool_address, token_address, +2 more.
calendar.macro_ddayAInspect
Countdown to the nearest major US macro event (FOMC/CPI/NFP): event name,
exact date/time (UTC and KST), a D-Day countdown, impact level, and the
next few upcoming events. Static, pre-loaded 2026 calendar sourced from
official Federal Reserve/BLS release schedules - no live external API call,
so this never fails on an upstream outage and takes no parameters.
Use this to plan position sizing or avoid holding risk into a high-impact
macro print. Does NOT cover non-US events (e.g. ECB, BOJ) or company
earnings - only FOMC/CPI/NFP are tracked. Takes no arguments; calling it
with any input is unnecessary.
Returns:
On success: {"success": true, "nearest_event", "days_until", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: no named parameters.
convert_to_markdownAInspect
Convert a webpage URL into clean, AI-friendly markdown by performing a live
HTTP GET (15s timeout) and stripping ads, navigation, and scripts, keeping
only the main content (capped at 3MB of source HTML).
Use this when you need to read a webpage's actual content but want to avoid
wasting tokens on HTML tags, ads, navigation menus, and scripts - or when raw
HTML parsing is causing hallucinations in downstream reasoning. Call it before
summarizing, extracting facts from, or answering questions about any arbitrary
public URL. Do NOT use it for: URLs requiring authentication/login (no cookies
or headers are sent); non-HTML resources such as PDFs, images, or other binary
files (returns "unsupported_content"); or JavaScript-rendered single-page apps
(this does a static HTML fetch, not a browser render, so client-side-only
content may come back sparse or empty). No other tool here does markdown
conversion - the sibling get_token_dump_risk is unrelated.
Failure modes returned as structured errors (never raised): "timeout" (15s
exceeded), "http_error" (non-2xx from the target site), "network_error"
(DNS/connection failure), "unsupported_content" (not HTML or over 3MB),
"invalid_url" (missing http(s):// scheme).
Args:
url: The full absolute URL of the webpage to convert, including scheme
(e.g. "https://example.com/article"). Relative paths are not accepted.
Returns:
On success: {"success": true, "url", "title", "markdown", "char_count"}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: url (required).
derivatives.funding_apr_matrixAInspect
Annualize a perpetual funding rate into APR + carry-trade breakeven days:
evaluates a spot+perpetual cash-and-carry trade, tells you which side
collects funding, and how many days of income recoups round-trip costs.
Pure calculation layer on top of get_funding_rate - no extra upstream call,
so prefer this over get_funding_rate whenever you need the APR/breakeven
view rather than the raw rate.
Use this to evaluate a spot+perpetual carry trade. Does NOT account for
margin borrow cost, spot-perp basis risk, or perp liquidation risk - treat
breakeven_days as a rough estimate, not a guaranteed profit timeline.
Args:
symbol: e.g. "BTC", "ETH", or "BTCUSDT".
assumed_round_trip_cost_pct: Combined entry+exit trading fee % across
both legs (default 0.2). Pass your own fee tier for accuracy.
Returns:
On success: {"success": true, "apr_pct", "collects_funding_side",
"breakeven_days", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: symbol (required), assumed_round_trip_cost_pct.
derivatives.funding_rateAInspect
Get perpetual futures funding rate (Bybit primary, Binance fallback) to
gauge long/short crowding before entering or hedging a position.
Use this when asked about funding rate levels or funding-rate arbitrage/carry
trade opportunities. If you also need the trade annualized into an APR with
a carry-trade breakeven-days estimate, use get_funding_apr_matrix instead -
it already calls this internally, so calling both is redundant. Check the
data_source field to see whether Bybit or the Binance fallback answered;
predicted_rate equals funding_rate because neither exchange exposes a
separate forecast field (not a bug). Also returns mark_price/index_price
(populated on both the Bybit and Binance paths) and open_interest_usd
(Bybit path only - always null on the Binance fallback, since Binance's
premiumIndex endpoint doesn't report open interest).
Args:
symbol: e.g. "BTC", "ETH", or "BTCUSDT" (non-USDT symbols are
normalized to USDT pairs).
Returns:
On success: {"success": true, "funding_rate_percentage",
"funding_interval_hours", "mark_price", "index_price",
"open_interest_usd", "data_source", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: symbol (required).
derivatives.funding_rate_valueAInspect
Cheap-tier thin wrapper around derivatives.funding_rate: same call, same
cache, but trims the response to just the funding rate numbers (no
mark/index price, no open_interest_usd). No new upstream call. Use this
instead of get_funding_rate when all you need is the raw funding rate
value/percentage.
Args:
symbol: e.g. "BTC", "ETH", or "BTCUSDT" (non-USDT symbols are
normalized to USDT pairs).
Returns:
On success: {"success": true, "funding_rate", "funding_rate_percentage",
"data_source", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: symbol (required).
derivatives.whale_position_auditAInspect
Audit a Hyperliquid wallet's open perpetual futures positions: side,
size, leverage, max_leverage, unrealized PnL, return_on_equity_pct,
liquidation price, and distance-to-liquidation percentage for every open
position (max_leverage and return_on_equity_pct are Hyperliquid's own
reported fields, not derived by this tool).
Use this only when you already have a specific Hyperliquid/EVM wallet address
(from an explorer, a screenshot, on-chain sleuthing, etc.) and want to audit
its current exposure. Do NOT use it to discover or rank "smart money" wallets
- Hyperliquid's public API has no leaderboard or large-trader disclosure
endpoint, so this tool cannot identify addresses for you, only audit ones you
provide. risk_flags (HIGH_LEVERAGE, NEAR_LIQUIDATION) are fixed numeric
thresholds, never a qualitative judgment.
Args:
address: Hyperliquid/EVM wallet address to audit (0x...).
Returns:
On success: {"success": true, "positions": [...], "risk_flags", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: address (required).
dex.liquidity_slippageAInspect
Estimate DEX pool liquidity and trade slippage (GeckoTerminal): total USD
liquidity, 24h volume, an estimated slippage percentage for the given
trade size, and slippage_tiers at fixed $1k/$5k/$10k sizes. Approximated
under a documented constant-product (50:50) assumption since GeckoTerminal's
free API exposes only combined USD liquidity, not per-token reserves.
Also returns quote_token_is_stablecoin (false/null means this pool isn't
USD-quoted - an extra hop is needed to reach USD, not accounted for here),
pool_fee_pct (the pool's swap fee tier, disclosed for reference only - not
subtracted from the slippage estimate), and assumed_gas_cost_usd (a flat
per-network estimate, not a live quote).
Use this before sizing a trade or comparing pools for a given token, to
check depth before swapping. Do NOT treat estimated_slippage_pct or
slippage_tiers as an exact on-chain quote, especially for concentrated-
liquidity or stableswap pools - always re-verify with a live quote before
executing. Requires exactly one of pool_address or token_address; passing
neither raises an "invalid_input" error.
Args:
trade_size_usd: Hypothetical trade size in USD.
network: GeckoTerminal network id, e.g. "base", "eth" (default "base").
pool_address: A specific pool contract address.
token_address: Token contract address (auto-picks the most liquid pool).
One of pool_address or token_address is required.
Returns:
On success: {"success": true, "total_liquidity_usd",
"estimated_slippage_pct", "slippage_tiers", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: trade_size_usd (required), network, pool_address, token_address.
get_token_dump_riskAInspect
Calculate a token's vesting/unlock D-Day, unlock ratio relative to
circulating supply, and a sell-pressure score against real-time volume,
returned as a concise summary report.
Use this to evaluate token unlock/vesting supply overhang risk before
taking mid-to-long term positions. Default data source (on-chain Sablier
vesting, the current configuration - no DropsTab key set) does NOT classify
VC/team vs. other holders and does NOT provide exact unlock timing
(days_until_unlock stays null) - it only reports the currently-locked
supply ratio; treat a null value as "unknown," never as "no risk." On this
on-chain path it also reports vesting_deposit_amount/vesting_withdrawn_amount
(Sablier's own depositAmount/withdrawnAmount, aggregated across streams) and
vesting_progress_pct (withdrawn/deposit * 100) showing how far along the
vesting schedule already is - null when deposit data wasn't available. Do
NOT use it for intra-day slippage or real-time transaction simulation - use
dex.liquidity_slippage for that instead. This tool is free (no payment) as
an onboarding check; every other tool here is a normal read-only call
against app/logic.py.
Args:
symbol: Token ticker symbol (e.g. "ATH", "AO", "CPOOL"). Case-insensitive.
Returns:
Success & data available: {"success": true, "available": true, "symbol",
"unlock_date_utc", "days_until_unlock", "unlock_supply_pct",
"vesting_progress_pct", "volume_impact_pct", "sell_pressure_risk_level", ...}
Success but not yet available:
{"success": true, "available": false, "reason", "message"}
(e.g. the paid data source isn't connected yet, by business decision)
Failure: {"success": false, "error": {"type", "message"}}
Inputs: symbol (required).
market.cycle_compareAInspect
BTC/ETH's own USD price position vs the same day-offset in the 2016 and
2020 halving cycles, plus today's real BTC dominance. NOT a historical
dominance comparison (no free data source exists for that - see the
response's notice field). Derived from a cache refreshed once daily (see
scripts/collect_btc_cycle_metrics.py), so prices can be up to ~24h stale.
No input params.
Returns:
On success: {"success": true, "btc", "eth", "btc_dominance_pct_today",
"dxy_level", "us10y_yield_pct", "days_since_halving", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: no named parameters.
market.kimchi_alertAInspect
Detect Korea-vs-global crypto price arbitrage (the "kimchi premium"):
whether a coin trades at a premium or discount on Upbit vs a global
reference price (Coinbase spot, CoinGecko fallback - NOT a live Binance
orderbook, despite the legacy binance_price_usdt field name kept for
backward compatibility), a reverse-premium crash-risk flag (-1.5% or
below), and a premium-surge flag (+3 percentage points within the last
hour).
Use this when asked about cross-exchange arbitrage opportunities in Korean
crypto markets, to detect a reverse-premium crash risk, or a sudden premium
surge. This is a live snapshot only - do NOT use it for historical/backtesting
data, or for non-Korean-exchange comparisons (use arb.spread_matrix for a
general CEX-DEX spread check instead).
Args:
symbol: Ticker symbol, e.g. "BTC", "ETH", "SOL" (default "BTC").
Returns:
On success: {"success": true, "symbol", "upbit_price_krw",
"binance_price_usdt" (legacy name, actually Coinbase/CoinGecko),
"cex_reference_price_usdt" (same value, honest name),
"cex_price_source", "kimchi_premium_pct", "premium_change_1h_pct",
"alerts", "thresholds", "notice", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: symbol.
market.oracle_gapAInspect
Single-snapshot gap between Hyperliquid's mid price and its mark/oracle
prices for one perpetual - the exact failure mode behind the 2026-10-10
Papertrade incident on HyperEVM, where a protocol priced off Hyperliquid's
raw mid instead of mark/oracle and an attacker moved ~$2.31B notional on
Hyperliquid itself to swing the mid ~12bp, netting ~$1.28M from Papertrade.
Returns mid_oracle_gap_bp and mark_oracle_gap_bp in basis points, plus an
`elevated` flag.
`elevated` is a fixed-threshold boolean (abs(mid_oracle_gap_bp) >=
alert_threshold_bp), NOT a manipulation determination - it only says the
gap is currently wide, not why. This is a single point-in-time snapshot
with no trade-flow or volume data (Hyperliquid's public API does not
expose per-market volume), so it cannot by itself distinguish organic
volatility from an attempted price push. Always check the response's
`notice` field.
Args:
coin: Hyperliquid perpetual ticker, e.g. "ETH" or "BTC".
Returns:
On success: {"success": true, "coin", "mid_price", "mark_price",
"oracle_price", "mid_oracle_gap_bp", "mark_oracle_gap_bp",
"elevated", "alert_threshold_bp", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: coin (required).
market.oracle_gap_bpAInspect
Cheap-tier thin wrapper around market.oracle_gap: same call, same cache,
but trims the response to just the bp gap numbers and the elevated flag
(no absolute mid/mark/oracle prices). No new upstream call. Use this
instead of get_oracle_gap when all you need is the gap size for a
threshold check.
Args:
coin: Hyperliquid perpetual ticker, e.g. "ETH" or "BTC".
Returns:
On success: {"success": true, "coin", "mid_oracle_gap_bp",
"mark_oracle_gap_bp", "elevated", "alert_threshold_bp", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: coin (required).
prediction.bid_ask_spread_pctAInspect
Cheap tier - a single Polymarket outcome's live top-of-book bid/ask spread
as a percentage of mid_price. Not a liquidity or executability measure
(use prediction.exit_capacity_audit/order_split_guide for that). Reuses
the same order-book fetch as those tools - no new upstream call.
Args:
token_id: The outcome's CLOB token_id / asset_id, if already known.
Provide either this OR market_slug.
market_slug: Exact Polymarket market slug, used to resolve token_id
automatically when not already known.
outcome: "yes" (default) or "no" - which side to resolve when using
market_slug. Ignored if token_id is given directly.
Returns:
On success: {"success": true, "best_bid", "best_ask", "mid_price",
"spread_abs", "spread_pct", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: outcome, token_id, market_slug.
prediction.exit_capacity_auditAInspect
Walk a single Polymarket outcome's live order book to determine how much
of a given position size can actually be filled right now, at what
average price, and with how much price impact versus the best quote - a
live, point-in-time snapshot, not historical/average liquidity. Also
returns book_snapshot_time (the book's own reported snapshot timestamp)
and Polymarket's own tick_size/min_order_size for this market (null if the
book response didn't include them).
Use this to validate one leg of an opportunity found by
prediction.neg_risk_arbitrage before committing capital, or whenever you
need real executable liquidity rather than the headline best bid/ask. Do
NOT use for multi-outcome basket arbitrage detection (use
prediction.neg_risk_arbitrage instead). market_slug only resolves an
EXACT Polymarket market slug - no fuzzy keyword search, since a wrong
silent match would be worse than an error here.
Args:
position_size_shares: Number of outcome shares to sell (or buy). Must
be positive.
token_id: The outcome's CLOB token_id / asset_id, if already known.
Provide either this OR market_slug.
market_slug: Exact Polymarket market slug, used to resolve token_id
automatically when not already known.
outcome: "yes" (default) or "no" - which side to resolve when using
market_slug. Ignored if token_id is given directly.
side: "sell" (default) to audit exiting a position against the bid
side, or "buy" to audit entering against the ask side.
Returns:
On success: {"success": true, "executable", "best_quote",
"avg_exit_price", "price_impact_pct", "max_executable_shares", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: position_size_shares (required), side, outcome, token_id, +1 more.
prediction.hip4_mispricingAInspect
Finds monotonicity violations among Hyperliquid HIP-4 "above $X"
price-binary markets: within the same underlying/expiry/period, a
higher strike's Yes price should never exceed a lower strike's - any
reversal is a logical inconsistency, quantified as violation_bp and a
textbook max_riskless_profit_per_usd (before fees/slippage/execution
risk - not investment advice). Reuses prediction.hip4_price_ladder's
cache (no new upstream call). Only rungs sharing the exact same
(expiry, period) are ever compared - see settlement_condition_note.
Args:
underlying: Asset symbol for crypto price-binary markets (e.g. "BTC",
"ETH", "SOL", "HYPE").
Returns:
On success: {"success": true, "underlying", "expiry_groups_checked",
"total_rungs_checked", "violation_count", "violations",
"settlement_condition_note", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: underlying (required).
prediction.hip4_priceAInspect
Cheap-tier single-rung lookup: reuses prediction.hip4_price_ladder's
cached data and returns only the one rung whose strike is closest to
the requested strike (no new upstream call). Always check
matched_strike against your requested strike - a large gap means no
rung exists near your target, not an exact match. Use
prediction.hip4_price_ladder instead if you need the whole ladder.
Args:
underlying: Asset symbol for crypto price-binary markets (e.g. "BTC",
"ETH", "SOL", "HYPE").
strike: Target price level to find the closest HIP-4 rung for.
Returns:
On success: {"success": true, "underlying", "requested_strike",
"matched_strike", "yes_price", "expiry", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: strike (required), underlying (required).
prediction.hip4_price_ladderAInspect
One underlying's Hyperliquid HIP-4 "above $X" price-binary markets laid
out as a strike-sorted ladder, each rung with its live Yes probability -
e.g. to read the market's implied BTC price distribution at a glance.
Reuses the same cached data as prediction.hip4_snapshot - no new upstream
call. No volume field: Hyperliquid's public API does not expose
per-outcome trading volume for HIP-4 markets.
Do NOT use for mutually-exclusive multi-outcome groups (use
prediction.hip4_snapshot's grouped_questions instead) or for Polymarket
data. Always check the response's `notice` field - same
reverse-engineered-mapping caveat as prediction.hip4_snapshot.
Args:
underlying: Asset symbol for crypto price-binary markets (e.g. "BTC",
"ETH", "SOL", "HYPE").
limit: Max rungs returned. Defaults to 100, max 500.
Returns:
On success: {"success": true, "underlying", "rung_count",
"skipped_unparsable_count", "rungs", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: underlying (required), limit.
prediction.hip4_snapshotAInspect
Real-time probability snapshot of Hyperliquid's HIP-4 outcome (prediction)
markets - crypto price binaries, sports game winners, tournament winners,
Fed rate decisions, and any other market type Hyperliquid adds, all in one
call. No curated market list: every field under "fields" on each row is
parsed verbatim from Hyperliquid's own "key:value|key2:value2" description
string, so new HIP-4 market types appear automatically without any code
change here. standalone_markets covers two-sided markets (most crypto/
sports games); grouped_questions covers mutually-exclusive multi-outcome
groups (e.g. a league winner) with a fallback price for "none of the
above".
Do NOT use for Polymarket data (use prediction.neg_risk_arbitrage /
prediction.exit_capacity_audit instead). No wallet or API key needed
upstream - always check the response's `notice` field, since the mapping
used to join Hyperliquid's market metadata to its live prices is not
documented by Hyperliquid and was reverse-engineered from live data.
Args:
template: Optional substring filter on the market's template name
(e.g. "sportsContestWinner", "priceBinary").
underlying: Optional asset symbol filter for crypto markets (e.g.
"BTC", "ETH", "SOL", "HYPE").
limit: Max rows per list (standalone_markets / grouped_questions
each). Defaults to 100, max 500.
Returns:
On success: {"success": true, "standalone_markets", "grouped_questions",
"standalone_count", "grouped_question_count", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: limit, template, underlying.
prediction.liquidity_depth_after_haircutAInspect
A single Polymarket outcome's executable depth within
max_price_impact_pct (default 5.0%) of the best quote, both before and
after discounting the top-of-book level's size by haircut_pct (default
10.0%) to model the risk that the very best resting order gets cancelled
before you can trade against it. Does not detect or flag actual spoofing
(out of scope - see architecture-roadmap.md Phase 3). Reuses the same
order-book fetch as prediction.exit_capacity_audit/order_split_guide -
no new upstream call.
Args:
token_id: The outcome's CLOB token_id / asset_id, if already known.
Provide either this OR market_slug.
market_slug: Exact Polymarket market slug, used to resolve token_id
automatically when not already known.
outcome: "yes" (default) or "no" - which side to resolve when using
market_slug. Ignored if token_id is given directly.
side: "sell" (default) or "buy".
haircut_pct: Percent to discount the top-of-book level's size by,
modeling cancellation risk. Defaults to 10.0.
max_price_impact_pct: Price-impact bound (percent of best quote)
within which depth is summed. Defaults to 5.0.
Returns:
On success: {"success": true, "best_quote",
"depth_shares_before_haircut", "depth_shares_after_haircut", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: side, outcome, token_id, haircut_pct, +2 more.
prediction.neg_risk_arbitrageAInspect
Detect basket arbitrage in a Polymarket neg-risk (mutually-exclusive,
multi-outcome) event: a full YES basket across all outcomes always settles
to exactly $1 via Polymarket's neg-risk adapter, so a basket price away
from $1 (after costs) is a near risk-free edge. Also computes
buy/sell_basket_capacity_shares - the actual liquidity-bottleneck size the
thinnest outcome's order book can support within max_slippage_pct - so
this isn't just a top-of-book mirage. Note *_capacity_notional_usd still
prices that size at top-of-book (optimistic beyond the first price level) -
use *_capacity_vwap_notional_usd for the realistic average fill cost. Also
returns oldest_book_snapshot_time, the staleness bottleneck across all legs
(the oldest of each leg's own order-book snapshot timestamp). Polymarket only.
Use this to scan a specific multi-outcome event you already know the slug
for. Do NOT use for binary Yes/No markets (no basket to arbitrage, this
needs 2+ mutually-exclusive outcomes) or for Kalshi (its Data ToS forbids
this use of their data). Pair with prediction.exit_capacity_audit before
sizing a real position on one leg.
Args:
event_slug: Polymarket event slug, from the event's URL on polymarket.com.
assumed_round_trip_cost_pct: Gas + fees + slippage buffer, as a
percentage of $1 basket notional (default 1.5).
max_slippage_pct: How far past each leg's best price to walk the book
when sizing executable basket capacity (default 1.0).
min_net_edge_pct: Minimum net edge (%) required to flag
arbitrage_viable: true (default 1.0).
Returns:
On success: {"success": true, "basket_ask_sum", "basket_bid_sum",
"buy_basket_net_edge_usd", "buy_basket_capacity_shares",
"opportunity", "arbitrage_viable", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: event_slug (required), max_slippage_pct, min_net_edge_pct, assumed_round_trip_cost_pct.
prediction.orderbook_imbalance_ratioAInspect
A single Polymarket outcome's bid-side vs ask-side order-book depth
ratio, summed within depth_band_pct (default 5.0%) of each side's own
best quote. 0.5 = balanced, closer to 1.0 = bid-side depth dominant,
closer to 0.0 = ask-side dominant. A descriptive statistic only - not a
prediction of price direction, no confidence or verdict field. Reuses
the same order-book fetch as prediction.exit_capacity_audit - no new
upstream call.
Args:
token_id: The outcome's CLOB token_id / asset_id, if already known.
Provide either this OR market_slug.
market_slug: Exact Polymarket market slug, used to resolve token_id
automatically when not already known.
outcome: "yes" (default) or "no" - which side to resolve when using
market_slug. Ignored if token_id is given directly.
depth_band_pct: How far into the book, as a percent of each side's
own best quote, to sum depth. Defaults to 5.0.
Returns:
On success: {"success": true, "bid_depth_shares", "ask_depth_shares",
"imbalance_ratio", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: outcome, token_id, market_slug, depth_band_pct.
prediction.order_split_guideAInspect
Walks a Polymarket outcome's live order book to recommend how many clips
to split a large position into, so each clip's own price impact stays at
or under max_price_impact_pct_per_slice (default 1.0%). Also returns
full_size_price_impact_pct - the baseline impact if filled in one shot
right now, for comparison. Single-snapshot calculation - it has no idea
whether the book refills between clips in real trading, so treat the
recommended slice count as "if this exact snapshot repeated", not a
guarantee about live execution. Not investment advice - no confidence or
go/no-go field is returned, only the raw numbers.
Reuses the same order-book walking helpers as
prediction.exit_capacity_audit - no new upstream call. market_slug only
resolves an EXACT Polymarket market slug - no fuzzy keyword search.
Args:
position_size_shares: Total number of outcome shares to sell (or
buy). Must be positive.
token_id: The outcome's CLOB token_id / asset_id, if already known.
Provide either this OR market_slug.
market_slug: Exact Polymarket market slug, used to resolve token_id
automatically when not already known.
outcome: "yes" (default) or "no" - which side to resolve when using
market_slug. Ignored if token_id is given directly.
side: "sell" (default) or "buy".
max_price_impact_pct_per_slice: Target ceiling on each clip's own
price impact, in percent. Defaults to 1.0.
Returns:
On success: {"success": true, "executable_now",
"full_size_price_impact_pct", "max_single_clip_shares",
"recommended_slice_count", "recommended_slice_size_shares", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: position_size_shares (required), side, outcome, token_id, +2 more.
prediction.polymarket_fee_estimateAInspect
Polymarket's own taker fee (NOT gas, slippage, or AlphaPipeline's own
charge for this call) for a hypothetical fill of `shares` at `price`,
using the official bell-curve formula shares * fee_rate * price *
(1 - price). fee_rate is read live from Polymarket's own GET /fee-rate
for the exact token_id - never a hardcoded category table, since
per-category rates have changed before (see architecture-roadmap.md
Engineering Precision Backlog item 3). Makers pay 0 across every
category - this is the taker fee only. Omit price to use the live best
book quote for side (reuses the same order-book fetch as
prediction.exit_capacity_audit/order_split_guide - no new upstream call
in that case).
Args:
shares: Hypothetical fill size, in shares. Must be > 0.
token_id: The outcome's CLOB token_id / asset_id, if already known.
Provide either this OR market_slug.
market_slug: Exact Polymarket market slug, used to resolve token_id
automatically when not already known.
outcome: "yes" (default) or "no" - which side to resolve when using
market_slug. Ignored if token_id is given directly.
side: "sell" (default) or "buy" - which side of the book to read
price from when price is omitted.
price: Hypothetical fill price (0-1 exclusive). Omit to use the
live best book quote for side.
Returns:
On success: {"success": true, "fee_rate", "fee_usd", "price",
"base_fee_bp", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: shares (required), side, price, outcome, +2 more.
prediction.polymarket_mispricingAInspect
Monotonicity check (higher strike must not be priced above a lower
strike) across a set of Polymarket markets that YOU have already
confirmed share the same underlying asset and expiry/resolution date.
Does NOT verify or infer that settlement-condition equivalence itself -
Polymarket's API has no reliable field for it (see
architecture-roadmap.md Engineering Precision Backlog item 4); passing
unrelated markets produces a meaningless or false arbitrage signal.
Provide either token_ids or market_slugs (+ optional outcomes, default
all "yes"), same length and order as strikes. Not investment advice.
Args:
strikes: Strike for each rung, same order as token_ids/market_slugs.
At least 2 required.
token_ids: CLOB token_id per rung, if already known. Mutually
exclusive with market_slugs.
market_slugs: Polymarket market slug per rung, used to resolve
token_ids automatically.
outcomes: "yes"/"no" per rung when using market_slugs (default: all
"yes").
Returns:
On success: {"success": true, "violation_count", "violations", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: strikes (required), outcomes, token_ids, market_slugs.
security.contract_health_auditAInspect
Audit LP lock/burn status for a token contract (GoPlus): lp_locked_pct,
lp_burned_pct, top_unlocked_holder_pct (largest single non-locked holder)
and top5_unlocked_holder_pct (top 5 non-locked holders summed, catches
multi-wallet concentration the single-holder field misses), rolled up
into a liquidity_health category (LOCKED / PARTIALLY_LOCKED / UNLOCKED /
NO_LP_DATA). A key rug-pull signal that get_token_risk does not cover.
Use this to check whether a token's liquidity is locked, burned, or freely
held by a single wallet before trusting it - complements, not replaces,
get_token_risk (honeypot/tax/mint checks). Deliberately does NOT include any
qualitative "suspicious transaction" judgment, only GoPlus's own numbers, and
has no fallback if GoPlus fails (Honeypot.is does not expose LP lock data).
Args:
chain_id: EVM chain id, e.g. 8453 for Base.
contract_address: Token contract address (0x...).
Returns:
On success: {"success": true, "lp_locked_pct", "lp_burned_pct",
"liquidity_health", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: chain_id (required), contract_address (required).
security.token_diagnosticAInspect
Bundles get_token_risk + get_contract_health_audit into one combined
diagnostic report (same GoPlus data, run in parallel, one upstream round
trip), plus a deduped union of risk_flags. Does not compute a composite
score/grade - every field is copied unchanged from the two underlying tools.
Use this right before buying or swapping an unfamiliar token when you want
both honeypot/tax risk AND LP lock/burn status in one call, instead of
calling get_token_risk and get_contract_health_audit separately. Do NOT
use it if you only need one of the two - call that single tool directly
to save a round trip. Does not cover token unlock/vesting risk - use
get_token_dump_risk separately for that.
Args:
chain_id: EVM chain id, e.g. 8453 for Base.
contract_address: Token contract address (0x...).
Returns:
On success: {"success": true, ...combined token_risk + contract_health_audit fields}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: chain_id (required), contract_address (required).
security.token_riskAInspect
Check a token contract for honeypot/scam risk before buying: is_honeypot,
buy/sell tax, mintability, open-source status, ownership renouncement,
holder count, individual GoPlus risk signals (cannot_buy, cannot_sell_all,
hidden_owner, transfer_pausable, selfdestruct, is_blacklisted,
slippage_modifiable, owner_percent - all feed into risk_flags), is_proxy
and trading_cooldown (informational only, not flagged - both are common in
legitimate contracts), and a summarized risk_level (LOW/MEDIUM/HIGH/UNKNOWN).
Data source: GoPlus Security, falling back to Honeypot.is (the GoPlus-only
fields above are always null on the fallback path).
Use this right before entering a position on an unfamiliar or newly-listed
token. Do NOT treat a null field as "safe" - it means that field could not
be determined; check risk_level and risk_flags instead. This tool does not
cover LP lock/burn status - use get_contract_health_audit for that, or
get_token_diagnostic to get both in one call.
Args:
chain_id: EVM chain id, e.g. 8453 for Base.
contract_address: Token contract address (0x...).
Returns:
On success: {"success": true, "is_honeypot", "buy_tax_pct", "sell_tax_pct",
"risk_level", "risk_flags", ...}
On failure: {"success": false, "error": {"type", "message"}}
Inputs: chain_id (required), contract_address (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 28 tools
Several tools are explicit thin wrappers or subsets of others (derivatives.funding_rate_value vs derivatives.funding_rate, market.oracle_gap_bp vs market.oracle_gap, prediction.hip4_price vs prediction.hip4_price_ladder), and the many Polymarket/HIP-4 order-book granularity tools overlap in purpose. Detailed descriptions with 'do not use X for Y' guidance reduce confusion, but an agent can still misselect among liquidity/spread/impact metrics.
26 of 28 tools follow a consistent namespace.snake_case pattern (e.g., market.cycle_compare, prediction.hip4_snapshot), with only convert_to_markdown and get_token_dump_risk breaking the namespace convention. The remaining outlier uses a get_ prefix while others use noun phrases, but overall naming is readable and mostly predictable.
28 tools exceeds the 25-tool threshold in the rubric, and many are granular variants or wrappers that could be consolidated. While the multi-domain scope justifies a larger surface, this is heavy for an agent to navigate.
The set covers many crypto analytics niches (market, derivatives, prediction markets, security, DEX, arb, macro), but lacks generic price/OHLC, historical data, and portfolio tracking tools. For a read-only alpha pipeline, the coverage is broad but not complete.
Maintenance
Related MCP Connectors
Pay-per-call DeFi and macro intel for AI agents. x402 USDC tools via streamable HTTP /api/mcp.
Pay-per-call MCP tools for agents via x402 USDC: Korean data, onchain, crypto, web and AI tools.
Onchain DeFi intelligence API for Base, payable per call with x402 (USDC). Live MCP tools: get_bot_status (Telegram bot health), get_market_stats (market snapshot), get_onchain_sales (proven revenue from live x402 routes). Built for agents that need verifiable onchain data — whale flow, signals, and sales evidence at $0.005/call.
Crypto data for bots: DEX execution cost, API health, USDC reconciliation. x402 pay-per-call.
Related MCP Servers
- AlicenseAqualityBmaintenanceEight crypto and DeFi data tools for AI agents: prices, gas, one ParaSwap route quote, GoPlus token security and top-holder samples, DefiLlama yields, Hyperliquid/dYdX funding, and observed wallet balances. Inspect prices free; pay 0.001–0.008 USDC per call on Base through x402. No API key or subscription.887 npmMIT
- AlicenseCqualityDmaintenanceMCP server bringing 100+ x402-paid APIs to AI agents (Claude, Cursor, MCP-aware clients). Auto-discovers tools from CDP Bazaar; handles USDC micropayments on Base.10067 npm1MIT

Funding-mcpofficial
AlicenseAqualityDmaintenanceReal-time perp market-data for AI trading agents — funding rates, funding-arb signals, open interest, volume, orderbook depth/slippage and oracle families across 25 venues, plus HIP-3 RWA coverage (tokenized stocks, metals, oil) that mainstream aggregators lack. x402-native pay-per-call (USDC on Base): one free funding screener tool + 11 paid tools with auto-pay.1233 npm2MIT- AlicenseNot gradedqualityDmaintenanceMCP server that provides AI agents with pay-per-call access to a suite of tools (honeypot check, token market, DeFi yields, etc.) via USDC on Base using the x402 protocol.MIT