mcp-weather
mcp-weather
全球天气 MCP 服务器。它将地名转换为坐标,然后通过 stdio 为 Cursor 等 MCP 客户端返回当前天气状况。
仓库:github.com/deep3036/mcp-weather
功能
该服务器注册了一个工具:
工具 | 输入 | 输出 |
|
| 当前温度、体感温度、湿度、降水量、风速、天气状况、昼夜、时区和坐标 |
location 示例:Delhi、Greater Noida、Mumbai、London。
地理编码使用 Open-Meteo Geocoding。预报数据使用 Open-Meteo Forecast。这两种 API 在此用途下均无需密钥。
如果多个地点与名称匹配,则使用第一个地理编码结果。
Related MCP server: Weather MCP
环境要求
Node.js 20 或更高版本
npm
安装
npm install运行
开发模式(通过 tsx 运行 TypeScript):
npm run dev生产模式:
npm run build
npm start该进程通过 stdin/stdout 进行 MCP 通信。日志输出到 stderr。请勿将其作为普通 Web 应用运行。
Cursor MCP 配置
将客户端指向此项目目录:
{
"mcpServers": {
"weather": {
"command": "npx",
"args": ["tsx", "src/index.ts"],
"cwd": "D:\\mcp\\weather-mcp"
}
}
}构建后,可以使用 node 和 dist/index.js 代替 tsx。
项目结构
路径 | 作用 |
| MCP 服务器、工具及 Open-Meteo 调用 |
| TypeScript( |
| 脚本: |
许可证
ISC
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 Connectors
Free, keyless real-time weather and 7-day forecasts for any city worldwide.
Provide real-time and forecast weather information for locations in the United States using natura…
Current weather and forecasts for any coordinates, backed b… — paid per call (x402/credits), 1 tools
Get current weather for any city and create images from your prompts. Streamline planning, reports…
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables users to get current weather information for any city using the Open-Meteo API. Provides detailed meteorological data including temperature, precipitation, day/night status, and hourly forecasts through natural language queries.
- AlicenseNot gradedqualityDmaintenanceEnables users to get real-time weather information for any city in the world. Provides current temperature and weather conditions through a simple city name query.MIT
- AlicenseNot gradedqualityDmaintenanceEnables users to get current weather information for any city using the OpenWeatherMap API. Returns formatted weather data including temperature, humidity, and weather description through natural language queries.MIT
- FlicenseBqualityDmaintenanceEnables users to retrieve current weather information for any city location. Provides a simple interface to fetch weather data through natural language queries.1
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/deep3036/mcp-weather'
If you have feedback or need assistance with the MCP directory API, please join our Discord server