1. Conduid
  2. Maps
  3. Weather & Stock Data Server
MCP server · Maps

Weather & Stock Data Server

Provide real-time stock prices, historical stock data, stock-related news, and weather alerts and forecasts to enhance your applications with timely financial and weather information. Integrate multiple APIs seamlessly to access comprehensive market and weather insights. Empower your agents with up-to-date data for informed decision-making and alerts.

Unclaimed maps
34Low

Scored 6 months ago · breakdown

About Weather & Stock Data Server

Weather & Stock Data Server is an MCP server in the Maps category: provide real-time stock prices, historical stock data, stock-related news, and weather alerts and forecasts to enhance your applications with timely financial and weather information. Integrate multiple APIs seamlessly to access comprehensive market and weather insights. Empower your agents with up-to-date data for informed decision-making and alerts.

Install

From source
git clone https://github.com/Jeetinida/stocknews-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Weather & Stock Data Server

Powered by Claude · Grounded in docs

I know everything about Weather & Stock Data Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Weather & Stock MCP Server 🌦️📉

smithery badge

This project is an MCP (Model Context Protocol) server that provides weather alerts, forecasts, stock prices, historical data, and news using various APIs.

Features 🚀

  • 🐼 Fetch real-time stock prices using Yahoo Finance
  • 📊 Retrieve historical stock data (daily, weekly, monthly)
  • 📰 Get stock-related news from NewsAPI
  • 🌦️ Fetch weather alerts and forecasts using the National Weather Service API

Installation & Setup ⚙️

Installing via Smithery

This MCP Server uses latest StreamableHTTP to server MCP client request. To install Weather & Stock Data Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @Jeetinida/stocknews-mcp --client claude

Prerequisites

  • Node.js (v18 or higher)
  • Git
  • An API key for NewsAPI

Steps

  1. Clone the repository:
    git clone https://github.com/<your-username>/<repo-name>.git
    cd <repo-name>
    
  2. Install dependencies:
    npm install
    
  3. Set up environment variables:
    Create a .env file and add:
    NEWS_API_KEY=your_newsapi_key
    
  4. Start the server:
    npm start
    

Debug

  1. Inspector You can inspect your MCP server using:
    npx @modelcontextprotocol/inspector
    

Usage 🛠️

The MCP server provides the following tools:

Get Stock Price

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

Get Historical Stock Data

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

Get News

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

Docker

Dockerfile is attached with the project, you will have to set your NEWS_API_KEY and run the following docker command: Docker build:

  docker build -t weather-mcp .

Docker run:

  docker run -d --name {CONTAINER_NAME} --env NEWS_API_KEY={news_api_key} -p 3333:3333 weather-mcp 

Contributing 🤝

Feel free to fork this repo, make changes, and submit a pull request! 🚀

License 🐟

This project is licensed under the MIT License.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Weather & Stock Data Server

How do I install Weather & Stock Data Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Weather & Stock Data Server safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Weather & Stock Data Server still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.