Can AI read your site?

Cloudflare Search for Agents: let AI agents search your site

Cloudflare can give your domain a search endpoint for AI agents at /.well-known/search. See what it does, what it costs and when it does not work.

By the Why Won't AI teamPublished 3 min readAsk about this page:ChatGPTClaude
On this page

Search for Agents is a Cloudflare setting that gives your domain its own search for AI agents. An agent sends a question to /.well-known/search on your domain and gets back the matching parts of your pages as Markdown. Cloudflare announced it on November 25, 2026, as a beta on all plans.

Why it matters

An agent that wants one answer from your site has two choices today. It can crawl page after page, or it can guess. A search endpoint gives it a third choice: ask one question and get the passages that match, with the page each one came from.

The endpoint returns your own content, not a written answer. The agent's model writes the answer, and your pages are its source.

How an agent finds it

  • Cloudflare adds meta tags to the head of each HTML page. They name the search address, the method and the instructions.
  • The address is the same on every site: /.well-known/search, with the question in a q value.
  • The answer is Markdown. Each result has the page it came from and a score.

What Cloudflare does when you turn it on

  • It makes a search index for the domain in your Cloudflare account.
  • It crawls your public pages through your sitemap and your links, and it crawls again each day.
  • It answers the search address on your domain when the index is ready. Before that, the address says that the index is being built.

Three things to check first

  • Your pages must reach the crawler as HTML with real text. A page that is empty before JavaScript runs gives the index nothing to search.
  • Your bot and firewall settings also apply to the search address. A rule that blocks AI agents blocks their searches too.
  • Cloudflare must be the host that answers your domain. When a site builder or another host answers first, the setting is on in the dashboard but agents get no search.

What it costs

The setting is on every Cloudflare plan, and use is billed under Cloudflare AI Search. Each month includes an amount of indexing, storage and searches. Read Cloudflare's limits and pricing page for the current numbers before you turn it on for a large site.

An MCP endpoint for the same index

The index can also serve an MCP endpoint, so Claude, Cursor and other MCP clients can add your site search as a tool. That endpoint is public and has no sign-in. It can also serve a chat endpoint that writes answers with a model on your account. Decide on each one on purpose.

Questions people ask

Is Search for Agents the same as llms.txt?

No. llms.txt is a file that lists your important pages. Search for Agents is an endpoint that answers a question with matching passages from your pages.

Does it get my site cited in ChatGPT or Google AI answers?

Cloudflare does not claim that, and we have no data that shows it. It helps an agent that already visits your site find the correct passage.

Does it work on a site that is not on Cloudflare?

No. The setting belongs to a Cloudflare zone, and Cloudflare must answer the requests for your domain.

Can I turn it off?

Yes. It is one switch on the Overview page of the domain in Cloudflare.

What this does not tell you

Which of your pages the index can read, why the search address stays empty on some hosting setups, and which public endpoints are safe to open for your account. Those depend on how your site is built and hosted.

Sources

  1. 1.Cloudflare blog: Search for Agents: the announcement of November 25, 2026: what the endpoint returns and how agents find it
  2. 2.Cloudflare docs: Search for Agents: how to turn it on, the default crawl settings and the search address
  3. 3.Cloudflare docs: AI Search limits and pricing: the included monthly use and the prices above it
  4. 4.Cloudflare docs: AI Search public endpoint: the search, chat and MCP endpoints of an index