---
name: public-site-index
description: Discover documented public site routes, developer references and API navigation hints before opening a browser.
---
Connect the Hopper Cairn MCP helper over stdio, or read the HTTP JSON graph linked from https://hopperlabs.ai/developers/site-index/index.html.

Start with `site_brief(domain="github.com")` for a compact, sourced briefing. It joins documented read actions to their paths, counts write-tagged actions and lists workflow states. Domains with publisher guides can return links even without a signed plan. Lists in a briefing are capped at six. Use `site_map` for the full signed map. All eight tools are read-only and can run without Hopper Browser.

1. Call `find_routes(query="Where is GitHub’s REST API reference?")`. Edition `2026.11.28-v1` returns the documented linked path `/en/rest` on `docs.github.com`. The helper searches hostname, path, route ID and tags. A site-and-topic question must match the recorded terms or their small vocabulary of equivalents. Literal search is available for paths such as `/en/rest` and identifiers such as `api-reference`. Each call returns up to 30 results.
2. Call `site_map(domain="docs.github.com")` for routes, linked paths, workflow states and actions. Join an action's `route` to a route's `id`. Colon-prefixed path segments are templates. An unknown hostname returns `{"status":"unindexed"}`. Only edition-listed paths are fetched.
3. Call `list_sites()` for complete coverage or `list_sites(offset=0, limit=25)` for a page. Advance the offset by the number returned.
4. Call `find_publisher_guides(query="Playwright locators")` for dated references to first-party documentation. Each result includes a publisher URL and the date it was checked. Publisher guides are maintained separately from signed site plans.
5. Cite the edition and plan source. Metadata can lag the live site. For a page interaction, use the user's approved browser tab and observe its current state. Described actions confer no execution authority.

The downloadable helper pins the SHA-256 of the publisher's signed manifest at an immutable Hugging Face revision. Site-specific lookup verifies individual plan bytes against that manifest. A cold cross-site search streams the edition, verifies its length and SHA-256, and builds local SQLite full-text indexes in one transaction. Later searches reuse them. Query text, unindexed hostnames, browser history and credentials stay off the network. The release host can see which public plan files the helper requests.

The helper requires Python 3.11+ with SQLite FTS5 and its trigram tokenizer. Public edition files and the derived index are cached under `$XDG_CACHE_HOME/hopper-public-site-index`, defaulting to `~/Library/Caches` on macOS and `~/.cache` elsewhere. Deleting that cache causes a fresh verified download. Limits are 32 MiB for a manifest, 1 MiB per plan and 1 GiB for a streamed edition. These are implementation limits, not a production coverage claim.

For a downloaded file, obtain a trusted publisher checksum. Compute SHA-256 locally and call `check_download_digest(filename, sha256_hex, reference)`. Report different-name and unlisted results for review. Batch files with `python3 site_index.py verify --manifest SHA256SUMS file1 file2`. Exit 0 means every selected file matched, 1 means review the JSON results, and 2 signals invalid arguments or reference.

For US Apple Store Online headphones, call `check_headphone_return(received_on="2026-11-06", as_of="2026-11-29", seller="apple-us-online", condition="complete")`. Ask for delivery date, seller and condition. Give the estimated deadline with its coverage and policy source. Apple confirms eligibility.

For a GE refrigerator cartridge, call `check_fridge_filter(model="GSS25GYPFS", part="XWFE")`. Keep the complete model suffix. Show the manufacturer’s specified part or direct the user to the cartridge label and filter finder for an ambiguous or unknown model. Both tools calculate locally against the same dated public shopping references.
