Hreflang Check
This tool verifies your website’s `hreflang` tags for proper implementation, ensuring accurate international SEO and search engine indexing.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add hreflang-check npx -- -y @trustedskills/hreflang-check
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"hreflang-check": {
"command": "npx",
"args": [
"-y",
"@trustedskills/hreflang-check"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill checks a website's hreflang attributes to ensure proper international SEO implementation. It validates that the declared language and region codes are correct and consistent across linked pages, helping prevent search engine penalties and improve user experience for visitors in different locales. The tool identifies missing or incorrect hreflang tags which can negatively impact site rankings.
When to use it
- Website Migration: After migrating a website with multiple language versions to ensure
hreflangattributes are correctly implemented. - International SEO Audit: As part of a broader international search engine optimization audit to identify and fix potential issues.
- Content Updates: Following significant content updates or additions to multilingual sections of a website.
- New Language Launch: When launching a new language version of a website, to verify the
hreflangimplementation is accurate from the start.
Key capabilities
- Validates
hreflangattributes on web pages. - Checks for consistency in language and region codes.
- Identifies missing
hreflangtags. - Helps prevent search engine penalties related to incorrect internationalization.
Example prompts
- "Check the hreflang implementation of my website at example.com."
- "Validate the hreflang attributes for the Spanish version of my site, es-ES."
- "Find any missing or incorrect hreflang tags on example.com/fr/"
Tips & gotchas
The skill requires a valid URL to analyze; ensure you provide the correct website address. Incorrect hreflang implementation can be complex, so review the results carefully and consult with an SEO specialist if needed.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.