Skip to content
VS Code

Agent Web Search for VS Code

io.github.jerryliu369/agent-web-search

Provider-neutral web_search for AI agents. Grounding + agent search APIs, keyless defaults.

client:VS Code transport:stdio runtime:pypi

Install Agent Web Search in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "agent-web-search-providers",
      "description": "AGENT_WEB_SEARCH_PROVIDERS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ark-api-key",
      "description": "ARK_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gemini-api-key",
      "description": "GEMINI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "xai-api-key",
      "description": "XAI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "deepseek-api-key",
      "description": "DEEPSEEK_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tavily-api-key",
      "description": "TAVILY_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "brave-search-api-key",
      "description": "BRAVE_SEARCH_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "perplexity-api-key",
      "description": "PERPLEXITY_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ydc-api-key",
      "description": "YDC_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "exa-api-key",
      "description": "EXA_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "parallel-api-key",
      "description": "PARALLEL_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "zhipu-web-search-api-key",
      "description": "ZHIPU_WEB_SEARCH_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "zhipu-chat-search-api-key",
      "description": "ZHIPU_CHAT_SEARCH_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "agent-web-search": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-web-search-mcp"
      ],
      "env": {
        "AGENT_WEB_SEARCH_PROVIDERS": "${input:agent-web-search-providers}",
        "ARK_API_KEY": "${input:ark-api-key}",
        "GEMINI_API_KEY": "${input:gemini-api-key}",
        "XAI_API_KEY": "${input:xai-api-key}",
        "DEEPSEEK_API_KEY": "${input:deepseek-api-key}",
        "TAVILY_API_KEY": "${input:tavily-api-key}",
        "BRAVE_SEARCH_API_KEY": "${input:brave-search-api-key}",
        "PERPLEXITY_API_KEY": "${input:perplexity-api-key}",
        "YDC_API_KEY": "${input:ydc-api-key}",
        "EXA_API_KEY": "${input:exa-api-key}",
        "PARALLEL_API_KEY": "${input:parallel-api-key}",
        "ZHIPU_WEB_SEARCH_API_KEY": "${input:zhipu-web-search-api-key}",
        "ZHIPU_CHAT_SEARCH_API_KEY": "${input:zhipu-chat-search-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

Agent Web Search in other clients