Skip to content
VS Code

measure space mcp server for VS Code

io.github.measurespace/measure-space-mcp-server

MCP server for weather, climate, air quality, agriculture, pollen and geocoding from measurespace.io

client:VS Code transport:stdio runtime:npm

Install measure space mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "geocoding-api-key",
      "description": "GEOCODING_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "hourly-weather-api-key",
      "description": "HOURLY_WEATHER_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "daily-weather-api-key",
      "description": "DAILY_WEATHER_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "daily-climate-api-key",
      "description": "DAILY_CLIMATE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "air-quality-api-key",
      "description": "AIR_QUALITY_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agriculture-api-key",
      "description": "AGRICULTURE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pollen-api-key",
      "description": "POLLEN_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "measure-space-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@measurespace/measure-space-mcp-server"
      ],
      "env": {
        "GEOCODING_API_KEY": "${input:geocoding-api-key}",
        "HOURLY_WEATHER_API_KEY": "${input:hourly-weather-api-key}",
        "DAILY_WEATHER_API_KEY": "${input:daily-weather-api-key}",
        "DAILY_CLIMATE_API_KEY": "${input:daily-climate-api-key}",
        "AIR_QUALITY_API_KEY": "${input:air-quality-api-key}",
        "AGRICULTURE_API_KEY": "${input:agriculture-api-key}",
        "POLLEN_API_KEY": "${input:pollen-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

measure space mcp server in other clients