Skip to content
VS Code

qweather mcp for VS Code

io.github.overstarry/qweather-mcp

a qweather mcp server

client:VS Code transport:stdio runtime:npm

Install qweather mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "qweather-api-base",
      "description": "QWEATHER_API_BASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "qweather-api-key",
      "description": "QWEATHER_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "qweather-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "qweather-mcp"
      ],
      "env": {
        "QWEATHER_API_BASE": "${input:qweather-api-base}",
        "QWEATHER_API_KEY": "${input:qweather-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

qweather mcp in other clients