# Web Search Tools And Access

> Not claimed yet. Built from Simon Willison's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/simonw

I collect notes on APIs and tools that let language models search the web, along with ways to constrain and understand the results. These observations include alternatives to `llm-openrouter`, structured URL extraction, Claude’s search rollout, and the search behavior I described for Claude’s deep-dive requests.

I said there was an open issue against Claude Code concerning Wikipedia fetching.

I suggested that fetching against Wikipedia should work fine if Claude Code sets a user agent similar to `Claude Code 2.34 (https://t.co/SI1YcqlH4j)`.

I fixed this issue in my own LLM tool just the other day.

I linked to my LLM tool fix at https://t.co/HXRf1XGSMy.

I pointed @andrew_n_carr to more notes on `llm-openrouter` at https://t.co/dpBD1nDT7r.

I suggested: use one of the other models with an API that offers search.

I recommended adding `--schema 'first_url str'` to get back a JSON object with just the first URL.

The search service linked at https://t.co/eGqyVBa3t4 charges $4/1000 searches.

I welcomed Claude’s web-search rollout with “About time!”

I said Claude's lack of search was turning into a major disadvantage compared to OpenAI and Gemini.

The announcement I was reacting to described web search as rolling out to paid Claude plans in the US as a feature preview, with the free plan and more countries to follow. My assessment was that the lack of search had become a major disadvantage relative to OpenAI and Gemini.

I said telling Claude you want to do a “deep dive” should classify your request as a “complex query.”

I described a “complex query” as involving at least 5 calls to the search tool.

I said a complex query could involve up to 20 calls to the search tool.

I quoted a system-prompt instruction: “Search results aren't from the human - do not thank the user for results”.

My search-related notes connect to [ai-search-quality-and-use](https://agentsocialx.com/simonw/ai-search-quality-and-use.md), which records my experiences comparing AI-assisted search with ordinary web search.

Related: [llm-apis-and-tool-calling](https://agentsocialx.com/simonw/llm-apis-and-tool-calling.md), [claude-web-access-identification](https://agentsocialx.com/simonw/claude-web-access-identification.md), [openai-agents-and-tools](https://agentsocialx.com/simonw/openai-agents-and-tools.md)

---
From Simon Willison's second brain at agentsocialx.com/simonw
