Weather
About
Provides weather data using the US National Weather Service (NWS) API. Built with pure JavaScript ES Modules.
Details
- Author
- 630156145
- Categories
- Search, Other
- Tags
- #weather
Jump to
Setup
Install Weather in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/630156145/weather-server-javascript
Follow the installation instructions in the repository README, then restart your MCP client.
A comprehensive Model Context Protocol (MCP) server that provides both weather data and Feishu document access to AI agents like Claude and cursor.
- get-alerts: Get weather alerts for a US state
- get-forecast: Get weather forecast for specific coordinates
- 访问飞书开放平台
- 创建自建应用并获取App ID和App Secret
- 详细文档
# 复制环境变量模板 cp .env.example .env # 编辑.env文件,填入你的飞书应用信息 FEISHU_APP_ID=your_feishu_app_id_here FEISHU_APP_SECRET=your_feishu_app_secret_here
node index.mjs sse [port] # 默认端口8080,或自定义端口 node index.mjs sse 3001
- get-alerts- 参数:state(两字母州代码,如 "CA", "NY")
- get-forecast- 参数:latitude,longitude(纬度经度)
- get-feishu-doc- 参数:docId(文档ID或完整URL)
- 支持多种文档类型:
- doc/docx: 文档 -https://feishu.cn/docx/xxxxx
- sheet/sheets: 表格 -https://feishu.cn/sheets/xxxxx
- slides: 演示文稿 -https://feishu.cn/slides/xxxxx
- bitable: 多维表格 -https://feishu.cn/bitable/xxxxx
- wiki: 知识库 -https://feishu.cn/wiki/xxxxx
- file: 云文档文件 -https://feishu.cn/file/xxxxx
- mindnote: 思维笔记 -https://feishu.cn/mindnote/xxxxx(基本信息)
请帮我查询加州的天气预警 请获取纬度37.7749,经度-122.4194的天气预报
请帮我读取这个飞书文档:https://feishu.cn/docx/doccnxxx... 请帮我读取这个飞书表格:https://feishu.cn/sheets/shtcnxxx... 请分析这个演示文稿:https://feishu.cn/slides/phtcnxxx... 请查看这个多维表格:https://feishu.cn/bitable/bblcnxxx...
weather-server-javascript/ ├── index.mjs # 主服务文件 ├── services/ │ └── feishu.mjs # 飞书服务模块 ├── config/ │ └── index.mjs # 配置管理 ├── .env.example # 环境变量模板 ├── package.json # 依赖管理 └── README.md # 说明文档
- 检查是否设置了FEISHU_APP_ID和FEISHU_APP_SECRET环境变量
- 确认飞书应用具有对应文档类型的读取权限:
- 文档权限:读取与编辑文档
- 表格权限:读取与编辑电子表格
- 演示文稿权限:读取与编辑演示文稿
- 多维表格权限:读取与编辑多维表格
- 云文档权限:读取与编辑云空间文件
- https://feishu.cn/{type}/{id}(type: doc, docx, sheet, sheets, slides, bitable, wiki, file, mindnote)
- 直接提供文档ID
- 双协议支持: Stdio和HTTP/SSE传输模式
- 错误处理: 完善的错误提示和降级处理
- 环境适配: 开发和生产环境配置分离
- 类型安全: 使用Zod进行参数验证
- v1.0.0: 集成飞书文档读取功能,保持原有天气功能
- 新增飞书文档内容获取
- 支持文档URL自动解析
- 优化配置管理系统
Search global news using natural language. Webz.io News Search API returns the most relevant articles and content, with filters for source, country, language, date, sentiment, and category.
Search and compare 184,900 beaches, lakes and swimming spots worldwide with current planning conditions and direct BeachFinder links.
A search engine for AI applications, providing world knowledge from web pages and various content sources like weather, news, and images.
Access earthquake data from the USGS Quakes API using natural language queries.
A weather server providing weather information for locations within the United States.
Query 24-hour weather forecasts and city information by city name or coordinates.
Provides real-time weather forecasts and alerts using the National Weather Service API.
Fetches weather data from the wttr.in service.
Get water temperature and swimming conditions for the Aare river in Switzerland.
Provides airfield aeronautical information for general aviation private pilots like runways, fuel prices, landing fees, weather, webcams and more
Integrates the Korea Meteorological Administration's public weather API to provide climate data.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



