MCP Server logo

MCP Server

by akramsheriff5

The MCP Server provides lightweight programs exposing specific capabilities through the Model Context Protocol. It includes modules for weather information and financial data analysis.

View on GitHub

Last updated: N/A

Features

Lightweight programs that each expose specific capabilities through the standardized Model Context Protocol

Weather Server

  • Weather Alerts: Fetch active weather alerts for a specific US state.
  • Weather Forecast: Retrieve detailed weather forecasts for a given location.
  • Freshdesk Integration: Create support tickets in Freshdesk.

Finance Module

  • Intraday Market Data: Fetch intraday stock market data using the AlphaVantage API.
  • Technical Analysis:
    • Calculate moving averages (short and long periods).
    • Compute Relative Strength Index (RSI).
  • Trade Recommendations: Generate comprehensive trade recommendations based on technical indicators.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/mcp-weather-server.git
    cd mcp-weather-server
    
  2. Set up a Python virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    
  3. Install dependencies:

    pip install -r requirements.txt
    
  4. Navigate to the finance module and install its dependencies:

    cd finance
    pip install -r requirements.txt
    

Running the Project

Weather Server

Run the weather server:

python main.py

Finance Server

Run the finance server:

cd finance
python finance_server.py

Weather Demo

Run the weather demo server:

python weather-demo.py