ai newsFr., 4. Dez.
EilmeldungAlibaba Releases Qwen4-35B-A3B: Open-Weight MoE Model With 1M Context

Koennen AI-Agenten Ihre Website lesen? So testen Sie es

Wenn Nutzer ChatGPT, Claude oder Perplexity nach Empfehlungen fragen, lesen deren Crawler Websites in Echtzeit. Kann der Crawler eine Seite nicht erfassen, fehlt sie in der Antwort, und klassische Analytics zeigen nicht warum. Ein Test mit Claude Code, Cursor oder curl schafft Klarheit.

dev.toDonnerstag 15:18 · 03.12.DE4 Min. Lesezeit
Bild: dev.to

Wenn jemand ChatGPT, Claude oder Perplexity nach "einem guten Klempner in Austin" oder "einem Tool, das X kann" fragt, liest der Assistent oft direkt in diesem Moment Websites, mit seinem eigenen Crawler. Wenn dieser Crawler Ihre Website nicht lesen kann, tauchen Sie nicht in der Antwort auf, und nichts in Ihren Analytics verrät Ihnen, warum das so ist.

Ich arbeite an Mmented, und wir haben die Prüfung, die wir selbst nutzen, kostenlos verfügbar gemacht: ein Nur-Lese-Tool, ohne Konto, ohne API-Schlüssel. Es handelt sich um einen MCP-Server, aber er beantwortet auch eine einfache HTTP-Anfrage, sodass Sie ihn mit curl testen können:

curl -s https://app.trymented.com/mcp \ -H 'Content-Type: application/json' \ -H 'Accept: application/json, text/event-stream' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"check_site","arguments":{"url":"example.com"}}}' Vollbildmodus öffnen Vollbildmodus beenden Die Antwort beginnt so:

# example.com: 30/100 (Schwer für Agents nutzbar) 2 Checks bestanden, 13 zu beheben. ## Was zu beheben ist, Wichtigstes zuerst 1. **Ihre Website hat eine robots.txt-Datei** (fehlt, hohe Auswirkung) - Gefunden: Es gibt keine robots.txt-Datei.... Vollbildmodus öffnen Vollbildmodus beenden result.structuredContent enthält dasselbe als Felder (score, grade, blocked, fixes, reportUrl), plus Anleitungen: jede Behebung als schrittweise Markdown-Anleitung, die Sie an einen Coding-Agent übergeben können. Eine neue Website dauert etwa 20 Sekunden; eine Website, die in den letzten 30 Minuten geprüft wurde, antwortet sofort.

Es gibt auch eine Webversion unter trymented.com/agent-ready.

Der nützlichere Aufbau besteht darin, den Agent, der bereits den Code Ihrer Website hat, die Prüfung ausführen und die Änderungen vornehmen zu lassen.

Als MCP-Server (Streamable HTTP, ohne Auth): https://app.trymented.com/mcp

# Claude Code claude mcp add --transport http mented https://app.trymented.com/mcp Vollbildmodus öffnen Vollbildmodus beenden // Cursor:. cursor / mcp. json { "mcpServers": { "mented": { "url": "https://app.trymented.com/mcp" } } } Vollbildmodus öffnen Vollbildmodus beenden // VS Code:. vscode / mcp. json { "servers": { "mented": { "type": "http", "url": "https://app.trymented.com/mcp" } } } Vollbildmodus öffnen Vollbildmodus beenden Als Agent-Skill für Claude Code, Cursor, Codex und andere Agents, die SKILL.md lesen:

npx skills add skillseedorg/mented-mcp Vollbildmodus öffnen Vollbildmodus beenden Der Skill funktioniert auch ohne verbundenen MCP-Server. Wenn Sie etwas fragen wie "warum zeigt ChatGPT unsere Website nicht?", führt er die Prüfung aus, erklärt die wichtigsten Behebungen und bietet an, sie im Repository umzusetzen (robots.txt, Sitemap, llms.txt, ein schema.org-Block, erstellt aus dem, was die Website ohnehin aussagt), und prüft nach dem Deployment erneut. Der Quellcode liegt auf GitHub.

Für einen ersten Blick brauchen Sie kein Tool.

1. Lesen Sie Ihre robots.txt so, wie ein Crawler es tut.

curl -s https://yoursite.com/robots.txt Vollbildmodus öffnen Vollbildmodus beenden Achten Sie auf Gruppen, die AI-Crawler nennen, und auf eine Gruppe User-agent: * mit Disallow: /. Zu den wichtigsten AI-User-Agents gehören heute GPTBot und OAI-SearchBot (OpenAI), ClaudeBot und Claude-SearchBot (Anthropic) sowie PerplexityBot (Perplexity). Jedes Unternehmen dokumentiert, wofür seine Bots da sind; die Such-Bots sind diejenigen, die entscheiden, ob Sie in Antworten auftauchen können, und Sie können diese erlauben, während Sie Trainings-Bots aussperren:

User - agent: OAI - SearchBot Allow: / User - agent: Claude - SearchBot Allow: / User - agent: PerplexityBot Allow: / User - agent: GPTBot Disallow: / Sitemap: https: //yoursite.com/sitemap.xml Vollbildmodus öffnen Vollbildmodus beenden Behalten Sie das Disallow für Trainings-Bots nur, wenn das eine Entscheidung ist, die Sie wirklich treffen wollen.

2. Prüfen Sie, ob statt Ihrer Website eine Bot-Wand antwortet.

curl -s -o /dev/null -w "%{http_code}\n" -A "OAI-SearchBot" https://yoursite.com/ Vollbildmodus öffnen Vollbildmodus beenden Ein 403, ein 503 oder ein 200, dessen Body eine "checking your browser"-Seite ist, bedeutet, dass Crawler wahrscheinlich abgewiesen werden. Firewalls behandeln echte Crawler anders als einen vorgetäuschten User-Agent, betrachten Sie das also als Hinweis und prüfen Sie die Bot-Einstellungen Ihrer Firewall.

curl -s https://yoursite.com/ | sed 's/<[^>]*>//g' | tr -s ' \n' | head -c 1500 Vollbildmodus öffnen Vollbildmodus beenden Wenn Ihre Schlagzeile, Leistungen und Kontaktdaten nicht darin enthalten sind, sehen viele Crawler sie ebenfalls nicht. Server-Side Rendering oder Prerendering behebt das.

4. Fügen Sie die kleinen Dateien hinzu. Eine sitemap.xml, auf die robots.txt verweist, eine llms.txt mit einer kurzen Klartextzusammenfassung der Website und Links zu ihren wichtigsten Seiten, sowie ein schema.org-Block vom Typ Organization oder LocalBusiness mit Ihrem echten Namen, Ihrer Adresse, Telefonnummer und Ihren Öffnungszeiten.

Eine Website, die KI lesen kann, ist der Ausgangspunkt, keine Garantie. Ob ein Assistent Sie empfiehlt, hängt auch davon ab, was der Rest des Webs sagt: Bewertungen, Verzeichnis-Einträge, Artikel, die Sie erwähnen. Niemand kann einen Platz in einer KI-Antwort versprechen, und Sie sollten jedem misstrauen, der das tut.

Aber "der Crawler wurde blockiert" ist ein häufiger, stiller und behebbarer Grund, übergangen zu werden, und es dauert eine Minute, das auszuschließen.

Wenn Sie die Prüfung auf Ihrer Website ausprobieren, würde ich gerne hören, was sie falsch macht. Die Issues im GitHub-Repository sind offen.

Automatisch übersetzt. Das Original auf Englisch ist unten aufklappbar.

Original (Englisch) anzeigen

When someone asks ChatGPT, Claude or Perplexity for "a good plumber in Austin" or "a tool that does X", the assistant often goes and reads websites right then, with its own crawler. If that crawler can't read your site, you are not in the answer, and nothing in your analytics tells you why.

I work on Mented, and we made the check we use ourselves free: one read-only tool, no account, no API key. It is an MCP server, but it also answers a plain HTTP request, so you can try it with curl:

curl -s https://app.trymented.com/mcp \ -H 'Content-Type: application/json' \ -H 'Accept: application/json, text/event-stream' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"check_site","arguments":{"url":"example.com"}}}' Enter fullscreen mode Exit fullscreen mode The answer starts like this:

# example.com: 30/100 (Hard for agents to use) 2 checks pass, 13 to fix. ## What to fix, most important first 1. **Your site has a robots.txt file** (missing, high impact) - Found: There is no robots.txt file.... Enter fullscreen mode Exit fullscreen mode result.structuredContent has the same thing as fields ( score, grade, blocked, fixes, reportUrl ), plus instructions: every fix as step-by-step Markdown you can hand to a coding agent. A new site takes about 20 seconds; a site checked in the last 30 minutes answers at once.

There is also a web version at trymented.com/agent-ready.

The more useful setup is to let the agent that already has your site's code run the check and make the changes.

As an MCP server (Streamable HTTP, no auth): https://app.trymented.com/mcp

# Claude Code claude mcp add --transport http mented https://app.trymented.com/mcp Enter fullscreen mode Exit fullscreen mode // Cursor:. cursor / mcp. json { "mcpServers": { "mented": { "url": "https://app.trymented.com/mcp" } } } Enter fullscreen mode Exit fullscreen mode // VS Code:. vscode / mcp. json { "servers": { "mented": { "type": "http", "url": "https://app.trymented.com/mcp" } } } Enter fullscreen mode Exit fullscreen mode As an agent skill for Claude Code, Cursor, Codex and other agents that read SKILL.md:

npx skills add skillseedorg/mented-mcp Enter fullscreen mode Exit fullscreen mode The skill works even without the MCP server connected. When you ask something like "why doesn't ChatGPT show our site?", it runs the check, explains the top fixes, and offers to make them in the repo (robots.txt, sitemap, llms.txt, a schema.org block built from what the site already says), then checks again after you deploy. The source is on GitHub.

You don't need any tool for a first look.

1. Read your robots.txt the way a crawler does.

curl -s https://yoursite.com/robots.txt Enter fullscreen mode Exit fullscreen mode Look for groups that name AI crawlers, and for a User-agent: * group with Disallow: /. The main AI user agents today include GPTBot and OAI-SearchBot (OpenAI), ClaudeBot and Claude-SearchBot (Anthropic), and PerplexityBot (Perplexity). Each company documents what its bots are for; the search bots are the ones that decide whether you can show up in answers, and you can allow those while keeping training bots out:

User - agent: OAI - SearchBot Allow: / User - agent: Claude - SearchBot Allow: / User - agent: PerplexityBot Allow: / User - agent: GPTBot Disallow: / Sitemap: https: //yoursite.com/sitemap.xml Enter fullscreen mode Exit fullscreen mode Only keep the Disallow for training bots if that is a choice you actually want to make.

2. See whether a bot wall answers instead of your site.

curl -s -o /dev/null -w "%{http_code}\n" -A "OAI-SearchBot" https://yoursite.com/ Enter fullscreen mode Exit fullscreen mode A 403, a 503, or a 200 whose body is a "checking your browser" page means crawlers are likely being turned away. Firewalls treat real crawlers differently from a spoofed user agent, so treat this as a hint and check your firewall's bot settings.

curl -s https://yoursite.com/ | sed 's/<[^>]*>//g' | tr -s ' \n' | head -c 1500 Enter fullscreen mode Exit fullscreen mode If your headline, services and contact details aren't in there, many crawlers won't see them either. Server-side rendering or prerendering fixes this.

4. Add the small files. A sitemap.xml that robots.txt points to, an llms.txt with a short plain-text summary of the site and links to its key pages, and a schema.org Organization or LocalBusiness block with your real name, address, phone and hours.

A site that AI can read is the starting point, not a guarantee. Whether an assistant recommends you also depends on what the rest of the web says: reviews, directory listings, articles that mention you. Nobody can promise placement in an AI answer, and you should be wary of anyone who does.

But "the crawler was blocked" is a common, silent and fixable reason for being left out, and it takes a minute to rule out.

If you try the check on your site, I'd like to hear what it gets wrong. The issues on the GitHub repo are open.

Originaltitel: Can AI agents read your website? Check it from Claude Code, Cursor or curlQuelle: dev.to (dev.to). Original öffnen