# EPW.tools MCP server

> Allows AI clients to generate EnergyPlus weather files, typical years, future climate scenarios, and design conditions for any location on Earth.

- Repository: https://github.com/carlobianchi89/epwtools-python
- Page: https://hostedmcp.org/servers/carlobianchi89/epwtools-python
- Transport: stdio, remote
- Stars: 0
- License: MIT
- Latest version: 0.5.3

## Install

### Claude Code

```sh
claude mcp add --env 'EPWTOOLS_API_KEY=<YOUR_EPWTOOLS_API_KEY>' epwtools-python -- uvx epwtools
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "epwtools-python": {
      "command": "uvx",
      "args": [
        "epwtools"
      ],
      "env": {
        "EPWTOOLS_API_KEY": "<YOUR_EPWTOOLS_API_KEY>"
      }
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "epwtools-python": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "epwtools"
      ],
      "env": {
        "EPWTOOLS_API_KEY": "<YOUR_EPWTOOLS_API_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"epwtools-python","type":"stdio","command":"uvx","args":["epwtools"],"env":{"EPWTOOLS_API_KEY":"<YOUR_EPWTOOLS_API_KEY>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "epwtools-python": {
      "command": "uvx",
      "args": [
        "epwtools"
      ],
      "env": {
        "EPWTOOLS_API_KEY": "<YOUR_EPWTOOLS_API_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add epwtools-python --env 'EPWTOOLS_API_KEY=<YOUR_EPWTOOLS_API_KEY>' -- uvx epwtools
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.epwtools-python]
command = "uvx"
args = ["epwtools"]

[mcp_servers.epwtools-python.env]
EPWTOOLS_API_KEY = "<YOUR_EPWTOOLS_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'EPWTOOLS_API_KEY=<YOUR_EPWTOOLS_API_KEY>' epwtools-python uvx -- epwtools
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "epwtools-python": {
      "command": "uvx",
      "args": [
        "epwtools"
      ],
      "env": {
        "EPWTOOLS_API_KEY": "<YOUR_EPWTOOLS_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `EPWTOOLS_API_KEY` | yes | yes | Your EPW.tools API key (free credits on signup at https://epw.tools) |

## FAQ

### Does it support future climate projections?

Yes, it provides future climate data from 2030 to 2100 under various SSP scenarios.

### How do I get started with the MCP server?

You can run the server using uvx with the command uvx --from 'epwtools[mcp]' epw-tools-mcp.
