Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
jocarrd avatar

Aemet MCP

  • 1 repo stars
  • Updated August 2, 2026
  • jocarrd/aemet-client

AEMET MCP is a MCP server that exposes Spanish weather forecasts, CAP warnings, and station observations from AEMET OpenData.

About

AEMET MCP connects coding agents to Spain’s national meteorology OpenData: municipal forecasts, CAP-format warnings, and station observations. Developers shipping Spain-focused travel apps, logistics tools, or internal ops dashboards reach for it during Build integrations instead of hand-parsing AEMET REST responses. Run aemet-mcp over stdio with npx after obtaining a free AEMET_API_KEY from opendata.aemet.es. Claude Code, Cursor, Codex, and generic MCP clients can then query weather context while implementing features or drafting user-facing copy. Scope is geographic (Spain/AEMET); it is a data MCP server, not a global forecast aggregator. Version 0.1.2 lives in the aemet-client monorepo under packages/aemet-mcp.

  • Forecasts from Spain’s AEMET agency via MCP tools
  • CAP weather warnings for alert-aware automations
  • Station observation data for hyperlocal checks
  • Free AEMET_API_KEY from opendata.aemet.es registration
  • npm package aemet-mcp v0.1.2; monorepo jocarrd/aemet-client

Aemet MCP by the numbers

  • Data as of Aug 10, 2026 (Skillselion catalog sync)
terminal
claude mcp add --env AEMET_API_KEY=YOUR_AEMET_API_KEY aemet-mcp -- npx -y aemet-mcp

Add your badge

Show developers this MCP server is listed on Skillselion. Paste this into your README.

Listed on Skillselion
repo stars1
Packageaemet-mcp
TransportSTDIO
AuthRequired
Last updatedAugust 2, 2026
Repositoryjocarrd/aemet-client

What it does

Pull Spanish AEMET forecasts, CAP warnings, and station observations into agent workflows through a stdio MCP server.

Who is it for?

Best when you're building Spain-specific products or automations that need official AEMET data inside the agent loop.

Skip if: Global-only apps that require worldwide providers without AEMET coverage or teams avoiding third-party government API keys.

What you get

Your agent reads AEMET-backed forecast, warning, and observation tools through one stdio MCP server and API key.

  • stdio MCP server linked to AEMET OpenData
  • Agent tools for forecasts, warnings, and observations
  • AEMET_API_KEY configured as required secret env

By the numbers

  • Package aemet-mcp version 0.1.1 in readme snippet shows 0.1.2 in registry entry; transport stdio
  • Required secret env: AEMET_API_KEY (free AEMET OpenData registration)
  • Repository: github.com/jocarrd/aemet-client subfolder packages/aemet-mcp
README.md

aemet-client monorepo

Tools for working with AEMET OpenData, the public API of Spain's State Meteorological Agency.

Package Description npm
aemet-client Typed TypeScript SDK + CLI for AEMET OpenData. Used in production at snowy.es. npm version
aemet-mcp Model Context Protocol server: plug AEMET into Claude Desktop, Cursor, Windsurf or any MCP client. Runs locally over stdio. npm version

Quick links

Develop

Requires Node.js ≥ 20.18 and pnpm ≥ 10.

pnpm install
pnpm -r build
pnpm -r test
pnpm -r typecheck
pnpm lint

To work on a single package:

pnpm --filter aemet-client test
pnpm --filter aemet-mcp dev

The E2E suite (pnpm --filter aemet-client test:e2e) hits the real AEMET API and is skipped unless AEMET_API_KEY is set. CI runs it behind a repository secret.

Release

  • aemet-client is released by pushing a tag v<x.y.z> or aemet-client-v<x.y.z>. The release workflow checks the tag matches packages/aemet-client/package.json before publishing to npm via Trusted Publishing (OIDC, no token).
  • aemet-mcp is released by pushing a tag aemet-mcp-v<x.y.z> using the same Trusted Publishing setup. pnpm publish rewrites the workspace:^ dependency on aemet-client to a real semver range.

See CONTRIBUTING.md for development guidelines.

License

MIT © Jorge Carrera

Recommended MCP Servers

How it compares

Regional weather data MCP, not a generic SEO or launch distribution skill.

FAQ

Who is AEMET MCP for?

Developers and agent developers who need Spain AEMET forecasts, CAP warnings, and station data via MCP in Claude Code or Cursor.

When should I use AEMET MCP?

Use it while building features that depend on Spanish weather or civil protection-style alerts from official OpenData.

How do I add AEMET MCP to my agent?

Register for AEMET_API_KEY at opendata.aemet.es, run npm aemet-mcp 0.1.2 over stdio with npx, and add the server to your MCP client config.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.