Cover image
Try Now
2025-04-02

Serveur de protocole de contexte de modèle (MCP) pour l'API météo Caiyun

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

Caiyun Weather MCP Server

This is a Model Context Protocol (MCP) server for the Caiyun Weather API. It provides tools to access weather data including real-time conditions, forecasts, and weather alerts.

Features

  • Real-time weather conditions
  • Hourly weather forecasts (up to 72 hours)
  • Daily weather forecasts (up to 7 days)
  • Weather alerts
  • Support for multiple languages (Chinese, English, Japanese)
  • Token-efficient compact response format

Prerequisites

Configuration

{
  "mcpServers": {
    "caiyun-mcp-tools": {
      "command": "npx",
      "args": [
        "caiyun-mcp-tools"
      ],
      "env": {
        "CAIYUN_API_KEY": "your-caiyun-api-key"
      }
    }
  }
}

Available Tools

The server provides the following tools which can be accessed through Cursor:

  1. realtime-weather - Get current weather conditions

    • Parameters:
      • longitude (number): Longitude coordinate
      • latitude (number): Latitude coordinate
      • lang (optional string): Language for response ("zh_CN", "en_US", or "ja"), defaults to "zh_CN"
  2. hourly-forecast - Get hourly weather forecast

    • Parameters:
      • longitude (number): Longitude coordinate
      • latitude (number): Latitude coordinate
      • hourlysteps (optional number): Number of hourly forecasts to return (max: 72)
      • lang (optional string): Language for response ("zh_CN", "en_US", or "ja"), defaults to "zh_CN"
  3. daily-forecast - Get daily weather forecast

    • Parameters:
      • longitude (number): Longitude coordinate
      • latitude (number): Latitude coordinate
      • dailysteps (optional number): Number of daily forecasts to return (max: 7)
      • lang (optional string): Language for response ("zh_CN", "en_US", or "ja"), defaults to "zh_CN"
  4. weather-alerts - Get active weather alerts

    • Parameters:
      • longitude (number): Longitude coordinate
      • latitude (number): Latitude coordinate
      • lang (optional string): Language for response ("zh_CN", "en_US", or "ja"), defaults to "zh_CN"

API Limitations

Per the official Caiyun Weather API documentation: "The API interface only supports returning historical data for the past day." Due to this limitation, the historical weather tool has been removed from this package.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT

相关推荐

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

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

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • 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

  • jae-jae
  • MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.

  • HiveNexus
  • Un bot de chat IA pour les petites et moyennes équipes, soutenant des modèles tels que Deepseek, Open AI, Claude et Gemini. 专为中小团队设计的 Ai 聊天应用 , 支持 Deepseek 、 Open Ai 、 Claude 、 Gemini 等模型。

  • ravitemer
  • Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)

  • patruff
  • Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle

  • Sysc4lls
  • Lecteur de documentation IDA (Sort-of) MCP Server

    Reviews

    3 (1)
    Avatar
    user_UxpVfkdu
    2025-04-16

    As a dedicated user of caiyun-mcp-tools, I highly recommend it for its exceptional functionality and user-friendliness. Created by PsychArch, this toolset has significantly streamlined my workflow with its robust features. Discover more at https://github.com/PsychArch/caiyun-mcp-tools. #HighlyRecommended