Current weather and 7-day forecast for any location. OpenMeteo-powered. x402 micropayment.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Current weather and 7-day forecast -- temperature, humidity, wind, precipitation. Any location worldwide. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.
Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.
Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):
Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.
| Tool | Method | Path | Price | Description |
|---|---|---|---|---|
data_get_weather | POST | /api/weather | $0.003 | Get current weather and forecast for a location |
data_get_weatherUse this when you need current weather conditions or a 7-day forecast for any location. Returns weather data in JSON.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
latitude | number | no | Latitude (-90 to 90) |
longitude | number | no | Longitude (-180 to 180) |
city | string | no | City name (alternative to lat/lon, uses geocoding) |
Example response:
When to use: travel planning, outdoor event scheduling, agriculture monitoring, logistics planning, and building weather-aware applications.
Not for: timezone info (use utility_convert_timezone), stock data (use finance_get_stock_price).
eip155:8453)100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.
MIT
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/weather-api)<a href="https://allmcps.com/mcp/weather-api"><img src="https://allmcps.com/api/badge/weather-api?style=directory" alt="Weather API on AllMCPs" /></a>