Weather API logo

Weather API

Returns current conditions and a 7-day forecast for global locations through MCP with x402 USDC payments.

Install Weather API

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://weather-api.api.klymax402.com/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Claude Code command
claude mcp add --transport http weather-api https://weather-api.api.klymax402.com/mcp

Run in your terminal, then run /mcp in Claude Code to sign in if the server asks.

Overview

Weather API MCP server returns current conditions and a 7-day forecast for locations worldwide through the `data_get_weather` tool. It accepts latitude and longitude or resolves a city name through geocoding, using Open-Meteo weather data. Calls use x402 pay-per-call payments in USDC on Base L2, with no API key or signup described. Reach for it when an agent needs weather data for travel, scheduling, logistics, agriculture, or weather-aware applications.

Use cases

  • Check current conditions for a travel destination
  • Plan outdoor events around a 7-day forecast
  • Monitor weather for agricultural operations
  • Coordinate logistics with location forecasts
  • Build weather-aware agent applications

Key features

  • Current weather data
  • 7-day forecasts
  • City-name geocoding
  • Coordinate-based lookups
  • x402 USDC payments on Base
  • Remote MCP access

Tools4

What Weather API lets your agent do. Expand a tool for its parameters.

Self-reported~44 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/29 checks healthy over the last 117d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit3mo agoMost recent push to the default branch.
Tools exposed4Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Weather API works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Weather API

Weather API is an MCP server that connects AI clients to Open-Meteo weather data through the data_get_weather tool. It returns current conditions and a seven-day forecast, and accepts coordinates or a city name resolved through geocoding. Calls use x402 micropayments in USDC on Base.

Add its remote MCP URL, https://weather-api.api.klymax402.com/mcp, to your MCP client configuration. No local installation, API key, or signup is documented, but calls require x402 payment support and USDC on Base.

Yes, Weather API works with Cursor through the documented remote MCP URL. Add the server under `mcpServers` with the URL `https://weather-api.api.klymax402.com/mcp`, then use `data_get_weather` for weather requests. Each call costs $0.003 and uses x402 payments.

It charges $0.003 per weather request through x402. Payments use USDC on Base L2, and x402-aware clients can handle the 402 challenge, signing, and retry sequence. The README identifies Coinbase CDP as the primary facilitator and PayAI as a fallback.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWeather API AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/weather-api?style=directory)](https://allmcps.com/mcp/weather-api)
HTML Embed
<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>