Weather API — Claude Code MCP server
Weather API — Current & 7-Day Forecast Worldwide is an MCP server that returns current conditions and a 7-day forecast worldwide. Agents can use the data for trip planning and event logistics.
no license 4,044 installs updated 2026-04-13
claude mcp add --transport http weather-api https://weather-api--axel-belfort.run.toolsWhat Weather API — Current & 7-Day Forecast Worldwide does
The server exposes data_get_weather, which returns JSON for a requested location. The response contains current, forecast[], and location, with fields such as temperature, humidity, wind, precipitation, UV index, and a weather summary.
No API key is required. Each call costs $0.001/call through an x402 micropayment on Base L2, so billing must be available before requests can succeed. Connect over HTTP at https://weather-api--axel-belfort.run.tools.
What it helps with
- retrieve current conditions for a location
- check a location’s 7-day outlook
- factor rain and UV exposure into trip plans
- feed structured weather data into a location-aware app
Example prompts for the agent
- Use
data_get_weatherto show current conditions and the 7-day forecast for this location. - Check wind, precipitation, and UV index before planning the event.
- Return the weather result as JSON with
current,forecast[], andlocation.
How to install Weather API — Current & 7-Day Forecast Worldwide
Platform CLI: remote server
claude mcp add --transport http weather-api https://weather-api--axel-belfort.run.toolsPlatform CLI: remote server
codex mcp add weather-api-current-7-day-forecast-worldwide --url https://weather-api--axel-belfort.run.toolsConfig file
{
"mcpServers": {
"weather-api-current-7-day-forecast-worldwide": {
"url": "https://weather-api--axel-belfort.run.tools"
}
}
}Config file
{
"servers": {
"weather-api-current-7-day-forecast-worldwide": {
"type": "http",
"url": "https://weather-api--axel-belfort.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http weather-api-current-7-day-forecast-worldwide https://weather-api--axel-belfort.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Weather API — Current & 7-Day Forecast Worldwide
How do I install Weather API — Current & 7-Day Forecast Worldwide in Claude Code?
Run claude mcp add --transport http weather-api https://weather-api--axel-belfort.run.tools, then run claude mcp add --transport http weather-api-current-7-day-forecast-worldwide https://weather-api--axel-belfort.run.tools.
What does Weather API — Current & 7-Day Forecast Worldwide do?
It gives an agent current weather and a 7-day forecast for any location through data_get_weather, returning structured JSON.
Does the server require an API key?
No API key is required. Calls use an x402 micropayment of $0.001/call on Base L2.