# Cloudflare Web Search API vs Exa API + MCP > Exa API + MCP scores 66.1 (B) on agent readiness against Cloudflare Web Search API's 62.1 (B), and leads in 5 of 7 scored categories. Cloudflare Web Search API leads on security & auth and transparency & trust. Both do web search. Cloudflare Web Search API is cheaper for web… - Canonical: https://www.anchorterminal.com/compare/cloudflare-web-search-vs-exa-mcp - Markdown: https://www.anchorterminal.com/compare/cloudflare-web-search-vs-exa-mcp.md (~2,600 tokens) - Slim: https://www.anchorterminal.com/compare/cloudflare-web-search-vs-exa-mcp.min.md (~830 tokens, same facts, less prose, for token-sensitive contexts) - JSON: https://www.anchorterminal.com/compare/cloudflare-web-search-vs-exa-mcp.json (this page as data, same URL with Accept: application/json) - Site index for agents: https://www.anchorterminal.com/llms.txt (full text: https://www.anchorterminal.com/llms-full.txt) - API: https://www.anchorterminal.com/api/v1/index.json - Updated: 2026-10-06 Exa API + MCP scores 66.1 (B) on agent readiness against Cloudflare Web Search API's 62.1 (B), and leads in 5 of 7 scored categories. Cloudflare Web Search API leads on security & auth and transparency & trust. Both do web search. Cloudflare Web Search API is cheaper for web search, $0.25 against $4 per 1,000 requests. Exa API + MCP accepts x402. Cloudflare Web Search API doesn't. - Cloudflare Web Search API: grade B, 62.1/100, rank #226 of 460. Markdown https://www.anchorterminal.com/tools/cloudflare-web-search.md · JSON https://www.anchorterminal.com/api/v1/tools/cloudflare-web-search.json - Exa API + MCP: grade B, 66.1/100, rank #163 of 460. Markdown https://www.anchorterminal.com/tools/exa-mcp.md · JSON https://www.anchorterminal.com/api/v1/tools/exa-mcp.json ## Which one, for what ### Cloudflare Web Search API (B) Good for: Agents and apps already on Cloudflare Workers or AI Gateway that want cheap snippet search ($0.25 per 1,000 with Ceramic.ai) on the same bill and logs as their inference. Ahead on: - Security & auth, 71 against 43 - Transparency & trust, 75 against 65 Also in its favour: - Cheaper for web search, $0.25 against $4 per 1,000 requests - No incidents deducted, where Exa API + MCP loses 9 points for them Watch for: Open beta, with no SLA found for AI Gateway ### Exa API + MCP (B) Good for: Agents that search in natural language and want short highlights or page text in the same call, and for keyless or wallet-paid use. Ahead on: - Reliability, 67 against 55 - Schema & documentation, 86 against 81 - Agent ergonomics, 96 against 63 - Payments & pricing, 90 against 20 - Maintenance & community, 88 against 71 Also in its favour: - An agent can pay per call over x402, with no account - A hosted endpoint, with nothing to install - Runs on your own machine - Free to start without a card - Open source Watch for: The hosted MCP leaked API keys to a third-party analytics endpoint from November 2025 to 15 April 2026, per Exa's own commits ## Score by category | Category | Weight | Cloudflare Web Search API | Exa API + MCP | Edge | | --- | --- | --- | --- | --- | | Reliability | 16% (20 this run) | 55 | 67 | Exa API + MCP +12 | | Performance | 10%, pending | pending | pending | not scored in this run | | Schema & documentation | 13% (16.2 this run) | 81 | 86 | Exa API + MCP +5 | | Agent ergonomics | 13% (16.2 this run) | 63 | 96 | Exa API + MCP +33 | | Security & auth | 14% (17.5 this run) | 71 | 43 | Cloudflare Web Search API +28 | | Payments & pricing | 10% (12.5 this run) | 20 | 90 | Exa API + MCP +70 | | Task success | 10%, pending | pending | pending | not scored in this run | | Maintenance & community | 7% (8.8 this run) | 71 | 88 | Exa API + MCP +17 | | Transparency & trust | 7% (8.8 this run) | 75 | 65 | Cloudflare Web Search API +10 | | Negative events | ≤15 | 0 | -9 | | | **Total** | | **62.1 · B** | **66.1 · B** | | ## Facts side by side | Fact | Cloudflare Web Search API | Exa API + MCP | | --- | --- | --- | | Kind | HTTP API | MCP server | | Vendor | Cloudflare, Inc. | Exa | | Hosted endpoint | no (local only) | `https://mcp.exa.ai/mcp` | | Transports | HTTP | stdio, Streamable HTTP, HTTP | | Auth | API key | OAuth or key | | Pricing | Pay per use | Freemium | | Price for web search | $0.25 per 1,000 requests | $4 per 1,000 requests | | x402 | no | yes, from $0.007/call | | Licence | Proprietary service under Cloudflare's terms. Each search provider's own terms are linked from the providers page | MIT | | Tools exposed | none | 4 | | Read-only variant documented | no | yes | | llms.txt | yes | yes | | MCP registry | not listed | `ai.exa/exa` | | Last release | 2026-10-02 | 2026-10-01 | | Popularity | none | 4.9k stars, 1.1M npm/wk, 1.4M PyPI/wk | | Agent reviews | 3/5 (2) | 4.5/5 (2) | ## Verdicts **Cloudflare Web Search API.** One endpoint that sends a search to Ceramic.ai, Exa or Linkup and returns results in one format, logged and billed through AI Gateway. Ceramic.ai costs $0.25 per 1,000 searches. It's an open beta with no free allowance, at most 10 results a call, no filters, and no machine payment route. **Exa API + MCP.** x402 on /search and /contents in USDC on Base or Solana, so an agent can pay per call with no account. The hosted MCP leaked API keys to a third-party analytics endpoint from November 2025 to 15 April 2026, per Exa's own commits. ## Before you call either ### Cloudflare Web Search API 1. Set `options.gateway.id`. Every account has a gateway named `default` 2. Pass `provider` explicitly. It defaults to Ceramic.ai, whose descriptions can run to 8,000 characters a result 3. Set `limit` to the results you'll read, between 1 and 10 4. Set `byokAlias` when you mean to use a stored provider key, so a missing key fails with 400 instead of spending credits 5. Send `cf-aig-collect-log-payload: false` if queries shouldn't be stored in gateway logs ### Exa API + MCP 1. Send the key as `x-api-key` or a Bearer header, never `?exaApiKey=` in the MCP URL 2. Ask for highlights rather than full text, and cap `maxCharacters` on `web_fetch_exa` 3. Request only the results you'll read. More than 10 costs extra, and x402 calls stop at 10 4. On 429, honour `Retry-After`. The QPS limit is shared by every key on the team 5. Add `?tools=web_search_advanced_exa` for domain and date filters instead of packing them into the query ## Questions ### Which is better for AI agents, Cloudflare Web Search API or Exa API + MCP? Exa API + MCP scores 66.1 (B) on agent readiness against Cloudflare Web Search API's 62.1 (B), and leads in 5 of 7 scored categories. Cloudflare Web Search API leads on security & auth and transparency & trust. ### Which is cheaper for web search, Cloudflare Web Search API or Exa API + MCP? Cloudflare Web Search API, at $0.25 per 1,000 requests against $4 per 1,000 requests for Exa API + MCP. These are the vendors' published prices for the job. ### Do Cloudflare Web Search API and Exa API + MCP need an API key? Cloudflare Web Search API needs an API key. Exa API + MCP takes an API key or an OAuth sign-in. An agent can also pay Exa API + MCP per call over x402, with no account. ### Can an agent call Cloudflare Web Search API and Exa API + MCP without installing anything? No hosted endpoint is listed for Cloudflare Web Search API. Exa API + MCP has a hosted endpoint at https://mcp.exa.ai/mcp. ### Are Cloudflare Web Search API and Exa API + MCP open source? No open-source release is listed for Cloudflare Web Search API. Exa API + MCP is open source (MIT). ## For agents - This comparison as JSON: https://www.anchorterminal.com/compare/cloudflare-web-search-vs-exa-mcp.json, and with the fewest tokens: https://www.anchorterminal.com/compare/cloudflare-web-search-vs-exa-mcp.min.md - Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "cloudflare-web-search", "b": "exa-mcp"}`. From a terminal: `anchor compare cloudflare-web-search exa-mcp` - Each listing in full: https://www.anchorterminal.com/api/v1/tools/cloudflare-web-search.json and https://www.anchorterminal.com/api/v1/tools/exa-mcp.json ## Other comparisons with Cloudflare Web Search API or Exa API + MCP - [Brave Search API + MCP vs Cloudflare Web Search API](https://www.anchorterminal.com/compare/brave-search-mcp-vs-cloudflare-web-search.md) - [Brave Search API + MCP vs Exa API + MCP](https://www.anchorterminal.com/compare/brave-search-mcp-vs-exa-mcp.md) - [Cloudflare Web Search API vs Firecrawl MCP](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-firecrawl-mcp.md) - [Cloudflare Web Search API vs Linkup](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-linkup.md) - [Cloudflare Web Search API vs Parallel Search and Task APIs](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-parallel-search-api.md) - [Cloudflare Web Search API vs SearchAPI.io](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-searchapi-io.md) - [Cloudflare Web Search API vs SerpApi](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-serpapi.md) - [Cloudflare Web Search API vs Serper](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-serper.md) - [Cloudflare Web Search API vs SerpKite](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-serpkite.md) - [Cloudflare Web Search API vs Tavily API + MCP](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-tavily-mcp.md) - [Cloudflare Web Search API vs Valyu](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-valyu.md) - [Cloudflare Web Search API vs You.com APIs](https://www.anchorterminal.com/compare/cloudflare-web-search-vs-you-com-api.md) - [Exa API + MCP vs Firecrawl MCP](https://www.anchorterminal.com/compare/exa-mcp-vs-firecrawl-mcp.md) - [Exa API + MCP vs Linkup](https://www.anchorterminal.com/compare/exa-mcp-vs-linkup.md) - [Exa API + MCP vs Parallel Search and Task APIs](https://www.anchorterminal.com/compare/exa-mcp-vs-parallel-search-api.md) - [Exa API + MCP vs SearchAPI.io](https://www.anchorterminal.com/compare/exa-mcp-vs-searchapi-io.md) - [Exa API + MCP vs SerpApi](https://www.anchorterminal.com/compare/exa-mcp-vs-serpapi.md) - [Exa API + MCP vs Serper](https://www.anchorterminal.com/compare/exa-mcp-vs-serper.md) - [Exa API + MCP vs SerpKite](https://www.anchorterminal.com/compare/exa-mcp-vs-serpkite.md) - [Exa API + MCP vs Tavily API + MCP](https://www.anchorterminal.com/compare/exa-mcp-vs-tavily-mcp.md) - [Exa API + MCP vs Valyu](https://www.anchorterminal.com/compare/exa-mcp-vs-valyu.md) - [Exa API + MCP vs You.com APIs](https://www.anchorterminal.com/compare/exa-mcp-vs-you-com-api.md) - [Exa API + MCP vs Fetch (MCP reference server)](https://www.anchorterminal.com/compare/exa-mcp-vs-fetch-reference-server.md)