Skip to content
VS Code

Solar Data for VS Code

io.github.hoodsy/solar-data-mcp

US open solar data for agents: PVWatts production, tariffs & ROI, market data, forecasts. 18 tools.

client:VS Code transport:stdio runtime:pypi

Install Solar Data in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "nrel-api-key",
      "description": "NREL_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openei-api-key",
      "description": "OPENEI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "eia-api-key",
      "description": "EIA_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ahj-registry-token",
      "description": "AHJ_REGISTRY_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "solar-data-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "solar-data-mcp"
      ],
      "env": {
        "NREL_API_KEY": "${input:nrel-api-key}",
        "OPENEI_API_KEY": "${input:openei-api-key}",
        "EIA_API_KEY": "${input:eia-api-key}",
        "AHJ_REGISTRY_TOKEN": "${input:ahj-registry-token}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Solar Data in other clients