AI-agent readiness for Next.js
Next.js sites are usually the strongest thing we scan on rendering: the App Router serves real HTML, headings survive, and metadata is typed. What they miss is everything that lives beside the app rather than inside it — llms.txt, an API catalogue, AI bot rules, a feed. The framework will not write those for you, and the developer who set the project up was optimising for Lighthouse, not for a crawler with a fetch budget.
What our own scans say about Next.js
Not an estimate. These numbers come from public AIScan reports and change as we scan more.
Distinct public domains, counted once each at their most recent scan.
Mean of the latest public scan for every Next.js domain we have graded.
- 87%122 of 140
- 76%106 of 140
- 73%102 of 140
- 80%87 of 109
- 61%86 of 140
Computed from public AIScan reports, refreshed as we scan. Private reports are never included.
How Next.js sites fail, and what fixes it
A static robots.txt that predates AI crawlers
Most projects still ship the two-line public/robots.txt from the starter. It allows everything, says nothing about GPTBot, ClaudeBot, PerplexityBot or Google-Extended, and carries no Content Signals — so your training position is whatever a crawler chooses to assume.
No llms.txt, because it is not a route anyone thinks to add
It is a file route: app/llms.txt/route.ts returning text/plain, or a generated file in public/. Ten minutes of work, and it is the first thing an assistant reaches for when deciding what your product is.
Client components hiding the answer
A 'use client' boundary around pricing tiers, docs tabs or a comparison table means the served HTML has the shell and none of the numbers. This is the failure mode we see most on otherwise excellent Next.js sites.
A soft 404
not-found.tsx that returns 200 tells a crawler every mistyped URL is a real page. Correct status codes are how an agent knows which of its guesses were right.
An API nobody can discover
Route handlers under app/api are invisible without an OpenAPI description and a link to it. An API catalogue at /.well-known/api-catalog is the standards-shaped way to say 'here is what this site can do', not just what it can show.
Step-by-step fixes: /docs/platforms/nextjs · /docs/checks/content · /docs/checks/capabilities · /llms-txt-generator
Businesses running on Next.js
Questions Next.js owners ask
Where do I put llms.txt in a Next.js app?
Does server-side rendering guarantee a good content score?
My not-found page looks right but E1 fails. Why?
Is an OpenAPI file worth it for a small product?
Do I need a feed if I have a sitemap?
Scan your Next.js site and see where you actually stand
Free, no account, about twenty seconds. The report names every failing check by ID, shows the evidence we found, and gives the fix for your platform — plus a hand-off prompt you can paste straight into Claude Code or Cursor.
npx aiscan-cli yoursite.comPrefer to read first? Browse every check we run or the guide library.