claude mcp add aemet-mcp -- npx -y @mmillan76/aemet-mcp{
"mcpServers": {
"aemet-mcp": {
"command": "npx",
"args": ["-y", "@mmillan76/aemet-mcp"]
}
}
}MCP Servers overview
# 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).
What people ask about aemet-mcp
What is mmillan76/aemet-mcp?
+
mmillan76/aemet-mcp is mcp servers for the Claude AI ecosystem with 0 GitHub stars.
How do I install aemet-mcp?
+
You can install aemet-mcp by cloning the repository (https://github.com/mmillan76/aemet-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is mmillan76/aemet-mcp safe to use?
+
mmillan76/aemet-mcp has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains mmillan76/aemet-mcp?
+
mmillan76/aemet-mcp is maintained by mmillan76. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to aemet-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy aemet-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](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>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!