Skip to content
VS Code

SearchForge for VS Code

io.github.divyanshu-iitian/searchforge

Free open-source web search and page reading for LLMs, AI agents, and RAG.

client:VS Code transport:stdio runtime:oci

Install SearchForge in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "searchforge-searxng-url",
      "description": "SEARCHFORGE_SEARXNG_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "github-token",
      "description": "GITHUB_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "crossref-mailto",
      "description": "CROSSREF_MAILTO",
      "password": true
    },
    {
      "type": "promptString",
      "id": "brave-search-api-key",
      "description": "BRAVE_SEARCH_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "searchforge": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/divyanshu-iitian/searchforge-mcp:0.2.0"
      ],
      "env": {
        "SEARCHFORGE_SEARXNG_URL": "${input:searchforge-searxng-url}",
        "GITHUB_TOKEN": "${input:github-token}",
        "CROSSREF_MAILTO": "${input:crossref-mailto}",
        "BRAVE_SEARCH_API_KEY": "${input:brave-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

SearchForge in other clients