xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Tool Skill
Weather logo

Get Current Weather

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.

$0.01/call
Flat rate
Weather
Raw SKILL.mdTool Page

When to Use

Use this tool when you need to 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.. This is part of the Weather provider on xpay✦.

MCP Connection

Connect to xpay✦ to access this tool (and 7+ others):

{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}

For Claude Code:

claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"

How to Execute

Use the xpay✦ meta-tools to run this tool:

  1. xpay_details — Get full input schema: xpay_details("weather/get_current_weather")
  2. xpay_run — Execute: xpay_run("weather/get_current_weather", { ...inputs })

Input Parameters

ParameterTypeRequiredDescription
citystringYesThe name of the city to fetch weather information for, PLEASE NOTE English name only, if the parameter city isn't English please translate to English before invoking this function.

Pricing

  • Cost: $0.01/call
  • Balance check: Use xpay_balance to check remaining credits
  • Get your API key at xpay.tools — $5 free credits included

Related Skills

  • Weather (all tools) — 8 tools
  • Get Weather ByDateTimeRange — $0.01/call
  • Get Weather Details — $0.01/call
  • Get Current Datetime — $0.01/call
  • Get Timezone Info — $0.01/call
  • Convert Time — $0.01/call

Links

  • Tool page: https://xpay.tools/weather/get-current-weather/
  • Provider: https://xpay.tools/weather/
  • All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("weather/get_current_weather")
// 2. Execute
xpay_run("weather/get_current_weather", { ...inputs })
Input Parameters
ParameterTypeRequiredDescription

city

string
Yes

The name of the city to fetch weather information for, PLEASE NOTE English name only, if the parameter city isn't English please translate to English before invoking this function.

Related Tools from Weather
Get Weather ByDateTimeRange — $0.01Get Weather Details — $0.01Get Current Datetime — $0.01Get Timezone Info — $0.01Convert Time — $0.01Get Air Quality — $0.01Get Air Quality Details — $0.01
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/weather/get-current-weather/SKILL.md
CLI
npx @xpaysh/cli install weather/get-current-weather
Manual
curl -o SKILL.md https://xpay.tools/skills/weather/get-current-weather/SKILL.md
Pricing

Cost

$0.01/call

Model

Flat rate

Provider

Weather

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service