weather-mcp
MCP server for weather with reasoning — umbrella advice, outdoor checks, city comparisons.
我该使用它吗
质量与安全性
B
发现(1)
- LOW在 compare_weather 中
基于对工具定义和协议合规性的自动分析。
上下文开销
~453token 数(工具定义)
~770 B典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.35%)
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"weather-mcp": {
"url": "https://weather-mcp-2yhb.onrender.com/mcp"
}
}
}远程端点
https://weather-mcp-2yhb.onrender.com/mcpstreamable-http它能做什么
工具清单
工具(5)
🟢 只读🟡 写入🔴 删除⚪ 未知
🟢get_weather(city)
Get the current weather and today's forecast for a city.
输入模式
{
"type": "object",
"properties": {
"city": {
"title": "City",
"type": "string"
}
},
"required": [
"city"
],
"title": "get_weatherArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "get_weatherOutput"
}🟢should_i_carry_umbrella(city)
Get a yes/no recommendation on carrying an umbrella today, with reasoning.
输入模式
{
"type": "object",
"properties": {
"city": {
"title": "City",
"type": "string"
}
},
"required": [
"city"
],
"title": "should_i_carry_umbrellaArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "should_i_carry_umbrellaOutput"
}🟢is_good_for_outdoors(city)
Check if today's weather is good for outdoor activities like a walk or run.
输入模式
{
"type": "object",
"properties": {
"city": {
"title": "City",
"type": "string"
}
},
"required": [
"city"
],
"title": "is_good_for_outdoorsArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "is_good_for_outdoorsOutput"
}⚪compare_weather(city_a, city_b)
Compare current weather between two cities.
输入模式
{
"type": "object",
"properties": {
"city_a": {
"title": "City A",
"type": "string"
},
"city_b": {
"title": "City B",
"type": "string"
}
},
"required": [
"city_a",
"city_b"
],
"title": "compare_weatherArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "compare_weatherOutput"
}🟢about
Get information about who built this MCP server and why.
输入模式
{
"type": "object",
"properties": {},
"title": "aboutArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "aboutOutput"
}社区
证据
最近观测
已验证未记录版本5 个工具
观测失败未记录版本—