Get Current Weather
get_current_weatherGet current weather information for a specified city.
How it works ↓Pricing
Per call
$0.01
Model
flat
Pay only for what you use. No subscriptions.
Inputs
city *
stringInput Parameters
Cost per run
Execution cost$0.01
About Get Current Weather
Get current weather information for a specified city. It extracts the current hour's temperature and weather code, maps the weather code to a human-readable description, and returns a formatted summary.
Frequently Asked Questions
Get current weather information for a specified city. It extracts the current hour's temperature and weather code, maps the weather code to a human-readable description, and returns a formatted summary.
Get Current Weather costs $0.01 per call on xpay. No subscription, no minimums. Pay only for the calls you make. New accounts get $5 in free credits.
Connect the Weather MCP endpoint to your client — Claude Code: claude mcp add --transport http weather "https://weather.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"; Cursor/Windsurf/Cline/VS Code: same URL in mcp.json. The agent will see get_current_weather as a callable tool with the input schema and run it directly. (Unified across all providers: https://mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY, then xpay_run with toolPath weather/get_current_weather.)
Yes — that's exactly what xpay is for. You don't need a Weather account or API key. Sign up at xpay.tools (Google or email), get $5 free credit, and run Get Current Weather immediately. Billing flows through your xpay balance.
Get Current Weather accepts 1 input parameter: city. See the input schema and runnable form on this page for details and to test live.

