Skip to main content
Glama
Weather MCP Server

Weather MCP Server

by mebre7

My Custom MCP Servers

自定义 Model Context Protocol (MCP) 服务器的集合。

目前部署在 Render 上。未来会陆续添加更多服务器。

服务器

服务器

描述

端点

Weather

通过 OpenWeatherMap 获取当前天气和预报

https://my-custom-mcp-servers.onrender.com/weather/mcp/


Related MCP server: OpenWeatherMap MCP Server

Weather MCP 服务器

提供由 OpenWeatherMap API 驱动的天气工具。

工具

  • get_current_weather(city) — 返回当前温度、天气描述、湿度和风速。

  • get_weather_forecast(city) — 返回多步预报(每 3 小时一次)。


测试

MCP Inspector

  1. 运行 npx @modelcontextprotocol/inspector

  2. 将传输方式设置为 Streamable HTTP。

  3. 输入服务器 URL:https://my-custom-mcp-servers.onrender.com/weather/mcp/

  4. 点击 Connect 并从界面调用工具。

Claude Desktop

  1. 打开 Claude Desktop → Settings → Connector → Add → Add custom connector。

  2. 填写上述 URL:https://my-custom-mcp-servers.onrender.com/weather/mcp/

  3. 重启 Claude Desktop。天气工具将出现在工具面板中。


演示

演示

Related MCP Connectors

Related MCP Servers