Cover image
Try Now
2025-03-18

un serveur MCP pour obtenir une météo. Utilisez 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.

  • 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.

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

  • Khalid kalib
  • Write professional emails

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

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

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • OffchainLabs
  • Aller la mise en œuvre de la preuve de la participation Ethereum

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

  • deemkeen
  • Contrôlez votre MBOT2 avec un combo d'alimentation: 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!