Documentation
Tools exposed by Hreflang Checker and the limits that apply.
Connect
Server URL: https://hreflang.tidybutton.com/mcp. Authentication is OAuth with dynamic client registration and an email sign-in code. Claude: Settings, Connectors, Add custom connector.
Tools
check_cluster
Fetches one page and every alternate it lists, reads hreflang from the HTML head and the HTTP Link header, and reports missing return tags, missing self-reference, invalid language and region codes, duplicate codes, a missing x-default (warning), alternates that redirect or do not return 200, alternates whose canonical points elsewhere, relative URLs and mixed http and https. A cluster too large for one call is finished in scheduled runs and a job id is returned.
- Inputs: url (the page to start from), job_id (optional, reads the progress or result of a larger cluster)
- Limits: Counts one check when the start page was read. Free plan: 30 checks per month and up to 6 alternates per cluster. Pro plan: up to 50 alternates. Redirects are reported, not followed.
validate_sitemap_hreflang
Reads an XML sitemap (or the first files of a sitemap index) and checks the xhtml:link hreflang annotations of its URL entries: self-reference, return links between entries, code validity, duplicates, x-default, relative and mixed http and https URLs. The alternate URLs are not fetched.
- Inputs: url (sitemap URL or site URL), offset (optional, the first child sitemap to read when the file is a sitemap index)
- Limits: Counts one check. Free plan: up to 100 URL entries per check. Pro plan: up to 2,000. At most 4 child files of a sitemap index per call. Gzip files are not read.
batch_clusters
Checks the cluster of each start URL in a list, or continues a batch with its job id. Pages are fetched once per batch. The result lists the clusters with their error and warning counts, and a CSV of findings is kept for 90 days.
- Inputs: urls (list) or csv (text, first column), job_id (optional, continues a batch)
- Limits: Pro plan only: up to 500 start URLs per batch, clusters of up to 50 alternates. Counts one check per start URL; start URLs that cannot be read are not counted. Pages are also fetched in scheduled runs.
watch_cluster
Adds a cluster start URL to a watch list, lists watched clusters, removes one, checks one now, or lists alerts. Watched clusters are re-checked daily and an alert is raised for each error that was not present at the previous check. Alerts are sent as one email digest per account.
- Inputs: action (add, list, remove, check_now or alerts; default list), url (for add, remove and check_now), limit (for alerts)
- Limits: Pro plan only: 25 watched clusters. Adding and checking now count one check, and each daily re-check counts one check. Removing a watch also removes its alerts.
account_status
Shows the account email, plan, usage and limits.
- Inputs: none
- Limits: none
activate_license
Binds a licence key to the account.
- Inputs: license_key (string)
- Limits: Key must belong to this product.
Plan limits
| Limit | Free | Pro |
|---|---|---|
| checks | 30 | 1000 |
| alternates per cluster | 6 | 50 |
| sitemap URLs per check | 100 | 2000 |
| batch URLs | n/a | 500 |
| watched clusters | n/a | 25 |
Network behaviour
Outbound requests use the user agent TidyButtonBot/1.0 (+https://hreflang.tidybutton.com/bot), time out (usually after 8 seconds, longer for slow public data sources) and are blocked from private, loopback and link-local addresses.