Caiyun Weather MCP Server
Model Context Protocol (MCP) server for the Caiyun Weather API
PsychArch
README
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
- Node.js (v16 or above)
- A Caiyun Weather API token (obtain one from Caiyun Weather API docs)
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:
-
realtime-weather - Get current weather conditions
- Parameters:
longitude(number): Longitude coordinatelatitude(number): Latitude coordinatelang(optional string): Language for response ("zh_CN", "en_US", or "ja"), defaults to "zh_CN"
- Parameters:
-
hourly-forecast - Get hourly weather forecast
- Parameters:
longitude(number): Longitude coordinatelatitude(number): Latitude coordinatehourlysteps(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"
- Parameters:
-
daily-forecast - Get daily weather forecast
- Parameters:
longitude(number): Longitude coordinatelatitude(number): Latitude coordinatedailysteps(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"
- Parameters:
-
weather-alerts - Get active weather alerts
- Parameters:
longitude(number): Longitude coordinatelatitude(number): Latitude coordinatelang(optional string): Language for response ("zh_CN", "en_US", or "ja"), defaults to "zh_CN"
- Parameters:
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
Recommended Servers
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.
Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
Nefino MCP Server
Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
Vectorize
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
MCP-Logic
MCP-Logic is a server that provides AI systems with automated reasoning capabilities, enabling logical theorem proving and model verification using Prover9/Mace4 through a clean MCP interface.
Mentor MCP Server
Provides LLM Agents with AI-powered mentorship for code review, design critique, writing feedback, and brainstorming using the Deepseek API, enabling enhanced output in various development and strategic planning tasks.
Substack Reader
Enables fetching and reading subscriber-only content from Trade Companion by Adam Mancini on Substack, allowing Claude to access and discuss the latest financial trading articles.