typecoh-mcp-weather
获取指定位置的当前天气信息的MCP服务器。
作者
typecoh
功能
get_current_weather- 通过城市名称获取天气get_weather_by_coords- 通过经纬度获取天气
安装
pip install -r requirements.txt
使用
stdio模式 (默认)
python app.py
SSE模式
python app.py --sse --port 8000
示例
# 获取北京天气
get_current_weather(location="Beijing", unit="celsius")
# 获取纽约天气 (华氏度)
get_current_weather(location="New York", unit="fahrenheit")
# 通过经纬度获取
get_weather_by_coords(location="40.7128,-74.0060")
Metadata
Release files for typecoh-mcp-weather 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| typecoh_mcp_weather-0.1.1.tar.gz | 3.6 kB | Without provenance | Details for typecoh_mcp_weather-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| typecoh_mcp_weather-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for typecoh_mcp_weather-0.1.1-py3-none-any.whl |
Total release size: 7.5 kB
Release files / typecoh_mcp_weather-0.1.1.tar.gz
| Download URL | typecoh_mcp_weather-0.1.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0eb2ca6dfaf0ffd9007944be864dc6a764f5bcfe670c417e8ba1fdaeb09e5f6
|
|
BLAKE2b-256 checksum How to use checksums |
0d78bbbf311366f4fdb7e13f42b1885e64ff4b22dd09d091090630a8eda3bdb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / typecoh_mcp_weather-0.1.1-py3-none-any.whl
| Download URL | typecoh_mcp_weather-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33dc40e4f1ab9b51b40c17d30517d6e939f8d8f6688a0e03b905934f9c496d9c
|
|
BLAKE2b-256 checksum How to use checksums |
c0a08328cdd8c648c9af6ed74e04a6bd3a5fae87f04277bd103736af49dec9aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for typecoh-mcp-weather 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.