Token导航 LogoToken导航

MCP Server · 地图位置

Weather API167 MCP Server

一个MCP服务器,用于访问Weather Api167 API,提供天气预报、国家信息、地震数据等多种天气相关服务。

stdio官方级别未说明来源级核验工具 7
位置天气PythonClaude气象数据Claude Desktop

快速开始

作者 / 组织
BACH-AI-Tools
提供方
BACH-AI-Tools

工具数量

7

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

0

仓库热度

收录来源

2 个

MCP World

选型结论

Weather API167 MCP Server 属于地图位置类 MCP Server,公开资料标注 7 个工具,通过stdio 本地进程接入,适配 Claude Desktop、Claude,有可以直接复制的安装命令;接入前先确认权限范围。

分类

地图位置

传输方式

stdio

认证方式

无需认证

部署方式

支持远程部署

安装与配置

安装命令

pip install bach-weather_api167

公开命令不是通用的启动方式,拼不出可靠配置示例;请在客户端 MCP 配置里按官方文档填写 command 和 args。

上手步骤

  1. 1

    准备运行环境

    stdio 服务在本地起进程,需要先装好 对应的运行时,再按安装命令拉取依赖。

  2. 2

    安装服务

    复制下面的安装命令执行;命令里带占位符的位置换成自己的密钥或路径。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 7 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

详细介绍

Weather Api167 MCP Server

English | 简体中文 | 繁體中文

🚀 使用 EMCP 平台快速体验

EMCP 是一个强大的 MCP 服务器管理平台,让您无需手动配置即可快速使用各种 MCP 服务器!

快速开始:

  1. 🌐 访问 EMCP 平台
  2. 📝 注册并登录账号
  3. 🎯 进入 MCP 广场,浏览所有可用的 MCP 服务器
  4. 🔍 搜索或找到本服务器(bach-weather_api167)
  5. 🎉 点击 "安装 MCP" 按钮
  6. ✅ 完成!即可在您的应用中使用

EMCP 平台优势:

  • ✨ 零配置:无需手动编辑配置文件
  • 🎨 可视化管理:图形界面轻松管理所有 MCP 服务器
  • 🔐 安全可靠:统一管理 API 密钥和认证信息
  • 🚀 一键安装:MCP 广场提供丰富的服务器选择
  • 📊 使用统计:实时查看服务调用情况

立即访问 EMCP 平台 开始您的 MCP 之旅!


简介

这是一个 MCP 服务器,用于访问 Weather Api167 API。

  • PyPI 包名: bach-weather_api167
  • 版本: 2.0.0
  • 传输协议: stdio

安装

从 PyPI 安装:

pip install bach-weather_api167

从源码安装:

pip install -e .

运行

方式 1: 使用 uvx(推荐,无需安装)

# 运行(uvx 会自动安装并运行)
uvx --from bach-weather_api167 bach_weather_api167

# 或指定版本
uvx --from bach-weather_api167@latest bach_weather_api167

方式 2: 直接运行(开发模式)

python server.py

方式 3: 安装后作为命令运行

# 安装
pip install bach-weather_api167

# 运行(命令名使用下划线)
bach_weather_api167

配置

API 认证

此 API 需要认证。请设置环境变量:

export API_KEY="your_api_key_here"

环境变量

变量名说明必需
API_KEYAPI 密钥是
PORT不适用否
HOST不适用否

在 Claude Desktop 中使用

编辑 Claude Desktop 配置文件 claude_desktop_config.json:

{
  "mcpServers": {
    "weather_api167": {
      "command": "uvx",
      "args": ["--from", "bach-weather_api167", "bach_weather_api167"],
      "env": {
        "API_KEY": "your_api_key_here"
      }
    }
  }
}

注意: 请将 E:\path\to\weather_api167\server.py 替换为实际的服务器文件路径。

可用工具

此服务器提供以下工具:

forecast_weather

Fetch forecast weather data using coordinate value, place name or zip code

端点: GET /api/weather/forecast

参数:

  • lon (string): Longitude coordinate(Note. lat and lon value has priority over both place and zip value). use the lat and lon for more accurate and reliable weather data
  • lat (string): Latitude coordinate(Note. lat and lon value has priority over both place and zip value). use the lat and lon for more accurate and reliable weather data
  • place (string): City name, state code (only for the US) and country code divided by comma like Zion,VA,US . Please use ISO 3166 country codes. Note. place value has priority over zip value
  • zip (string): Zip code with optional country code(Note. Zip value will only be used if both lat,lon and place name not provided)
  • cnt (string): Number of timestamps to retrieve (up to a maximum allowed by the API)
  • units (string): Unit type (standard, metric, and imperial)
  • type (string): Forcast Type
  • mode (string): Mode type
  • lang (string): Language type

country_info

Return detail for given country

端点: GET /api/weather/country/detail

参数:

  • country (string): Example value: United Kingdom

us_weather_alert_data

US weather alert daily information for given region or area and other filtering parameter

端点: GET /api/weather/us/alert

参数:

  • status (string): use comm(,) to separate multiple value
  • message_type (string): Example value: alert,update,cancel
  • area (string): example AM,AN
  • region (string): Example value: AL,AT
  • zone (string): Example>> OKZ929
  • region_type (string): Example>> marine,land This value can't be used in combination with area or region
  • urgency (string): Example value: Immediate,Expected
  • severity (string): Example value: Extreme,Severe,Moderate
  • certainty (string): Example value: Observed,Likely,Possible,Unlikely,Unknown
  • limit (string): Example value: 500

us_zone_list

Zone list for US given state or All Zone list if state not given

端点: GET /api/weather/us/zone

参数:

  • state (string): Example value: WY

earthquake_data

Near real time earthquake for given country

端点: GET /api/weather/earthquake

参数:

  • country (string): Example value: US
  • startDate (string): Example value:
  • endDate (string): Example value:

current_weather

Fetch current weather data using coordinate value, place name or zip code

端点: GET /api/weather/current

参数:

  • lon (string): Longitude coordinate(Note. lat and lon value has priority over both place and zip value). use the lat and lon for more accurate and reliable weather data
  • lat (string): Latitude coordinate(Note. lat and lon value has priority over both place and zip value). use the lat and lon for more accurate and reliable weather data
  • place (string): City name, state code (only for the US) and country code divided by comma use like Zion,VA,US . Please use ISO 3166 country codes. Note. place value has priority over zip value
  • zip (string): Zip code with optional country code(Note. Zip value will only be used if both lat,lon and place name not provided)
  • units (string): Unit type (standard, metric, and imperial)
  • lang (string): Language type
  • mode (string): Mode type

air_pollution_data

Fetch air pollution data using coordinate value, place name or zip code

端点: GET /api/weather/air_pollution

参数:

  • lat (string): Latitude coordinate(Note. lat and lon value has priority over both place and zip value). use the lat and lon for more accurate and reliable weather data
  • lon (string): Longitude coordinate(Note. lat and lon value has priority over both place and zip value). use the lat and lon for more accurate and reliable weather data
  • place (string): City name, state code (only for the US) and country code divided by comma like Zion,VA,US . Please use ISO 3166 country codes Note. place value has priority over zip value
  • zip (string): Zip code with optional country code(Note. Zip value will only be used if both lat,lon and place name not provided)
  • type (string): Data for air pulltion type

技术栈

  • 传输协议: stdio
  • HTTP 客户端: httpx

开发

此服务器由 API-to-MCP 工具自动生成。

版本: 2.0.0

工具与能力

工具数量

7

资源数量

0

提示词数量

0

能力标签

天气服务Python本地部署API服务器气象数据地理信息服务

支持客户端

Claude DesktopClaude

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

地址与坐标转换

把地址转成经纬度,或按坐标反查位置。

路线与距离

算行程时间、规划多点路线。

天气与出行

查天气和预警,按条件安排行程。

选择建议

值得选的地方

  • 只提供 7 个工具,职责集中,接入后不容易误操作。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 已经适配 Claude Desktop、Claude,换客户端不用重新研究配置。

先想清楚的地方

  • stdio 方式要求本地装好 运行环境,换机器要重新装一遍。
  • 公开摘要偏短,具体能力和限制要回到仓库确认。
  • 第三方目录整理,版本更新和行为细节以官方仓库为准。

更适合

  • 需要在地图位置场景里让模型直接调用外部能力的人。
  • 已经在用 Claude Desktop 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
Weather API167 MCP Server

MCP World · 本页

7stdio有2 个2026-05-17
Baidu Maps

MCP World

10stdio有1 个2026-05-17
MCP Server C2f246e3

MCP World

20stdio有1 个2026-05-17
OpenStreetMap MCP Server

MCP.so

12stdio有3 个2026-05-17
Google Maps (google-maps-aa2563d3)

MCP World

7未说明未标注1 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

Weather API167 MCP Server 怎么安装?

公开资料给出的安装命令是 pip install bach-weather_api167,运行环境为 未标注。装完后按客户端要求写进 MCP 配置,重启客户端生效。

Weather API167 MCP Server 怎么在 Claude Desktop、Cursor 里配置?

它是stdio 本地进程,客户端配置里要写启动命令和参数,运行环境是 未标注;保存后完全退出客户端再打开,配置才会生效。

Weather API167 MCP Server 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Weather API167 MCP Server 需要 API Key 吗?

公开资料标注为无需认证,装好就能连;如果实际调用时报鉴权错误,按官方文档补上凭据。

Weather API167 MCP Server 支持哪些客户端?

公开资料标注支持 Claude Desktop、Claude;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

来源信息

继续浏览同类 MCP