金融数据仪表盘

一个动态的AI驱动的金融仪表盘,用于获取金融新闻、股票价格和公司信息,适用于金融分析和投资决策。

  • by AritriPodde2210
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 AritriPodde2210/Finance_MCP_Server

使用说明

🏦 AI Finance Dashboard (MCP + Groq)

A dynamic, AI-powered finance dashboard that fetches financial news, stock prices, and company information for any company, stock ticker, or financial topic using FastMCP and Groq API. Built with Python and Streamlit for an interactive UI.


🚀 Features

  • Fetch latest finance news for any company or topic
  • Get real-time stock prices
  • View company profiles (sector, industry, website, etc.)
  • Dynamic Streamlit dashboard for easy search and visualization
  • Powered by FastMCP for tool orchestration and Groq for AI-driven responses

Installation

  1. Clone the repository:
git clone https://github.com/AritriPodder2210/Finance_MCP_Server.git
cd Finance_MCP_Server
2.create and activate virtual environment
python -m venv venv

# Windows
venv\Scripts\activate

# macOS/Linux
source venv/bin/activate
3.install dependencies
pip install -r requirements.txt
4.Create a .env file and add your Groq API key:
GROQ_API_KEY=your_groq_api_key_here

## usage
1️. Start the MCP server
python finance_server.py
2. Launch the Streamlit dashboard
streamlit run dashboard.py

## Project Structure
Finance_MCP_Server/
├── finance_server.py      # MCP server with Groq tools
├── client.py              # Optional client for direct testing
├── streamlit_app.py       # Streamlit dashboard UI
├── requirements.txt       # Python dependencies
├── .env                   # Groq API key
└── README.md