Skip to main content
ClaudeWave
MCP ServersRegistry oficial0 estrellas0 forksTypeScriptMITActualizado today
Install in Claude Code / Claude Desktop
Method: NPX · @mmillan76/aemet-mcp
Claude Code CLI
claude mcp add aemet-mcp -- npx -y @mmillan76/aemet-mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "aemet-mcp": {
      "command": "npx",
      "args": ["-y", "@mmillan76/aemet-mcp"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Casos de uso

Resumen de MCP Servers

# aemet-mcp

MCP server that exposes public weather data from [AEMET](https://www.aemet.es)
(Agencia Estatal de Meteorología, Spain) to AI agents and MCP-compatible
clients.

Three tools, well-typed, backed by AEMET's official OpenData API:

- **`get_municipality_forecast`** — daily forecast (up to 7 days) for a
  Spanish municipality, by INE code.
- **`get_station_observation`** — last ~12h of hourly observation data
  (temperature, wind, precipitation…) from a weather station.
- **`get_weather_warnings`** — active weather warnings (CAP alerts) for a
  region or all of Spain.

## Prerequisites

- Node.js 20+
- A free AEMET OpenData API key: request one at
  https://opendata.aemet.es/centrodedescargas/altaUsuario

## Installation

No install needed — run it directly with `npx`:

```bash
npx -y @mmillan76/aemet-mcp
```

The server communicates over stdio, so it's meant to be launched by an MCP
client rather than run standalone in a terminal.

## Configuration

The server reads the API key from the `AEMET_API_KEY` environment variable.
It exits with an error at startup if it's missing.

### Claude Desktop / Claude Code

Add to your MCP client config (e.g. `claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "aemet": {
      "command": "npx",
      "args": ["-y", "@mmillan76/aemet-mcp"],
      "env": {
        "AEMET_API_KEY": "your-api-key-here"
      }
    }
  }
}
```

Any other MCP client that supports stdio servers works the same way — point
it at `npx -y @mmillan76/aemet-mcp` with `AEMET_API_KEY` set in the environment.

## Local development

```bash
git clone https://github.com/mmillan76/aemet-mcp.git
cd aemet-mcp
npm install
cp .env.example .env   # fill in AEMET_API_KEY
npm run build
```

Test tool calls interactively with the
[MCP Inspector](https://github.com/modelcontextprotocol/inspector):

```bash
npx @modelcontextprotocol/inspector node dist/index.js
```

(the Inspector reads `AEMET_API_KEY` from your shell environment, so export
it — or source `.env` — before running the command above)

## Notes on the AEMET API

AEMET OpenData uses a two-step pattern on every endpoint: the first request
returns a JSON envelope with a `datos` URL, not the actual data; a second
request to that URL returns the real payload. This server hides that detail
— tools just return the final data. Rate limits apply per API key; if you
hit them, the tool returns a clear error instead of retrying silently.

## License

MIT — see [LICENSE](./LICENSE).

Lo que la gente pregunta sobre aemet-mcp

¿Qué es mmillan76/aemet-mcp?

+

mmillan76/aemet-mcp es mcp servers para el ecosistema de Claude AI con 0 estrellas en GitHub.

¿Cómo se instala aemet-mcp?

+

Puedes instalar aemet-mcp clonando el repositorio (https://github.com/mmillan76/aemet-mcp) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar mmillan76/aemet-mcp?

+

mmillan76/aemet-mcp aún no ha sido auditado por nuestro agente de seguridad. Revisa el repositorio original en GitHub antes de usarlo en producción.

¿Quién mantiene mmillan76/aemet-mcp?

+

mmillan76/aemet-mcp es mantenido por mmillan76. La última actividad registrada en GitHub es de today, con 0 issues abiertos.

¿Hay alternativas a aemet-mcp?

+

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Despliega aemet-mcp en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: mmillan76/aemet-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/mmillan76-aemet-mcp)](https://claudewave.com/repo/mmillan76-aemet-mcp)
<a href="https://claudewave.com/repo/mmillan76-aemet-mcp"><img src="https://claudewave.com/api/badge/mmillan76-aemet-mcp" alt="Featured on ClaudeWave: mmillan76/aemet-mcp" width="320" height="64" /></a>

Más MCP Servers

Alternativas a aemet-mcp