Cover image
Try Now
2025-03-18

MCP服务器用于Get Weather.use python

3 years

Works with Finder

1

Github Watches

1

Github Forks

1

Github Stars

🌦️ Weather MCP Server

📖 项目简介

这是一个基于 MCP 协议开发的天气信息服务端,通过和风天气 API 实时获取气象数据。

🚀 主要功能

  • 🌍 获取指定城市的实时天气信息。
  • ☁️ 支持通过和风天气API获取天气数据。
  • 📊 提供详细的天气信息,包括温度、湿度、风速、降水量等。

📋 环境要求

  • Python 3.13.2
  • Docker (可选,如果使用Docker部署)
  • 和风天气API密钥

🔧 安装步骤

🐳 通过Docker运行

  1. 构建Docker镜像
docker pull bellababy/mcp-server-weather-python:1.0.0
  1. 运行Docker容器
docker run -d -p 8000:8000 -e WEATHER_API_KEY=你的API密钥 bellababy/mcp-server-weather-python:1.0.0

环境变量

变量名 说明 必填
WEATHER_API_KEY 和风天气API密钥

🍒 在CherryStudio中使用

  1. 配置MCP服务器

在CherryStudio中,打开设置页面,找到"MCP服务器"选项卡。

MCP服务器设置

填写以下信息:

  • 服务器地址: http://你的服务器IP:8000
  • 选择SSE模式

点击"确定"完成配置。

  1. 在对话中询问天气 MCP服务器设置

📄 许可证

本项目采用 MIT 许可证。详情请见 LICENSE 文件。

🙏 致谢

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    5 (1)
    Avatar
    user_EQZMFnBu
    2025-04-15

    COZE MCP Server is an outstanding tool that has significantly boosted my efficiency and productivity in managing server applications. The seamless user interface and comprehensive features make it a must-have for any IT professional. Simply put, it's reliable, robust, and incredibly user-friendly. Highly recommended!