Hreflang Check

🌐Community
by indranilbanerjee · vlatest · Repository

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.

1

Run in terminal (recommended)

terminal
claude mcp add hreflang-check npx -- -y @trustedskills/hreflang-check
2

Or manually add to ~/.claude/settings.json

~/.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 hreflang attributes 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 hreflang implementation is accurate from the start.

Key capabilities

  • Validates hreflang attributes on web pages.
  • Checks for consistency in language and region codes.
  • Identifies missing hreflang tags.
  • 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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
indranilbanerjee
Installs
3

🌐 Community

Passed automated security scans.