Tutorial

How to Add Web Search to qwen-code via MCP (2026)

Restore web_search after PR #3502 with one config line. Scavio MCP adds Google + Reddit + YouTube + Amazon + Walmart.

An r/Qwen_AI post: qwen-code's built-in web_search was removed in PR #3502 (May 2026). This walks the one-config-line restore.

Prerequisites

  • qwen-code installed
  • Scavio API key (500 free credits/mo recurring)

Walkthrough

Step 1: Get a Scavio API key

scavio.dev — sign up, copy key.

Text
// Free 500 credits/mo recurring; no card required.

Step 2: Edit qwen-code mcp config

Add scavio block under mcpServers.

JSON
{
  "mcpServers": {
    "scavio": {
      "url": "https://mcp.scavio.dev/mcp",
      "headers": { "x-api-key": "YOUR_SCAVIO_KEY" }
    }
  }
}

Step 3: Restart qwen-code

Tool surface picks up the new MCP.

Text
// Quit and restart qwen-code.

Step 4: Test search

Try a typed multi-platform query.

Text
// 'Search the web for latest LLM benchmarks 2026.'
// 'Search Reddit r/LocalLLaMA for Qwen3 35B reviews.'

Step 5: Optional: same MCP in Claude Code, Cursor, VS Code, Windsurf

Reuse across runtimes.

Bash
// claude mcp add scavio https://mcp.scavio.dev/mcp --header 'x-api-key: $SCAVIO_API_KEY'

Python Example

Python
# No application code; this is config-only.

JavaScript Example

JavaScript
// JSON config; restart agent runtime.

Expected Output

JSON
qwen-code with restored web search plus Reddit + YouTube + Amazon + Walmart bonus surface, all under one MCP.

Related Tutorials

Frequently Asked Questions

Most developers complete this tutorial in 15 to 30 minutes. You will need a Scavio API key (free tier works) and a working Python or JavaScript environment.

qwen-code installed. Scavio API key (500 free credits/mo recurring). A Scavio API key gives you 500 free credits per month.

Yes. The free tier includes 500 credits per month, which is more than enough to complete this tutorial and prototype a working solution.

Scavio has a native LangChain package (langchain-scavio), an MCP server, and a plain REST API that works with any HTTP client. This tutorial uses the raw REST API, but you can adapt to your framework of choice.

Start Building

Restore web_search after PR #3502 with one config line. Scavio MCP adds Google + Reddit + YouTube + Amazon + Walmart.