If you're looking to enhance Claude's capabilities by connecting it to the Internet, using MCPs (Model Context Protocol) and the Brave Search API is a great solution. Here's a step-by-step guide to get started:
First, head over to https://claude.ai/download and download the latest desktop version of Claude.
Next, you'll need a Brave Search API key. Visit the Brave Search API portal and sign up for a free API key. With the free tier, you get up to 2,000 queries per month.
Locate your Claude desktop configuration file:
If you don't see the file:
If the option isn't available, create a new file named claude_desktop_config.json
in the appropriate directory.
Add the following configuration to the file, replacing YOUR_API_KEY_HERE
with your actual Brave Search API key:
{
"mcpServers": {
"brave-search": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-brave-search"],
"env": {
"BRAVE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
Save the file after making these changes.
Restart the Claude desktop application. Once restarted, navigate to Claude -> Settings -> Developer. You should now see "brave-search" listed as an available MCP server.
That's it! You're all set to use Claude with Internet access via the Brave Search API.