Home / Servers / Public Knowledge / weather_forecast

Weather forecast

An MCP tool from the Public Knowledge server, hosted on mcp.hjlabs.in.

Daily weather forecast for up to 16 days for a place or coordinates (Open-Meteo): high/low, conditions, precipitation amount and probability, wind, UV index, sunrise and sunset. Set `hourly=true` for the next 48 hours hour by hour.

Name on the gateway: knowledge__weather_forecast · read-only.

Parameters

NameTypeDescription
placestringCity or town name. Or pass latitude and longitude.
latitudenumberLatitude.
longitudenumberLongitude.
daysintegerDays ahead, 1–16. Default 7.
unitscelsius | fahrenheitTemperature units. Default celsius.
hourlybooleanAlso include the next 48 hours by hour.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "knowledge__weather_forecast",
  "arguments": {}
}

Or connect the Public Knowledge server directly, which lists 47 tools including this one:

Run in your terminal
claude mcp add --transport http hj-knowledge https://mcp.hjlabs.in/mcp/knowledge \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the weather forecast tool with place set to ….

More from Public Knowledge