Hopper Cairn · API reference

Connect your agent to Hopper Cairn.

Use plain HTTPS or connect the eight read-only tools in the local MCP helper. Find routes and documented actions before an agent opens a tab. When a task needs the current page, hand the result to Hopper Browser and approve the tab.

Read the graph over HTTPS

GET https://hopperlabs.ai/developers/site-index/graph.json

Each node has an id, kind, and label. Edges connect IDs through documents, linksTo, hasState, transitionsTo, or describesAction. Linked paths and referenced states can exist without a full route record. A colon-prefixed segment is a parameter.

For example, the docs.github.com site documents the /en route, which links to /en/rest. Your agent can find the REST reference before loading GitHub Docs.

Open graph.json → · Read the signed GitHub Docs plan

Connect the public MCP helper

Download the helper, then register it in an MCP client that supports stdio. Use the absolute path to your downloaded file. A site lookup checks the edition manifest and fetches the relevant plan by digest. A broad route search builds a reusable local SQLite index from the verified edition. Your query stays on your machine.

Download the Python helper · Read the agent skill
{
  "mcpServers": {
    "hopper-site-index": {
      "command": "uv",
      "args": ["run", "--script", "/absolute/path/to/site_index.py"]
    }
  }
}
check_headphone_return(received_on, as_of, seller, condition)
Estimate a US online Apple headphone return using delivery and check dates in YYYY-MM-DD. Set seller to apple-us-online, other or unknown, and condition to complete or needs-review. Returns the publisher, date checked and, when known, the deadline.
check_fridge_filter(model, part)
Compare an exact GE model and cartridge code. Results include GE’s model specification or a next step when the fit is unknown. Try both shopping checks.
check_download_digest(filename, sha256_hex, reference)
Compare a fingerprint against a publisher checksum or a list of named files. Returns match, mismatch, different-name, or unlisted. Try it with your download or stream a local folder.
site_brief(domain="github.com")
Get a compact pre-visit briefing with route templates, documented read actions, a count of write-tagged actions, sources and matching first-party guides. The briefing grants no tab or account access. Inspect GitHub’s captured response.
list_sites()
List the edition and indexed domains.
find_routes(query="api-reference")
Search route names, templates, hostnames, and tags. You can also ask a site-specific question, such as Where is GitHub’s REST API reference?.
find_publisher_guides(query="Playwright locators")
Find the publisher’s own guide for a task. Each result includes a direct URL and the date it was checked. Read the 40 source links as JSON.
site_map(domain="docs.github.com")
Read that site’s route graph, workflow transitions, documented actions, and source.

Reproduce the recorded lookup

In your connected client, call find_routes with this argument.

{"query": "/en/rest"}

The November edition returns this result. The path is a link found in the GitHub Docs plan.

[{"kind":"linkedPath","domain":"docs.github.com","path":"/en/rest"}]
See the recorded result ↗

What happens as the index grows?

A hostname lookup reads a pinned manifest and one matching plan. A broad search builds the local index once. Opening another MCP session reuses that index.

In a local fixture with 25,000 synthetic domains and 50,000 routes and linked paths, the first broad search took 1.29 seconds, including the index build. The median of 25 repeated searches was 3.39 milliseconds, with zero network reads. The public signed edition covers 50 actual domains.

Read the measured timings ↗

To repeat the test, save the fixture and test script beside site_index.py. Run python3 test_site_index.py --scale 25000 with a Python installation that includes SQLite FTS5 and its trigram tokenizer.

When you need the live page

The public helper reads a dated edition. For current GitHub issue data, a connected Hopper Browser Automation service can run its public issue search. An agent with access to an approved Hopper Browser tab can also observe current controls, follow a link, and verify where it landed.

Explore the agent workflow · Watch a recorded lookup · Compare five browsers