weather-mcp
天气 API + UI + MCP 服务器
本项目包含:
UI:输入城市名称并获取当前天气
HTTP API:
GET /api/weather?city=...摘要 API:
GET /api/summary?city=...(可选 Claude;若不可用则回退至本地摘要)MCP 服务器:通过 stdio 提供
get_weather工具
天气数据使用 Open‑Meteo(免费,无需 API 密钥)。
运行 UI + API
npm install
npm run dev打开 http://localhost:5175。
可选:“Claude API”摘要
Claude 并非完全免费;你需要一个 API 密钥。本项目支持以下任一方式:
ANTHROPIC_API_KEY(直接使用 Anthropic API),或OPENROUTER_API_KEY(OpenRouter,通过OPENROUTER_MODEL使用 Anthropic Claude 模型)
如果未设置密钥,/api/summary 和 UI 中的“总结”按钮将回退至本地摘要。
运行 MCP 服务器 (stdio)
npm install
npm run mcp然后配置你的 MCP 客户端以启动:
命令:
npm参数:
["run","mcp"]工作目录:此文件夹
工具名称:
get_weather,输入参数为{ "city": "Pune" }
"# MCP_example"
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides current weather information for any city worldwide using the free Open-Meteo API, enabling users to query temperature, wind speed, humidity, and weather conditions through natural language.21MIT
- FlicenseNot gradedqualityDmaintenanceProvides weather information using Open-Meteo API without requiring an API key. Supports weather queries by city name or coordinates with customizable temperature units.
- AlicenseNot gradedqualityDmaintenanceFetches current weather information for any city using the Open-Meteo API through a simple MCP tool interface.2,013MIT
- AlicenseNot gradedqualityDmaintenanceProvides current weather information for any city using the Open-Meteo API. Returns temperature, humidity, wind speed, and other weather data in JSON format.22MIT
Related MCP Connectors
Real-time weather conditions and multi-day forecasts via Open-Meteo — free, no API key required
Global weather via Open-Meteo: forecast, ERA5 archive, marine, air quality, geocoding, elevation.
Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vijaypss/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server