Skip to navigation

AI & Agent Access

These docs are published in machine-readable form as well as human-readable form, so an AI assistant or coding agent can read them directly instead of scraping the rendered site.

Connect the MCP server

The fastest path for a coding agent. The server exposes a searchDocs tool that returns doc passages with their source URLs.

Endpoint: https://docs.hyperflow.fun/_mcp/server (streamable HTTP, no auth)

claude mcp add --transport http hyperflow-docs https://docs.hyperflow.fun/_mcp/server

Once connected, ask the agent things like “how do I get a swap quote from HyperFlow?” and it will search these pages and cite them.

Let an agent swap

The Agent Swap Guide is the set of rules an agent follows to quote, check, simulate and execute a swap, with the user signing every transaction. Install it as a Claude Code skill, or hand the page to any agent as Markdown.

The swap endpoints are also described in an OpenAPI (Swagger 2.0) document: HyperEVM · Elysium. It leaves out the host (use the chain’s base URL) and lists only 200 and 400 responses — see Errors for 404 and 429.

Fetch the docs as text

If you would rather pull the content yourself — for a RAG index, an eval, or a one-off prompt:

URLWhat you get
/llms.txtAn index of every page: title, URL, one-line description. Follows the llmstxt.org spec
/llms-full.txtThe entire documentation concatenated as one Markdown document
<page URL>.mdThat one page as clean Markdown
<section URL>/llms.txtAn index scoped to one section

For example, /developers/dex-aggregator.md is that page alone, and /developers/llms.txt indexes just the developer pages.

# The whole site, as one Markdown file
curl -s https://docs.hyperflow.fun/llms-full.txt
# Just the developer pages
curl -s https://docs.hyperflow.fun/developers/llms.txt

Every page also carries Copy page, View as Markdown, and Open in Claude / ChatGPT actions in its header.

What an agent should know

Worth putting in your agent’s system prompt when it works against these docs:

  • Configuration is live, not literal. Fees, amounts and routes are served by GET /quote and GET /swap. Any number written in these docs is an illustration of the shape, not a value to hardcode.
  • Swap amounts are in wei. Read a token’s decimals() on-chain before converting; the native token (HYPE) is 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE with 18 decimals. There is no token-search endpoint, so never guess a token address.
  • Send swaps only to the returned router. Use tx.router from GET /swap, and check it against Smart Contracts before sending.
  • What the user signs is net of fees. amountOut and minAmountOut already deduct any integrator fee.
  • Back off on 429. The swap API returns 429 over the rate limit without saying when to retry; wait with an increasing delay.

Ask a question

For anything the docs do not answer, the developer channel on Discord is the fastest route to a human.