drio
Open app

mcp2brave

Source

一个MCP服务器,基于Brave API让你的Claude Cline以及Langchain实现网络搜索功能。An MCP server that use Brave API allows your Claude Cline and Langchain to implement network search functions.

Catalog onlyCatalog onlySTDIO

Overview

mcp2brave is an MCP server that utilizes the Brave API to enable network search functionalities for Claude Cline and Langchain.

To use mcp2brave, clone the repository, set up your environment with the Brave API key, and install it as a Claude extension. You can also run it in development mode to test its features.

  • Integration with Brave API for web searches - Ability to search the web and retrieve information - Development mode for testing and debugging
  1. Implementing web search capabilities in AI applications.
  2. Enhancing Claude Cline's functionalities with real-time data.
  3. Supporting Langchain with external search capabilities.

Add to your AI client

Use these steps to connect mcp2brave in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp2brave-mcp2everything": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp2brave-mcp2everything"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp2brave-mcp2everything": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp2brave-mcp2everything"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp2brave-mcp2everything": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp2brave-mcp2everything"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp2brave-mcp2everything": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp2brave-mcp2everything"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp2brave-mcp2everything": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp2brave-mcp2everything"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp2brave-mcp2everything": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp2brave-mcp2everything"
      ]
    }
  }
}

FAQ

What are the system requirements for mcp2brave?

Python 3.11+, UV package manager, and a Brave API key are required.

How do I install mcp2brave?

Clone the project, set up the environment variables, and install the dependencies using UV.

Can I use mcp2brave without a Brave API key?

No, the Brave API key is essential for the functionality of mcp2brave.