get_weather

Pack: weather · Endpoint: https://gateway.pipeworx.io/weather/mcp

Get current weather conditions by city name or coordinates. Returns temperature, humidity, wind speed, and conditions.

Parameters

NameTypeRequiredDescription
latitudenumberyesLatitude of the location
longitudenumberyesLongitude of the location

Example call

Arguments

{
  "latitude": 40.7128,
  "longitude": -74.006
}

curl

curl -X POST https://gateway.pipeworx.io/weather/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_weather","arguments":{"latitude":40.7128,"longitude":-74.006}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_weather', {
  "latitude": 40.7128,
  "longitude": -74.006
});

More examples

{
  "latitude": 51.5074,
  "longitude": -0.1278
}

Response shape

Always returns: temperature_f, feels_like_f, humidity_pct, conditions, wind_mph, wind_direction_deg

FieldTypeDescription
temperature_fnumberCurrent temperature in Fahrenheit
feels_like_fnumberApparent/feels-like temperature in Fahrenheit
humidity_pctnumberRelative humidity percentage
conditionsstringWeather condition description from WMO code
wind_mphnumberWind speed in miles per hour
wind_direction_degnumberWind direction in degrees (0-360)
Full JSON Schema
{
  "type": "object",
  "properties": {
    "temperature_f": {
      "type": "number",
      "description": "Current temperature in Fahrenheit"
    },
    "feels_like_f": {
      "type": "number",
      "description": "Apparent/feels-like temperature in Fahrenheit"
    },
    "humidity_pct": {
      "type": "number",
      "description": "Relative humidity percentage"
    },
    "conditions": {
      "type": "string",
      "description": "Weather condition description from WMO code"
    },
    "wind_mph": {
      "type": "number",
      "description": "Wind speed in miles per hour"
    },
    "wind_direction_deg": {
      "type": "number",
      "description": "Wind direction in degrees (0-360)"
    }
  },
  "required": [
    "temperature_f",
    "feels_like_f",
    "humidity_pct",
    "conditions",
    "wind_mph",
    "wind_direction_deg"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "weather": {
      "url": "https://gateway.pipeworx.io/weather/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026