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
          A FastMCP-based service that provides stock data including historical prices, fundamental information, and financial news.
          Last updated -
          6
          Python
          • Linux
          • Apple
        • -
          security
          F
          license
          -
          quality
          Provides real-time access to global stock market data including current prices, historical charts, and company financial information through a Model Context Protocol (MCP) server for AI assistants.
          Last updated -
          TypeScript
          • Linux
          • Apple
        • A
          security
          A
          license
          A
          quality
          An MCP server that provides comprehensive financial insights and analysis by leveraging real-time market data, news, and advanced analytics for stocks, options, financial statements, and economic indicators.
          Last updated -
          17
          42
          Python
          MIT License
          • Apple

        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