双源天气 MCP 服务器
@qiangge2008
Basic information
About 双源天气 MCP 服务器
No overview available yet
双源天气 MCP 服务器 config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"weather-mcp-server-qiangge2008": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"node",
"你的完整路径/weather-mcp-server/build/index.js"
]
}
}
}双源天气 MCP 服务器 tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
什么是双源天气 MCP 服务器?
双源天气 MCP 服务器是一个基于 Model Context Protocol (MCP) 的天气服务器,使用和风天气和心知天气 API 提供天气数据,支持故障转移和优先获取最快响应。
如何双源天气 MCP 服务器?
安装依赖后配置环境变量(QWEATHER_API_KEY 和 SENIVERSE_API_KEY),然后在 Claude Desktop 等客户端中通过 stdio 方式启动。可使用资源 weather://{city} 获取当前天气,或调用工具 getCurrentWeather 和 getForecast。
双源天气 MCP 服务器的关键特性
- 同时使用和风天气和心知天气双 API 源
- 自动选择最快响应的结果作为最终数据
- 支持故障转移,单个 API 失败时自动切换
- 提供当前天气和天气预报(1-7天)
- 仅通过 MCP 协议运行,不提供 HTTP 服务
双源天气 MCP 服务器的使用案例
- 在大型语言模型中查询指定城市的当前天气
- 获取指定城市的未来多天天气预报
- 在高可用性要求下确保天气 API 调用不中断
双源天气 MCP 服务器的常见问题
双源天气 MCP 服务器需要哪些依赖?
需要 Node.js 环境,安装 npm 依赖,并准备和风天气和心知天气的 API 密钥。
数据存储在哪里?
数据实时从和风天气和心知天气 API 获取,服务器不持久化存储天气数据。
双源天气 MCP 服务器支持 HTTP 访问吗?
不支持。本服务器仅支持 MCP 模式,通过标准输入/输出 (stdio) 与客户端通信。
如何同时配置两个 API 密钥?
在环境变量中设置 QWEATHER_API_KEY 和 SENIVERSE_API_KEY,服务器会并行请求两个源并选用最快的响应。
故障转移机制如何工作?
服务器并行向和风天气和心知天气发送请求,采用最先返回的结果。如果某个 API 失败,自动使用另一个 API 的结果;所有 API 都失败时返回错误。
More Media & Design MCP servers
QR Planet QR Code MCP Server
qrplanetQR Planet QR Code MCP Server - Hosted MCP server for QR Planet. Connect AI agents and MCP-compatible clients to create, update, design, route, and analyze dynamic QR Codes using your QR Planet API key.

PhotoFresco
PhotoFrescoLet AI agents edit images in a PhotoFresco window you approve: layers, masks, previews and export.
CoDesign
IMG.LYGive your AI agent a real design engine. Create, edit and export real, editable designs from Claude Code, Codex, Cursor and more.

Organize with AI (OwAI)
Alexander VisheratinSearch and manage photo and video libraries through AI assistants. Find images and video moments, review duplicates, and organize collections, groups, favorites and people across local folders, Apple Photos and OneDrive.
PostNitro
PostNitro Inc.The PostNitro MCP server lets AI assistants and agents — Claude (Desktop, Code, and Cowork), Cursor, ChatGPT, and any other Model Context Protocol client — create carousels, image posts, and videos, manage brand kits, a
Comments