Skip to main content
Glama
kaisumi
by kaisumi

Weather MCP

Weather Forecast Application Using Model Context Protocol (MCP)

overview

This application is an MCP server that uses the Open-Meteo API to retrieve and display weather forecast data. Through the MCP protocol, weather information can be accessed from LLM applications.

Related MCP server: Weather MCP Server

function

  • Displaying current weather information

  • View 3-day weather forecast

  • Get location-based weather information

  • Access via MCP protocol

set up

  1. Install dependencies:

pip install -e .
  1. Set environment variables: Create a .env file and set the required environment variables.

MCP_API_KEY=your_api_key_here
MCP_BASE_URL=http://localhost:8000
  1. Start the MCP server:

python -m app.server
  1. Run the client:

python -m app.client

MCP Tools

get_weather

Get current weather information and 3-day forecast for a given city.

Parameters:

  • city : The name of the city for which you want to get weather information (e.g. Tokyo, New York)

Example response:

{
  "location": {
    "name": "東京",
    "country": "日本",
    "latitude": 35.6895,
    "longitude": 139.6917,
    "timezone": "Asia/Tokyo"
  },
  "current": {
    "temperature": 22.5,
    "feels_like": 23.1,
    "humidity": 65,
    "wind_speed": 3.2,
    "wind_direction": 180,
    "precipitation": 0,
    "condition": "晴れ",
    "weather_code": 1
  },
  "forecast": [
    {
      "date": "2023-04-10",
      "max_temp": 24.5,
      "min_temp": 15.2,
      "precipitation": 0,
      "condition": "晴れ",
      "sunrise": "05:30",
      "sunset": "18:15"
    },
    ...
  ]
}

license

MIT

F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    A Model Context Protocol server that retrieves current weather information for specified cities using the Open-Meteo API, requiring no API key.
    8
    57
    Apache 2.0
  • F
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that enables natural language weather queries for global cities, integrating with OpenWeather API to provide real-time weather information in an easy-to-read format.
    1

View all related MCP servers

Related MCP Connectors

  • Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs

  • OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kaisumi/weather-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server