# Weather API [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/Br0ski777/weather-api-x402  
**GitHub Stars:** 0  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/weather-api

## Description
Current weather and 7-day forecast for any location. OpenMeteo-powered. x402 micropayment.

## Tools
Capabilities this server exposes over MCP:

- **data_get_weather** — Get current weather and forecast for a location
- **latitude** — Latitude (-90 to 90)
- **longitude** — Longitude (-180 to 180)
- **city** — City name (alternative to lat/lon, uses geocoding)

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "weather-api": {
    "url": "https://weather-api.api.klymax402.com/mcp"
  }
}
```

## Documentation

## What Weather API MCP server does

The Weather API MCP server exposes location-based weather data through MCP. Its single tool, `data_get_weather`, returns current conditions and a seven-day forecast in JSON. Reported fields include temperature, humidity, wind speed, precipitation, and a weather code. Forecast entries include a date, minimum and maximum temperature, and precipitation.

The service is intended for locations anywhere in the world. Callers can provide geographic coordinates directly or submit a city name as an alternative. City lookups use geocoding, and the response includes the resolved city, country, latitude, and longitude. The underlying weather source is Open-Meteo.

## How it works

An MCP client sends a request to the remote endpoint at `https://weather-api.api.klymax402.com/mcp`. The tool maps to a POST request at `/api/weather` and returns weather data as JSON. The request can use `latitude` and `longitude`, or `city`; the documented coordinate ranges are -90 to 90 for latitude and -180 to 180 for longitude.

Each call is priced at $0.003 and uses the x402 payment protocol. Payment is made in USDC on Base L2. x402-aware clients handle the payment challenge, signing, and retry flow; the README names `@x402/fetch`, `x402-agent-tools`, and ATXP as examples of clients or services that support this flow.

## Setup and configuration

Add the remote MCP URL to an MCP client configuration. A minimal entry uses the server name `weather-api` and the URL `https://weather-api.api.klymax402.com/mcp`. The README specifically shows configuration examples for Claude Desktop and Cursor, and also mentions ElizaOS.

The client or payment layer must be able to complete x402 payments, and the account needs USDC on Base to pay for requests. The service can also be reached over HTTP at `/api/weather` by sending a POST request, although a direct unauthenticated request produces a 402 payment response.

## Tools and capabilities

`data_get_weather` is the only documented MCP tool. It supports these optional inputs:

- `latitude`: numeric latitude from -90 through 90
- `longitude`: numeric longitude from -180 through 180
- `city`: a city name used instead of coordinates

Use the Weather API MCP server for travel planning, outdoor event scheduling, agriculture monitoring, logistics planning, and applications that need weather-aware behavior. It is focused on current weather and a seven-day forecast rather than unrelated data domains.

## Limitations and notes

The documented service does not provide timezone information or stock data. The README directs users to other tools for those needs.

_Full upstream README: https://allmcps.com/mcp/weather-api/readme_

