Cover image
Try Now
2025-04-14

Un simple MCP pour voir la météo actuelle dans n'importe quelle ville en utilisant l'API à la météo ouverte

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

Weather MCP Project

This project is a Model Context Protocol (MCP) server that fetches weather information using the OpenWeatherMap API.

Prerequisites

  1. API Key: You need an API key from OpenWeatherMap. Ensure you have access to the following APIs:
    • Geocoding API
    • Current Weather Data API

Installation

  1. Clone the repository.
  2. Install dependencies:
    npm install
    

Usage

Run the MCP server with the following command:

node main.ts --api-key <YOUR_API_KEY>

Replace <YOUR_API_KEY> with your OpenWeatherMap API key.

Features

  • Fetches weather information for a given city.
  • Provides concise weather summaries.

Notes

  • Ensure your API key has access to both the Geocoding API and the Current Weather Data API from OpenWeatherMap.
  • The server uses yargs for command-line argument parsing.

License

This project is licensed under the MIT License.

相关推荐

  • av
  • Exécutez sans effort LLM Backends, API, Frontends et Services avec une seule commande.

  • 1Panel-dev
  • 🔥 1Panel fournit une interface Web intuitive et un serveur MCP pour gérer des sites Web, des fichiers, des conteneurs, des bases de données et des LLM sur un serveur Linux.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.

  • rulego
  • ⛓️RULEGO est un cadre de moteur de règle d'orchestration des composants de nouvelle génération légère, intégrée, intégrée et de nouvelle génération pour GO.

  • sigoden
  • Créez facilement des outils et des agents LLM à l'aide de fonctions Plain Bash / JavaScript / Python.

  • hkr04
  • SDK C ++ MCP (Protocole de contexte modèle léger)

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 QQ / 微信 (企业微信、个人微信) / 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 Chatgpt 、 Deepseek 、 Dify 、 Claude 、 GEMINI 、 XAI 、 PPIO 、 OLLAMA 、 LM Studio 、阿里云百炼、火山方舟、 Siliconflow 、 Qwen 、 Moonshot 、 ChatGlm 、 Sillytraven 、 MCP 等 LLM 的机器人 / Agent | Plateforme de bots de messagerie instantanée basés sur LLM, prend en charge Discord, Telegram, WeChat, Lark, Dingtalk, QQ, Slack

  • dmayboroda
  • Rag de conversation sur site avec des conteneurs configurables

  • modelscope
  • Commencez à construire des applications multi-agents LLM, plus facilement.

  • paulwing
  • Un référentiel de test créé à l'aide du service MCP

    Reviews

    3.3 (4)
    Avatar
    user_gqR3RDBL
    2025-04-24

    As an avid user of the OpenWeather-MCP, I can confidently say that this application is a game-changer for weather updates. Developed by Zerofelx, it offers a seamless experience with accurate and timely weather information. The integration and user-friendly interface make it a must-have for anyone needing reliable weather data. Whether you're planning your day or preparing for a trip, OpenWeather-MCP has got you covered! Highly recommended!

    Avatar
    user_yKKnPbhP
    2025-04-24

    I've been using the openweather-mcp app by zerofelx and I'm genuinely impressed! The interface is user-friendly, providing accurate and up-to-date weather information effortlessly. It's become my go-to app for planning my day. The seamless experience and reliable data make it a must-have. Highly recommend to anyone needing reliable weather updates!

    Avatar
    user_J0luI1pF
    2025-04-24

    As a devoted user of openweather-mcp, I can confidently say that this application by zerofelx has significantly improved the accuracy and accessibility of weather forecasts for me. The user-friendly interface and reliable updates make it an indispensable tool for daily weather planning. Highly recommended for anyone needing precise weather information!

    Avatar
    user_XzRLIoYf
    2025-04-24

    openweather-mcp is an indispensable tool for weather enthusiasts and developers alike. Developed by zerofelx, this application provides seamless integration with weather data, making it easy to stay updated with current conditions and forecasts. The user-friendly interface and comprehensive data make it a must-have for anyone needing reliable weather information. Highly recommended!