HrefGate
Lint hreflang: codes, x-default, self-reference, canonical, return links. Never fetches URLs.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"hrefgate": {
"url": "https://hrefgate.mike-tusa.workers.dev/mcp"
}
}
}Remote-Endpunkte
https://hrefgate.mike-tusa.workers.dev/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (1)
🟢lint_hreflang(input, page_url, include_raw)
Lint hreflang annotations for international SEO. Accepts pasted text (not a URL; this tool never fetches anything): page HTML with <link rel="alternate" hreflang> tags, an XML sitemap with xhtml:link alternates, or a JSON set {"pages":[{"url","canonical","alternates":[{"hreflang","href"}]}]}. Checks language/script/region codes, x-default, self-reference, canonical conflicts, duplicates and reciprocal return links. Returns valid true/false, counts, the codes found, and up to 25 issues with paths, messages and suggested fixes. Read-only. Same engine as the HrefGate JSON API (POST /api/lint).
Eingabe-Schema
{
"type": "object",
"properties": {
"input": {
"type": "string",
"minLength": 1,
"maxLength": 60000,
"description": "Page HTML, sitemap XML, or JSON {\"pages\":[{\"url\":\"https://example.com/en/\",\"alternates\":[{\"hreflang\":\"en\",\"href\":\"https://example.com/en/\"}]}]}."
},
"page_url": {
"type": "string",
"maxLength": 2048,
"description": "Absolute URL of the pasted HTML page (HTML input only). Enables self-reference and canonical checks."
},
"include_raw": {
"type": "boolean",
"default": false,
"description": "Also return the full /api/lint JSON (all issues) in structuredContent.raw."
}
},
"required": [
"input"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {
"valid": {
"type": "boolean"
},
"errors": {
"type": "number"
},
"warnings": {
"type": "number"
},
"infos": {
"type": "number"
},
"pages": {
"type": "number"
},
"alternates": {
"type": "number"
},
"codes": {
"type": "array",
"items": {
"type": "string"
}
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"level": {
"type": "string",
"enum": [
"error",
"warning",
"info"
]
},
"code": {
"type": "string"
},
"path": {
"type": "string"
},
"message": {
"type": "string"
},
"suggestion": {
"type": "string"
}
},
"required": [
"level",
"code",
"path",
"message"
]
}
},
"issuesOmitted": {
"type": "number"
},
"version": {
"type": "string"
},
"raw": {
"type": "object",
"description": "Full /api/lint response (only when include_raw is true)"
}
},
"required": [
"valid",
"errors",
"warnings",
"infos",
"issues",
"version"
]
}Community
Nachweis