Skip to main content
Glama
Jeetinida

Weather & Stock MCP Server

by Jeetinida

天気と株価 MCP サーバー 🌦️📉

このプロジェクトは、さまざまな API を使用して天気警報、予報、株価、履歴データ、ニュースを提供するMCP (Model Context Protocol) サーバーです。

機能🚀

  • 🐼 Yahoo Finance を使ってリアルタイムの株価を取得する

  • 📊過去の株価データ(日次、週次、月次)を取得する

  • 📰 NewsAPIから株式関連ニュースを入手

  • 🌦️ National Weather Service API を使用して天気警報と予報を取得します

Related MCP server: Weather MCP Server

インストールとセットアップ ⚙️

前提条件

  • Node.js (v18以上)

  • ギット

  • NewsAPIのAPIキー

手順

  1. リポジトリをクローンします。

    git clone https://github.com/<your-username>/<repo-name>.git
    cd <repo-name>
  2. 依存関係をインストールします:

    npm install
  3. 環境変数を設定します。
    .envファイルを作成し、以下を追加します。

    NEWS_API_KEY=your_newsapi_key
  4. サーバーを起動します。

    npm start

使用方法 🛠️

MCP サーバーは次のツールを提供します。

株価を取得

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

過去の株価データを取得する

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

ニュースを入手

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

貢献中🤝

ぜひこのリポジトリをフォークして変更を加え、プルリクエストを送信してください!🚀

ライセンス🐟

このプロジェクトは MIT ライセンスに基づいてライセンスされています。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    Enables users to get weather alerts and forecasts through natural language interactions. Provides real-time weather information and alert notifications via MCP tools.
    2
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides real-time stock analysis tools including price lookup, comprehensive investment scoring, and company-to-ticker conversion through a MCP interface.
    1
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides real-time financial data including stock quotes, news, and market movers through a secure FastMCP gateway, enabling conversational finance queries.
    17
    -

Latest Blog Posts

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