Caiyun Weather MCP Server logo

Caiyun Weather MCP Server

by caiyunapp

The Caiyun Weather MCP Server provides real-time and forecast weather data. It allows querying weather information using the Caiyun Weather API.

View on GitHub

Last updated: N/A

What is Caiyun Weather MCP Server?

The Caiyun Weather MCP Server is a tool that integrates with Claude to provide weather information. It uses the Caiyun Weather API to fetch real-time weather, hourly forecasts, weekly forecasts, historical weather data, and weather alerts for a given location.

How to use Caiyun Weather MCP Server?

To use this server, you need to configure it within the Claude Desktop application by adding it to the mcpServers configuration. You'll need a valid Caiyun Weather API token, which you can obtain from the Caiyunapp website. Once configured, you can ask Claude questions requiring weather information, such as "What's the weather in Beijing Now?".

Key features of Caiyun Weather MCP Server

  • Real-time weather data

  • Hourly weather forecast (72 hours)

  • Weekly weather forecast (7 days)

  • Historical weather data (24 hours)

  • Weather alerts

Use cases of Caiyun Weather MCP Server

  • Answering weather-related questions

  • Providing weather forecasts for travel planning

  • Displaying current weather conditions in a specific location

  • Alerting users to severe weather conditions

FAQ from Caiyun Weather MCP Server

Where do I get a Caiyun Weather API token?

You can apply for an API token at https://docs.caiyunapp.com/weather-api/.

How do I configure the server in Claude Desktop?

You need to edit the claude_desktop_config.json file and add the server configuration under the mcpServers section. The README provides example configurations for both local/dev and production setups.

What parameters are required for the weather tools?

All tools require the longitude (lng) and latitude (lat) of the location you want weather information for.

What environment variable needs to be set?

The CAIYUN_WEATHER_API_TOKEN environment variable needs to be set with your valid Caiyun Weather API token.

How do I debug the server?

The README provides a debugging command using npx @modelcontextprotocol/inspector.