What data does the get_weather tool return?
It returns current temperature, condition, humidity, wind speed, and optionally air quality indices (CO, NO2, O3, PM2.5, PM10, US‑EPA index).
@swonixs
基本信息
暂无概览
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"weather": {
"command": "npx",
"args": [
"-y",
"@swonixs/weatherapi-mcp"
],
"env": {
"WEATHER_API_KEY": "YOUR_WEATHER_API_KEY"
}
}
}
}An MCP server that provides current weather and air quality data using WeatherAPI. Designed for integration with MCP clients such as n8n, Claude Desktop App, Windsurf IDE, and Cursor IDE.
Obtain an API key from WeatherAPI.com, then configure your MCP client to run the server via npx with the command npx -y @swonixs/weatherapi-mcp and set the environment variable WEATHER_API_KEY. Use the get_weather tool to retrieve current weather for a specified city.
It returns current temperature, condition, humidity, wind speed, and optionally air quality indices (CO, NO2, O3, PM2.5, PM10, US‑EPA index).
The server runs via npx, so Node.js and npm are required. No other dependencies are mentioned.
Sign up for a free account at WeatherAPI.com, then copy your API key from the dashboard’s “API Keys” section.
The README lists n8n, Claude Desktop App, Windsurf IDE, and Cursor IDE.
The server fetches data from the WeatherAPI external service. A valid API key is required to authenticate requests.

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Model Context Protocol Servers
🚀 The fast, Pythonic way to build MCP servers and clients.
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
评论