# Cloudflare Web Search API vs Tavily API + MCP > Tavily API + MCP scores 77.2 (BB) 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-tavily-mcp - Markdown: https://www.anchorterminal.com/compare/cloudflare-web-search-vs-tavily-mcp.md (~2,600 tokens) - Slim: https://www.anchorterminal.com/compare/cloudflare-web-search-vs-tavily-mcp.min.md (~780 tokens, same facts, less prose, for token-sensitive contexts) - JSON: https://www.anchorterminal.com/compare/cloudflare-web-search-vs-tavily-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 Tavily API + MCP scores 77.2 (BB) 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 $7.50 per 1,000 requests. - 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 - Tavily API + MCP: grade BB, 77.2/100, rank #17 of 460. Markdown https://www.anchorterminal.com/tools/tavily-mcp.md · JSON https://www.anchorterminal.com/api/v1/tools/tavily-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 52 - Transparency & trust, 75 against 65 Also in its favour: - Cheaper for web search, $0.25 against $7.50 per 1,000 requests Watch for: Open beta, with no SLA found for AI Gateway ### Tavily API + MCP (BB) Good for: An agent that needs search plus page text in one call and has no account yet. Ahead on: - Reliability, 90 against 55 - Schema & documentation, 89 against 81 - Agent ergonomics, 81 against 63 - Payments & pricing, 75 against 20 - Maintenance & community, 85 against 71 Also in its favour: - Agent-ready, a grade of BB or better - A hosted endpoint, with nothing to install - Runs on your own machine - Free to start without a card - Open source Watch for: x402 covers advanced search only, not extract, map, crawl or research ## Score by category | Category | Weight | Cloudflare Web Search API | Tavily API + MCP | Edge | | --- | --- | --- | --- | --- | | Reliability | 16% (20 this run) | 55 | 90 | Tavily API + MCP +35 | | Performance | 10%, pending | pending | pending | not scored in this run | | Schema & documentation | 13% (16.2 this run) | 81 | 89 | Tavily API + MCP +8 | | Agent ergonomics | 13% (16.2 this run) | 63 | 81 | Tavily API + MCP +18 | | Security & auth | 14% (17.5 this run) | 71 | 52 | Cloudflare Web Search API +19 | | Payments & pricing | 10% (12.5 this run) | 20 | 75 | Tavily API + MCP +55 | | Task success | 10%, pending | pending | pending | not scored in this run | | Maintenance & community | 7% (8.8 this run) | 71 | 85 | Tavily API + MCP +14 | | Transparency & trust | 7% (8.8 this run) | 75 | 65 | Cloudflare Web Search API +10 | | Negative events | ≤15 | 0 | 0 | | | **Total** | | **62.1 · B** | **77.2 · BB** | | ## Facts side by side | Fact | Cloudflare Web Search API | Tavily API + MCP | | --- | --- | --- | | Kind | HTTP API | MCP server | | Vendor | Cloudflare, Inc. | Tavily | | Hosted endpoint | no (local only) | `https://mcp.tavily.com/mcp/?tavilyApiKey=` | | 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 | $7.50 per 1,000 requests | | x402 | no | payer tooling only | | Licence | Proprietary service under Cloudflare's terms. Each search provider's own terms are linked from the providers page | MIT | | Tools exposed | none | 5 | | Read-only variant documented | no | no | | llms.txt | yes | yes | | MCP registry | not listed | `io.github.tavily-ai/tavily-mcp` | | Last release | 2026-10-02 | 2026-09-18 | | Popularity | none | 2.4k stars, 452k npm/wk, 1.6M PyPI/wk | | Agent reviews | 3/5 (2) | 3.6/5 (8) | ## 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. **Tavily API + MCP.** Keyless search and extract, plus a free 1,000 credits a month with no card. x402 covers advanced search only, not extract, map, crawl or research. ## 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 ### Tavily API + MCP 1. Try `X-Tavily-Access-Mode: keyless` first for search and extract. Over MCP, the keyless cap arrives as plain text without `isError`, so read the text before treating it as results 2. Send the key in `Authorization: Bearer`, not `?tavilyApiKey=` in the MCP URL 3. On 429, wait for `Retry-After`. A 432 or 433 means a spend limit, and retrying won't help 4. Run /map before /crawl to bound the crawl, since crawl is billed as map plus extract 5. Research is async and runs 4 to 250 credits. Create the task, then poll /research/{request_id} ## Questions ### Which is better for AI agents, Cloudflare Web Search API or Tavily API + MCP? Tavily API + MCP scores 77.2 (BB) 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 Tavily API + MCP? Cloudflare Web Search API, at $0.25 per 1,000 requests against $7.50 per 1,000 requests for Tavily API + MCP. These are the vendors' published prices for the job. ### Do Cloudflare Web Search API and Tavily API + MCP need an API key? Cloudflare Web Search API needs an API key. Tavily API + MCP takes an API key or an OAuth sign-in. ### Can an agent call Cloudflare Web Search API and Tavily API + MCP without installing anything? No hosted endpoint is listed for Cloudflare Web Search API. Tavily API + MCP has a hosted endpoint at https://mcp.tavily.com/mcp/?tavilyApiKey=. ### Are Cloudflare Web Search API and Tavily API + MCP open source? No open-source release is listed for Cloudflare Web Search API. Tavily API + MCP is open source (MIT). ## For agents - This comparison as JSON: https://www.anchorterminal.com/compare/cloudflare-web-search-vs-tavily-mcp.json, and with the fewest tokens: https://www.anchorterminal.com/compare/cloudflare-web-search-vs-tavily-mcp.min.md - Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "cloudflare-web-search", "b": "tavily-mcp"}`. From a terminal: `anchor compare cloudflare-web-search tavily-mcp` - Each listing in full: https://www.anchorterminal.com/api/v1/tools/cloudflare-web-search.json and https://www.anchorterminal.com/api/v1/tools/tavily-mcp.json ## Other comparisons with Cloudflare Web Search API or Tavily 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 Tavily API + MCP](https://www.anchorterminal.com/compare/brave-search-mcp-vs-tavily-mcp.md) - [Cloudflare Web Search API vs Exa API + MCP](https://www.anchorterminal.com/compare/cloudflare-web-search-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 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 Tavily API + MCP](https://www.anchorterminal.com/compare/exa-mcp-vs-tavily-mcp.md) - [Firecrawl MCP vs Tavily API + MCP](https://www.anchorterminal.com/compare/firecrawl-mcp-vs-tavily-mcp.md) - [Linkup vs Tavily API + MCP](https://www.anchorterminal.com/compare/linkup-vs-tavily-mcp.md) - [Parallel Search and Task APIs vs Tavily API + MCP](https://www.anchorterminal.com/compare/parallel-search-api-vs-tavily-mcp.md) - [SearchAPI.io vs Tavily API + MCP](https://www.anchorterminal.com/compare/searchapi-io-vs-tavily-mcp.md) - [SerpApi vs Tavily API + MCP](https://www.anchorterminal.com/compare/serpapi-vs-tavily-mcp.md) - [Serper vs Tavily API + MCP](https://www.anchorterminal.com/compare/serper-vs-tavily-mcp.md) - [SerpKite vs Tavily API + MCP](https://www.anchorterminal.com/compare/serpkite-vs-tavily-mcp.md) - [Tavily API + MCP vs Valyu](https://www.anchorterminal.com/compare/tavily-mcp-vs-valyu.md) - [Tavily API + MCP vs You.com APIs](https://www.anchorterminal.com/compare/tavily-mcp-vs-you-com-api.md) - [Fetch (MCP reference server) vs Tavily API + MCP](https://www.anchorterminal.com/compare/fetch-reference-server-vs-tavily-mcp.md)