Storefront / Guides / Cloudflare Search for Agents
Cloudflare Search for Agents · RFC 10008 · Edge Engineering

Cloudflare Search for Agents Without the $20/mo Pro Wall or $0.75/1k Overage Shock

By Daniel Lopes Published Nov 26, 2026 8 min read Cloudflare Workers · RFC 10008 · MCP · WAF/Terraform
Cloudflare Agent-Ready and Search Guardrails Kit architecture diagram

Cloudflare's Search for Agents (/.well-known/search + RFC 10008 HTTP QUERY) and Markdown for Agents (Accept: text/markdown) cut AI agent token payloads by 80%–93.5%. But rolling them out blindly hits two real production walls: a $20/mo per-zone Pro paywall for native Markdown conversion and $0.75 per 1,000 semantic search query overages when unguarded bots hammer your endpoint.

1. Live Production Benchmark: HTML vs Markdown Negotiation

We ran our zero-browser Cloudflare Search for Agents & AI-Readiness Auditor live against blog.cloudflare.com/search-for-agents/ and our static storefront to measure actual protocol behavior and token reduction:

Target Domain Score / Grade /.well-known/search Token Savings % Cascade Tier CF Overage Risk Latency
blog.cloudflare.com 80 / 100 (B+) Live (RFC 10008) 93.5% saved tier1_well_known_search high (needs WAF cap) 2,079 ms
danlopes18-ctrl.github.io Baseline static Fallback 74.2% saved tier3_llms_txt low ($0 edge) 314 ms

That 93.5% token savings on blog.cloudflare.com is why agent-native search is taking over RAG and coding workflows. Instead of scraping 300 KB of navigation chrome, an agent negotiates Accept: text/markdown or queries /.well-known/search directly and gets scored Markdown chunks in one round-trip.

2. Native Cloudflare Paid vs Free-Tier Guardrails Architecture

Capability Native Cloudflare Paid Stack Free-Tier Polyfill + Guardrails Kit ($29 one-time)
Accept: text/markdown negotiation Cloudflare Pro ($20/mo/zone = $240/yr/site) Cloudflare Workers Free ($0/mo) + Edge Cache API
/.well-known/search + RFC 10008 HTTP QUERY $0.75 / 1,000 semantic overages + 500 pages/day cap $0 / 1k deterministic BM25 over /llms.txt + /sitemap.xml
Anti-overage WAF & Rate-Limit Defense Manual setup (scrapers can spike bills overnight) Drop-in WAF JSON + Terraform HCL + CI Budget Gate CLI
Multi-site Fleet Auditing & MCP Server Single-zone dashboard only 5-Tool PRO MCP + Batch CLI (JSON/CSV/Executive HTML)

3. The 4-Tier Cascade Discovery Pattern for AI Agents

Most websites in 2026 do not expose /.well-known/search yet. If your MCP server or agent tool hardcodes Tier 1 only, it fails on 95% of the web. Our open-source agent-search-mcp (MIT) and Edge API v1.1 run a deterministic 4-Tier Cascade with DNS-verified SSRF protection:

  1. Tier 1 — Native /.well-known/search: Probes OPTIONS, <meta name="agent:endpoint">, and sends RFC 10008 HTTP QUERY (falling back to GET ?q= / POST JSON).
  2. Tier 2 — Negotiated Markdown: Requests Accept: text/markdown, text/html;q=0.8 and parses x-markdown-tokens + YAML frontmatter.
  3. Tier 3 — Structured /llms.txt & /sitemap.xml: Fetches curated AI docs indexes and scores matching chunks with deterministic BM25.
  4. Tier 4 — Zero-Browser HTML Cleaning + BM25: Strips scripts, styles, navs, and footers in pure edge JS and ranks relevant paragraphs in milliseconds.

4. Test It Live in 1 Command (Edge API v1.1 or Local MIT MCP)

We added both /v1/agent-readiness and /v1/agent-search to our live Cloudflare Edge API on API.market (15 REST endpoints, Free tier + $19–$149/mo):

# 1) Audit any URL for /.well-known/search, RFC 10008 HTTP QUERY, text/markdown & overage risk
curl -G "https://prod.api.market/api/v1/danlopes18/edge-web-intel-api/v1/agent-readiness" \
  --data-urlencode "url=https://blog.cloudflare.com/search-for-agents/" \
  -H "x-api-market-key: YOUR_API_KEY"

# 2) Run 4-Tier Cascade Agent Search returning BM25-ranked Markdown chunks
curl -G "https://prod.api.market/api/v1/danlopes18/edge-web-intel-api/v1/agent-search" \
  --data-urlencode "url=https://blog.cloudflare.com/search-for-agents/" \
  --data-urlencode "q=markdown for agents" \
  -H "x-api-market-key: YOUR_API_KEY"

Prefer local execution inside Claude Desktop, Claude Code, Cursor, or Windsurf? Clone our zero-dependency MIT MCP server directly:

git clone https://github.com/danlopes18-ctrl/agent-search-mcp
node agent-search-mcp/server.mjs

5. Blocking $0.75/1k Semantic Search Overage Spikes With WAF + Edge Cache

If you run native Cloudflare AI Search on paid zones, never leave /.well-known/search uncached or unthrottled. Three rules cut paid semantic query volume by 60%–85% immediately:

Deploy Cloudflare Agent-Ready Search & Guardrails Today

Start free with our MIT MCP server or live Apify Demo Task, grab the self-serve commercial Kit PRO ($29 one-time), or book a fixed-price 48-hour Done-For-You implementation ($195 / $345 / $650) with escrow protection on Upwork or Fiverr.