Skip to main content
Glama

Weather & Stock MCP Server

by Jeetinida

Servidor MCP de clima y bolsa 🌦️📉

Este proyecto es un servidor MCP (Protocolo de contexto de modelo) que proporciona alertas meteorológicas, pronósticos, precios de acciones, datos históricos y noticias utilizando varias API.

Características 🚀

  • 🐼 Obtenga precios de acciones en tiempo real usando Yahoo Finance
  • 📊 Recuperar datos históricos de acciones (diarios, semanales, mensuales)
  • 📰 Obtenga noticias relacionadas con las acciones de NewsAPI
  • 🌦️ Obtenga alertas y pronósticos meteorológicos mediante la API del Servicio Meteorológico Nacional

Instalación y configuración ⚙️

Prerrequisitos

  • Node.js (v18 o superior)
  • Git
  • Una clave API para NewsAPI

Pasos

  1. Clonar el repositorio:
    git clone https://github.com/<your-username>/<repo-name>.git cd <repo-name>
  2. Instalar dependencias:
    npm install
  3. Configurar variables de entorno:
    Crea un archivo .env y agrega:
    NEWS_API_KEY=your_newsapi_key
  4. Iniciar el servidor:
    npm start

Uso 🛠️

El servidor MCP proporciona las siguientes herramientas:

Obtener precio de las acciones

{ "tool": "get-stock-price", "params": { "symbol": "AAPL" } }

Obtener datos históricos de acciones

{ "tool": "get-historical-data", "params": { "symbol": "AAPL", "startDate": "2024-01-01", "endDate": "2024-03-01", "interval": "1d" } }

Recibir noticias

{ "tool": "get-news", "params": { "stockName": "Tesla", "startDate": "2024-03-01", "endDate": "2024-03-10" } }

Contribuyendo 🤝

¡Siéntete libre de bifurcar este repositorio, realizar cambios y enviar una solicitud de extracción! 🚀

Licencia 🐟

Este proyecto está licenciado bajo la licencia MIT.

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Proporciona alertas meteorológicas en tiempo real, pronósticos, precios de acciones, datos históricos y noticias relacionadas con las acciones a través de una interfaz MCP.

  1. Características 🚀
    1. Instalación y configuración ⚙️
      1. Prerrequisitos
      2. Pasos
    2. Uso 🛠️
      1. Obtener precio de las acciones
      2. Obtener datos históricos de acciones
      3. Recibir noticias
    3. Contribuyendo 🤝
      1. Licencia 🐟

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          This SSE-based MCP server allows users to connect and interact with National Weather Service APIs to retrieve weather alerts and forecasts.
          Last updated -
          90
          Python
        • A
          security
          A
          license
          A
          quality
          An MCP server that provides real-time weather information including temperature, humidity, wind speed, and sunrise/sunset times through the OpenWeatherMap API.
          Last updated -
          1
          Python
          MIT License
          • Linux
          • Apple
        • -
          security
          F
          license
          -
          quality
          An MCP server implementation that allows users to fetch and display weather information for specified cities, including temperature, humidity, wind speed, and weather descriptions.
          Last updated -
          Python
          • Linux
          • Apple
        • -
          security
          A
          license
          -
          quality
          An MCP server that connects to OpenWeatherMap's API to provide current weather data and multi-day forecasts for locations worldwide in different measurement units.
          Last updated -
          12
          TypeScript
          MIT License

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jeetinida/stocknews-mcp'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server