# AEMET

> AEMET is an open-source MCP server. MCP server exposing AEMET (Spanish weather agency) forecasts, station data and warnings. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/mmillan76/aemet-mcp
- **MCP Registry name:** io.github.mmillan76/aemet-mcp
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add aemet-mcp --env AEMET_API_KEY='<AEMET_API_KEY>' -- npx -y @mmillan76/aemet-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "aemet-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mmillan76/aemet-mcp"
      ],
      "env": {
        "AEMET_API_KEY": "<AEMET_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "aemet-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mmillan76/aemet-mcp"
      ],
      "env": {
        "AEMET_API_KEY": "<AEMET_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "aemet-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mmillan76/aemet-mcp"
      ],
      "env": {
        "AEMET_API_KEY": "<AEMET_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "aemet-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mmillan76/aemet-mcp"
      ],
      "env": {
        "AEMET_API_KEY": "<AEMET_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "aemet-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mmillan76/aemet-mcp"
      ],
      "env": {
        "AEMET_API_KEY": "<AEMET_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is AEMET free?

Yes. AEMET is open source, so you can use and self-host it for free.

### How do I add AEMET to Claude Code?

Run this command in your terminal: claude mcp add aemet-mcp --env AEMET_API_KEY='<AEMET_API_KEY>' -- npx -y @mmillan76/aemet-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/aemet
