Weatherbit MCP by usefulapi
Read Weatherbit forecasts, weather history, air quality, agriculture, energy, and API usage.
我该使用它吗
质量与安全性
发现(2)
- LOW在 weatherbit_air_quality_forecast 中
- LOW在 weatherbit_agriculture_forecast 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"weatherbit": {
"url": "https://weatherbit.usefulapi.io/mcp"
}
}
}远程端点
https://weatherbit.usefulapi.io/mcpstreamable-http它能做什么
工具清单
工具(12)
🟢weatherbit_subscription_usage
Read quota counters and reset times. Uses one standard Weatherbit request. No weather lookup is made.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢weatherbit_current_weather(lat, lon, units)
Get the latest weather conditions for a coordinate. Consumes Weatherbit quota; requires a commercial-use subscription for this integration.
输入模式
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees."
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees."
},
"units": {
"description": "M: metric (default), I: imperial, S: scientific. Applies to supported weather fields.",
"type": "string",
"enum": [
"M",
"I",
"S"
]
}
},
"required": [
"lat",
"lon"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢weatherbit_daily_forecast(lat, lon, units, days)
Get up to 16 daily forecasts (temperature, precipitation, wind and conditions). Consumes Weatherbit quota; available horizon depends on your plan.
输入模式
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees."
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees."
},
"units": {
"description": "M: metric (default), I: imperial, S: scientific. Applies to supported weather fields.",
"type": "string",
"enum": [
"M",
"I",
"S"
]
},
"days": {
"type": "integer",
"minimum": 1,
"maximum": 16
}
},
"required": [
"lat",
"lon"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢weatherbit_hourly_forecast(lat, lon, units, hours)
Get up to 240 hourly forecasts. Consumes Weatherbit quota; requires the corresponding commercial plan.
输入模式
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees."
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees."
},
"units": {
"description": "M: metric (default), I: imperial, S: scientific. Applies to supported weather fields.",
"type": "string",
"enum": [
"M",
"I",
"S"
]
},
"hours": {
"type": "integer",
"minimum": 1,
"maximum": 240
}
},
"required": [
"lat",
"lon"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢weatherbit_minutely_forecast(lat, lon, units)
Get the 60-minute precipitation forecast for a coordinate. Consumes Weatherbit quota; requires the corresponding commercial plan.
输入模式
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees."
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees."
},
"units": {
"description": "M: metric (default), I: imperial, S: scientific. Applies to supported weather fields.",
"type": "string",
"enum": [
"M",
"I",
"S"
]
}
},
"required": [
"lat",
"lon"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢weatherbit_daily_history(lat, lon, units, start_date, end_date)
Read daily historical weather over at most 31 days, end date exclusive. Historical API quota can count multiple requests for the date range. Requires a historical-data subscription.
输入模式
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees."
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees."
},
"units": {
"description": "M: metric (default), I: imperial, S: scientific. Applies to supported weather fields.",
"type": "string",
"enum": [
"M",
"I",
"S"
]
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First date, YYYY-MM-DD (inclusive)."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last boundary, YYYY-MM-DD (exclusive). Use at most 31 days per call."
}
},
"required": [
"lat",
"lon",
"start_date",
"end_date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢weatherbit_current_air_quality(lat, lon)
Read current AQI and pollutant concentrations. Consumes Weatherbit quota; requires air-quality API access (Business/Enterprise).
输入模式
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees."
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees."
}
},
"required": [
"lat",
"lon"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢weatherbit_air_quality_forecast(lat, lon, hours)
Read up to 72 hourly AQI and pollutant forecasts. Consumes Weatherbit quota; requires air-quality API access (Business/Enterprise).
输入模式
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees."
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees."
},
"hours": {
"type": "integer",
"minimum": 1,
"maximum": 72
}
},
"required": [
"lat",
"lon"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢weatherbit_agriculture_forecast(lat, lon, units)
Read the 8-day agriculture forecast including soil and evapotranspiration fields. Consumes Weatherbit quota; requires agriculture API access (Business/Enterprise).
输入模式
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees."
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees."
},
"units": {
"description": "M: metric (default), I: imperial, S: scientific. Applies to supported weather fields.",
"type": "string",
"enum": [
"M",
"I",
"S"
]
}
},
"required": [
"lat",
"lon"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢weatherbit_agriculture_history(lat, lon, units, start_date, end_date, ...)
Read daily or hourly agriculture history over at most 31 days (7 for hourly), end date exclusive. Consumes historical API quota; requires agriculture API access.
输入模式
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees."
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees."
},
"units": {
"description": "M: metric (default), I: imperial, S: scientific. Applies to supported weather fields.",
"type": "string",
"enum": [
"M",
"I",
"S"
]
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First date, YYYY-MM-DD (inclusive)."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last boundary, YYYY-MM-DD (exclusive). Use at most 31 days per call."
},
"tp": {
"type": "string",
"enum": [
"daily",
"hourly"
]
}
},
"required": [
"lat",
"lon",
"start_date",
"end_date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢weatherbit_energy_forecast(lat, lon, units, tp, threshold)
Read degree-day and irradiance forecasts. Consumes Weatherbit quota; requires energy API access (Business/Enterprise). Optional temperature threshold; the vendor default is 18 C.
输入模式
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees."
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees."
},
"units": {
"description": "M: metric (default), I: imperial, S: scientific. Applies to supported weather fields.",
"type": "string",
"enum": [
"M",
"I",
"S"
]
},
"tp": {
"type": "string",
"enum": [
"daily",
"hourly"
]
},
"threshold": {
"type": "number",
"minimum": -100,
"maximum": 200
}
},
"required": [
"lat",
"lon"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢weatherbit_energy_history(lat, lon, units, start_date, end_date, ...)
Read historical degree-day and irradiance data, end date exclusive, at most 31 days (7 for hourly). Consumes historical API quota; requires energy API access.
输入模式
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees."
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees."
},
"units": {
"description": "M: metric (default), I: imperial, S: scientific. Applies to supported weather fields.",
"type": "string",
"enum": [
"M",
"I",
"S"
]
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First date, YYYY-MM-DD (inclusive)."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last boundary, YYYY-MM-DD (exclusive). Use at most 31 days per call."
},
"tp": {
"type": "string",
"enum": [
"daily",
"hourly",
"monthly"
]
},
"threshold": {
"type": "number",
"minimum": -100,
"maximum": 200
}
},
"required": [
"lat",
"lon",
"start_date",
"end_date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社区
证据