Tutorial

How to Add MCP Search to Claude Code

Configure Scavio MCP search in Claude Code for live SERP grounding. One config line gives Claude Code access to 6 search platforms.

Add live web search to Claude Code by configuring the Scavio MCP server at mcp.scavio.dev/mcp. One configuration line gives Claude Code access to Google, YouTube, Reddit, Amazon, TikTok, and Walmart search at $0.005/query with 250 free monthly.

Prerequisites

  • Claude Code installed
  • Scavio API key from scavio.dev
  • A project directory

Walkthrough

Step 1: Create or edit .mcp.json

Add the Scavio MCP server to your project configuration.

Bash
# Create .mcp.json in your project root:
cat > .mcp.json << 'EOF'
{
  "mcpServers": {
    "scavio": {
      "url": "https://mcp.scavio.dev/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
EOF

Step 2: Test the search tool

Start Claude Code and ask it to search for something.

Bash
# In Claude Code, ask:
# 'Search for the latest Next.js version'
# Claude will call the Scavio search tool and
# return current results from Google

Step 3: Use in coding workflows

Claude Code now uses search to verify facts while coding.

Bash
# Example prompts that trigger search:
# 'What is the current Stripe API version?'
# 'Check the latest React Router migration guide'
# 'Search Reddit for feedback on Prisma vs Drizzle'

Python Example

Python
# .mcp.json configuration (project root)
import json

config = {
    'mcpServers': {
        'scavio': {
            'url': 'https://mcp.scavio.dev/mcp',
            'headers': {
                'Authorization': 'Bearer YOUR_API_KEY'
            }
        }
    }
}

with open('.mcp.json', 'w') as f:
    json.dump(config, f, indent=2)

print('MCP search configured for Claude Code')

JavaScript Example

JavaScript
// .mcp.json configuration (project root)
const fs = require('fs');
const config = {
  mcpServers: {
    scavio: {
      url: 'https://mcp.scavio.dev/mcp',
      headers: {
        Authorization: 'Bearer YOUR_API_KEY'
      }
    }
  }
};
fs.writeFileSync('.mcp.json', JSON.stringify(config, null, 2));
console.log('MCP search configured for Claude Code');

Expected Output

JSON
Claude Code with live search capability across 6 platforms. The agent uses search to verify documentation, check package versions, and research solutions during coding.

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.

Claude Code installed. Scavio API key from scavio.dev. A project directory. A Scavio API key gives you 250 free credits per month.

Yes. The free tier includes 250 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

Configure Scavio MCP search in Claude Code for live SERP grounding. One config line gives Claude Code access to 6 search platforms.