Claude Code supports MCP servers, which expose tools the agent can call natively without a tool wrapper. Without one, adding web search means writing a custom wrapper around a search API and handling the scraping step separately for each result URL. Registering the EnConvert MCP server adds a web_search tool that runs a search and optionally renders the top result pages in a real browser in a single round trip. The web_search tool returns live search results and optionally the rendered text of the top result pages, with no tool wrapper to write.
How to Add Web Search to Claude Code
Add web search to Claude Code by registering the EnConvert MCP server, which gives it a native web_search tool with rendered page content in the same call
Get API keyExample
json
{
"mcpServers": {
"enconvert": {
"command": "npx",
"args": [
"-y",
"@enconvert/mcp@latest"
],
"env": {
"ENCONVERT_API_KEY": "${ENCONVERT_API_KEY}"
}
}
}
}
What you get back
Registering the EnConvert MCP server makes web_search available natively in Claude Code with no tool wrapper to write. The tool returns SERP results with title, URL, snippet, position, source and date inline, plus the rendered page text for the first perceive_top results where rendering succeeded. A plain search API requires a custom tool wrapper and a separate scraping step for each result URL.