Skip to main content

输入 openweaher 的 api 获取天气数据

Project description

  1. pip install uv
  2. uv init mcp-weather-server && cd mcp-weather-server
  3. uv venv
  4. source .venv/bin/activate
  5. uv add mcp httpx
  6. deactivate
  7. source .venv/bin/activate
  8. npx -y @modelcontextprotocol/inspector uv run main.py --openweather_api_key 7e6cfc5dc71cee3af065bcc59997e445
  9. uv pip install build twine
  10. python -m build
  11. python -m twine upload dist/* //https://pypi.org

pypi-AgEIcHlwaS5vcmcCJGQ2MjRlNTJkLTNjZjMtNDVhNC1iYTA4LTAwMTBjOGZkNWI3NwACKlszLCJiOTY0ZmRiNC1kOWVmLTQ3MzEtYWFjOS1jMGM3NmI0YjQ2OTciXQAABiDTtxNdaQPLx1BLxn1btnSOf7LS79sxfc1FQmMLEeqrsQ

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zhangyuepeng_mcp_weather_server-0.1.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file zhangyuepeng_mcp_weather_server-0.1.1.tar.gz.

File metadata

File hashes

Hashes for zhangyuepeng_mcp_weather_server-0.1.1.tar.gz
Algorithm Hash digest
SHA256 43e23a95174480c6887dcc33bd943a356be71d64f93ca405e0d5e910f51b0eb2
MD5 99f8e2d10b0ab851637ccb7723224ad7
BLAKE2b-256 33dc2d2040d79ba53e27d20dc4eba1c1560679bdc90628adbf82d305e2690eea

See more details on using hashes here.

File details

Details for the file zhangyuepeng_mcp_weather_server-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for zhangyuepeng_mcp_weather_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e87d4ead9a5da7ee74c9045545d46b5296b4c0acfdb4c591fdf0e5b34b177702
MD5 64ea87082f1bccd1941e51c4a0d7a08e
BLAKE2b-256 8ca32936a34b057d3c2d2ddbe09ee0bf71707a7a4787f981ed7ffd1b76dc3396

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page