Skip to content
VS Code

AEMET for VS Code

io.github.mmillan76/aemet-mcp

MCP server exposing AEMET (Spanish weather agency) forecasts, station data and warnings.

client:VS Code transport:stdio runtime:npm

Install AEMET in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "aemet-api-key",
      "description": "AEMET_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "aemet-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mmillan76/aemet-mcp"
      ],
      "env": {
        "AEMET_API_KEY": "${input:aemet-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

AEMET in other clients