Skip to content

frostming/openweather-mcp

Repository files navigation

openweather-mcp

A Model Context Protocal server for OpenWeather.org API.

Usage with Claude Desktop

Add the following to claude_desktop_config.json:

{
  "mcpServers": {
    "openweather-mcp": {
      "command": "uvx",
      "args": [
        "openweather-mcp"
      ],
      "env": {
        "OPENWEATHER_API_KEY": "<your_openweather_api_key>"
      },
    }
  }
}

It requires uv to be installed on your machine. Check the official documentation for installation guides.

Available Tools

  • get_current_weather Get current weather for a given city.
  • get_weather_forecast Get weather forecast for a given city for the next 5 days.

Development

pdm install
pdm dev

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages