Skip to content
VS Code

Brave Search for VS Code

com.brave/brave-search

Web, local, news, image and video search through the Brave Search API. Needs an API key from the Brave developer portal.

client:VS Code transport:stdio runtime:npm tools:5

Install Brave Search in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "brave-api-key",
      "description": "BRAVE_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "brave-search": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@brave/brave-search-mcp-server"
      ],
      "env": {
        "BRAVE_API_KEY": "${input:brave-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

What VS Code can do once it is connected

Brave Search in other clients