Back to Challenges

Weather API Integration

Build ServerIntermediate

Create an MCP server that fetches real weather data from an API.

About the API

This challenge uses the Open-Meteo API - a free weather API that requires no API key!

  • • Free for non-commercial use
  • • No registration required
  • • Supports geocoding (city → coordinates)
get_weather
Get weather by latitude/longitude coordinates
get_weather_by_city
Get weather by city name (auto-geocodes)
Weather MCP Server
Weather Server

Real weather data from Open-Meteo

Loading...
Success Criteria
  • Fetches real weather data from API
  • Handles API errors gracefully
  • Supports both coordinates and city name