Cover image
Try Now
2025-03-18

a mcp server for 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.

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

  • Lists Tailwind CSS classes in monospaced font

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • OffchainLabs
  • Go implementation of Ethereum proof of stake

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: 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!