Mmcp.market

AEMET MCP server

by mmillan76·io.github.mmillan76/aemet-mcp·v0.1.1

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

B75/100grade B
What users say
No reviews yet
Be the first
Safety scan
B75/100

full report

Adoption
New

0 stars22 downloads/wk

Reviews

Write one

Nobody has reviewed AEMET yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

AEMET tools (3)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • get_municipality_forecast

    Get the daily weather forecast (up to 7 days) for a Spanish municipality

  • get_station_observation

    Get the last ~12 hours of hourly conventional observation data (temperature,

  • get_weather_warnings

    Get the latest active weather warnings (CAP alerts) issued by AEMET for a Spanish

Public scan report

scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it

no findings
  • Code scan6 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 61 days ago12/15
  • Maintainer identityregistry namespace matches repository owner6/10
Overall 75/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

What the publisher says

From the AEMET repository's README, as published. We do not edit it. Read it on GitHub

aemet-mcp

MCP server that exposes public weather data from AEMET (Agencia Estatal de Meteorología, Spain) to AI agents and MCP-compatible clients.

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

Spanish municipality, by INE code.

  • getmunicipalityforecast — daily forecast (up to 7 days) for a

(temperature, wind, precipitation…) from a weather station.

  • getstationobservation — last ~12h of hourly observation data

region or all of Spain.

  • getweatherwarnings — active weather warnings (CAP alerts) for a

Prerequisites

https://opendata.aemet.es/centrodedescargas/altaUsuario

  • Node.js 20+
  • A free AEMET OpenData API key: request one at

Installation

No install needed — run it directly with npx:

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 AEMETAPIKEY 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. claudedesktopconfig.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 AEMETAPIKEY set in the environment.

Local development

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:

npx @modelcontextprotocol/inspector node dist/index.js

(the Inspector reads AEMETAPIKEY 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.

Nothing above is checked by us. What we check is on the safety report.

Install directly

Runs npx -y @mmillan76/aemet-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add aemet-mcp -- npx -y @mmillan76/aemet-mcp
Add to Cursor

AEMET: common questions

Is AEMET MCP server safe?
Mostly: it is graded B (75/100). Read the AEMET safety report
How do I install AEMET?
It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
Does AEMET need an API key?
Yes. The registry entry asks for AEMET_API_KEY.
Is AEMET maintained?
The last commit was 61 days ago (2026-07-26). The latest release is v0.1.1.
What can I use instead of AEMET?
Servers from other publishers that do the same job: Jma MCP server, Cwa MCP server and Weather Data MCP Server. Compare all AEMET alternatives.

Alternatives to AEMET

Same job from other publishers: the closest match first, then the best rated.

All AEMET alternatives →
  • Jma
    JMA (Japan Meteorological Agency) MCP — keyless weather forecasts, warnings,
    B
  • Cwa
    MCP server for Taiwan CWA open data: weather forecast, earthquake, warnings, typhoon.
    B
  • Weather Data MCP Server
    17 weather tools, no API keys: forecasts, alerts, air quality, marine, radar, lightning, wildfires
    A
  • Noaa Spaceweather
    NOAA SWPC space weather: storm scales, Kp index, aurora forecasts, solar wind, activity, alerts.
    A
  • Smarter Weather
    Smarter Weather MCP: forecasts, alerts, outlooks, observations, AQI, grids, and map imagery.
    A

More from mmillan76 →