Skip to content
MCP server

HrefGate

Lint hreflang tags, sitemaps and page sets for code, x-default and return-link errors

Install
Pricing
Free
Platforms
API, Web
Runs
Remotely
Version
0.1.1
Listing updated
1 day ago

About HrefGate

HrefGate is a free MCP server for marketing and seo. It runs as a hosted remote server, so there is nothing to install locally.

You paste HTML containing link rel alternate hreflang tags, an XML sitemap with xhtml:link alternates, or a JSON set of pages, and the checker reports problems with fixes. It flags malformed language, script and region codes such as en-UK, en_US or jp, relative hrefs, duplicate or conflicting codes, a missing x-default, a missing self-reference, canonical conflicts and missing reciprocal return links across pages.

The tool never fetches any URL, including the page_url you supply, and pasted content is checked in memory and discarded without being stored or logged. Rate limiting uses a one-way hash of the network address and date that expires after 9 days.

The same checks are available as a JSON API (about 30 per minute per IP, no key, OpenAPI 3.1 spec) and as a remote MCP server at the workers.dev address. It is free with no sign-up.

Install

Run in a terminal

claude mcp add --transport http hrefgate https://hrefgate.mike-tusa.workers.dev/mcp

Add to Settings → Connectors → Add custom connector

https://hrefgate.mike-tusa.workers.dev/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "hrefgate": {
      "url": "https://hrefgate.mike-tusa.workers.dev/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "hrefgate": {
      "type": "http",
      "url": "https://hrefgate.mike-tusa.workers.dev/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "hrefgate": {
      "serverUrl": "https://hrefgate.mike-tusa.workers.dev/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "hrefgate": {
      "type": "http",
      "url": "https://hrefgate.mike-tusa.workers.dev/mcp"
    }
  }
}

What it does

Code validation
Catches mistakes like en-UK, en_US and jp, with suggested fixes.
Return-link check
Verifies reciprocal links across a set of pages.
x-default and self-reference
Flags missing x-default or self-referencing entries.
Canonical conflicts
Detects rel canonical clashing with hreflang.
Multiple input forms
Accepts HTML, an XML sitemap or a JSON page set.
No fetching, no storage
Never requests URLs and discards submitted content.

Good for

  • Audit a multilingual site before launch
  • Check a sitemap's alternates for missing return links
  • Have an agent fix hreflang tags in a template
  • Validate a batch of pages from a JSON export

Pricing

Free

Free, no sign-up

Prices change. Check hrefgate.mike-tusa.workers.dev before you buy.

HrefGate FAQ

Does it crawl my site?

No. It never fetches URLs; you paste the content.

Is anything stored?

The site says submissions are checked in memory and discarded.

What are the rate limits?

About 30 checks per minute per IP, with no key.

Is it free?

Yes, free with no sign-up.

Is HrefGate free?

Yes. HrefGate is free to use.

How do I add HrefGate to Claude Code?

Run this command in your terminal: claude mcp add --transport http hrefgate https://hrefgate.mike-tusa.workers.dev/mcp

What are the best alternatives to HrefGate?

The closest alternatives to HrefGate are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to HrefGate

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools