météo-my-mcp
Serveur de protocole de contexte modèle (MCP) qui fournit des informations météorologiques de l'API ouverte du gouvernement malaisien
1
Github Watches
1
Github Forks
0
Github Stars
Weather MCP Server
A basic Model Context Protocol (MCP) server that provides weather information retrieved from Open API of Malaysia's official open data portal. This server enables LLMs to get weather forecast, warnings, water level associated with flood, and earthquake reports.
API Documentation: data.gov.my
Components
Tools
-
get_water_level_condition
-
Retrieve the water level conditions associated with flood warnings for a specified district or state. If both district and state are provided, the district takes precedence. If district or state is not specified, use an empty string for that field.
-
Args:
- district: The name of the district within the specified state for which to retrieve flood warning conditions.
- state: The name of the state in Malaysia for which to retrieve flood warning conditions.
-
-
get_warning
-
Retrieve general weather warnings issued within a specified date range.
-
Args:
- datetime_start: The earliest timestamp in the form of
YYYY-MM-DD HH:MM:SS(inclusive) from which to retrieve weather warnings. If omitted, defaults to the current date. - datetime_end: The latest timestamp in the form of
YYYY-MM-DD HH:MM:SS(inclusive) to stop retrieving the weather warnings. If omitted, defaults to the current date.
- datetime_start: The earliest timestamp in the form of
-
-
get_weather_forecast
-
Retrieve a weather forecast for a specific location within a given date range.
-
Args:
- location_name: The name or identifier of the location for which the forecast is retrieved.
- date_start: The earliest date (inclusive) to begin retrieving the weather forecast. If omitted, defaults to the current date.
- date_end: The latest date (inclusive) to stop retrieving the weather forecast. If omitted, defaults to the current date.
-
-
get_earthquake_news
-
Fetch earthquake news for a given location within a specified date range.
-
Args:
- location: Name or identifier of the place where the earthquake(s) occurred.
- date_start: The earliest date (inclusive) to start searching for earthquake news. If omitted, defaults to the current date.
- date_end: The latest date (inclusive) to stop searching for earthquake news. If omitted, defaults to the current date.
-
Claude Desktop configuration
Add the following into claude_desktop_config.json file. For more information, refer to For Claude Desktop Users.
{
"mcpServers": {
"weather": {
"command": "uv",
"args": [
"--directory",
"weather-my-mcp",
"run",
"weather.py"
]
}
}
}
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
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.
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
🧑🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.
Une liste organisée des serveurs de protocole de contexte de modèle (MCP)
Reviews
user_G6S8hI06
I've been using the Model Context Protocol (MCP) Server by MCP-Mirror and it's incredible. The multi-service capability is seamless, and the performance is top-notch. It's become an essential tool in my workflow. Highly recommend checking it out! Amazing job by the developers.