Financial Risk MCP Server
Aggregates real-time financial news from Google News RSS for market sentiment analysis and news-driven insights.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Financial Risk MCP Serverassess the risk of my portfolio"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
š Multi-Agent Financial Risk Intelligence Platform
An AI-powered financial analytics platform that leverages Multi-Agent Systems, FastMCP, Google Gemini, Finnhub API, and Streamlit to perform intelligent portfolio analysis, financial risk assessment, market sentiment analysis, and AI-driven investment recommendations.
The platform combines quantitative financial metrics with real-time market intelligence to help investors better understand portfolio performance and potential financial risks.
š Live Demo
š ** Streamlit Application**
https://multi-agent-financial-risk-intelligence-platform-dp6kcy9gcgcdc.streamlit.app/
Related MCP server: Trader Journal MCP
ā Key Features
š Live Portfolio Valuation
š Portfolio Allocation Analysis
š¦ Sector Allocation Analysis
š Value at Risk (VaR)
š Sharpe Ratio Calculation
ā” Live Stock Prices using Finnhub API
š° Real-Time Financial News
š News Sentiment Analysis
š¤ AI Financial Advisor using Google Gemini
š FastMCP Financial Server
š CSV Report Generation
š Interactive Streamlit Dashboard
āļø Cloud Deployment
Dashboard Preview
Dashboard

Portfolio Analytics
AI Financial Advisor
images/advisor.pngRisk Analytics
Add screenshot
images/risk.pngRisk Analytics
š Project Overview
The Multi-Agent Financial Risk Intelligence Platform is an end-to-end financial analytics application designed to simulate an intelligent financial assistant capable of analyzing investment portfolios using multiple specialized AI agents.
The system combines:
Live Portfolio Valuation
Portfolio Risk Analysis
Value at Risk (VaR)
Sharpe Ratio
Market Sentiment Analysis
Financial News Aggregation
AI-powered Financial Recommendations
into a single interactive dashboard.
Unlike traditional portfolio trackers, this platform follows a Multi-Agent Architecture, where individual agents independently perform financial analysis before combining their outputs to generate intelligent recommendations.
šÆ Objectives
The primary objectives of this project are:
Build an AI-powered financial analytics platform.
Demonstrate Multi-Agent System architecture.
Integrate FastMCP for reusable financial tools.
Perform portfolio risk assessment.
Provide AI-generated investment recommendations.
Visualize financial metrics through an interactive dashboard.
Deploy a production-ready Streamlit application.
⨠Highlights
Multi-Agent Architecture
FastMCP Financial Server
Google Gemini Integration
Finnhub Live Market Data
Streamlit Interactive Dashboard
Financial News Aggregation
Market Sentiment Analysis
Portfolio Allocation Visualization
Sector Allocation Visualization
Value at Risk (95%)
Sharpe Ratio
Cloud Deployment
šļø System Architecture
User
ā
ā¼
Streamlit Dashboard
ā
āāāāāāāāāāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāā
ā ā ā
ā¼ ā¼ ā¼
Portfolio Agent Risk Analysis Agent AI Advisor Agent
ā ā ā
ā ā ā
ā¼ ā¼ ā¼
Live Portfolio VaR + Sharpe Ratio Google Gemini
ā ā ā
āāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāā
ā¼
FastMCP Financial Server
ā
āāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāā
ā ā ā
ā¼ ā¼ ā¼
Finnhub API News Agent Recommendation
Live Prices RSS Feed Engine
ā
ā¼
Final Financial Insightsš¤ Multi-Agent Workflow
The application follows a modular Multi-Agent Architecture, where every agent performs a dedicated financial task before contributing to the final investment recommendation.
š Portfolio Agent
Responsible for:
Reading portfolio holdings
Calculating live portfolio value
Computing stock allocation
Computing sector allocation
š Risk Analysis Agent
Calculates important financial risk metrics including:
Portfolio Volatility
Value at Risk (95%)
Sharpe Ratio
These metrics help estimate portfolio performance and downside risk.
š° News Agent
Collects the latest financial news from reliable RSS feeds.
Responsibilities include:
Market updates
Company news
Economic events
Financial headlines
š Sentiment Agent
Performs sentiment analysis on financial news using TextBlob.
Each news headline is classified as:
š¢ Positive
š” Neutral
š“ Negative
This helps estimate current market sentiment.
š¤ AI Financial Advisor
Powered by Google Gemini 2.5 Flash.
The AI combines:
Portfolio Value
Sharpe Ratio
Value at Risk
Market Sentiment
Financial News
to answer investor questions and generate personalized financial recommendations.
š FastMCP Financial Server
The project exposes reusable financial tools using FastMCP.
Available tools include:
Portfolio Value
Sharpe Ratio
Value at Risk
Latest News
Market Sentiment
Investment Recommendation
The MCP server enables AI models to access financial information through structured tool calls.
š ļø Technology Stack
Category | Technology |
Programming Language | Python 3.13 |
Dashboard | Streamlit |
AI Model | Google Gemini 2.5 Flash |
MCP Framework | FastMCP |
Market Data | Finnhub API |
Data Processing | Pandas, NumPy |
Data Visualization | Matplotlib |
Natural Language Processing | TextBlob |
Financial News | Google News RSS |
Environment Variables | python-dotenv |
Version Control | Git & GitHub |
Deployment | Streamlit Community Cloud |
š§ MCP Tools
The Financial Risk MCP Server exposes the following tools:
Tool | Description |
| Calculates current portfolio value |
| Returns portfolio Sharpe Ratio |
| Computes Value at Risk (95%) |
| Returns current market sentiment |
| Retrieves latest financial news |
| Generates investment recommendation |
š Project Structure
multi-agent-financial-risk-intelligence-platform/
ā
āāā dashboard/
ā āāā app.py
ā āāā components/
ā āāā advisor.py
ā āāā dashboard.py
ā āāā portfolio.py
ā āāā sidebar.py
ā āāā __init__.py
ā
āāā Charts/
ā āāā portfolio_allocation.png
ā āāā sector_allocation.png
ā āāā daily_returns.png
ā
āāā data/
ā āāā portfolio.csv
ā
āāā reports/
ā āāā report.csv
ā
āāā utils/
ā āāā finance.py
ā
āāā llm.py
āāā server.py
āāā main.py
āāā requirements.txt
āāā README.md
āāā .gitignoreāļø Installation
1. Clone the Repository
git clone https://github.com/mishtisethi12/multi-agent-financial-risk-intelligence-platform.git
cd multi-agent-financial-risk-intelligence-platform2. Create a Virtual Environment
Windows
python -m venv venv
venv\Scripts\activatemacOS/Linux
python3 -m venv venv
source venv/bin/activate3. Install Dependencies
pip install -r requirements.txtš Environment Variables
Create a .env file in the project root.
GEMINI_API_KEY=YOUR_GEMINI_API_KEY
FINNHUB_API_KEY=YOUR_FINNHUB_API_KEYImportant: Never commit your
.envfile to GitHub.
ā¶ļø Running the Project
Run the Analytics Engine
python main.pyStart the FastMCP Server
python server.pyLaunch the Dashboard
streamlit run dashboard/app.pyāļø Deployment
The application is deployed on Streamlit Community Cloud.
Deployment includes:
Google Gemini API
Finnhub API
FastMCP Financial Server
AI Financial Advisor
Interactive Dashboard
To deploy:
Push the repository to GitHub.
Connect the repository with Streamlit Community Cloud.
Add the required API keys in Secrets:
GEMINI_API_KEY="YOUR_KEY"
FINNHUB_API_KEY="YOUR_KEY"Deploy the application.
š Dashboard Features
The Streamlit dashboard provides:
Live Portfolio Value
Portfolio Allocation Chart
Sector Allocation Chart
Daily Returns Visualization
Value at Risk
Sharpe Ratio
Market Sentiment
AI Financial Advisor
Financial News
MCP Server Status
š Financial Metrics
Value at Risk (VaR)
Value at Risk estimates the potential portfolio loss over a specified time period at a chosen confidence level.
Confidence Level:
95%
Sharpe Ratio
Measures portfolio performance after adjusting for risk.
Higher values indicate better risk-adjusted returns.
Portfolio Allocation
Calculates each stock's contribution to the overall portfolio value.
Sector Allocation
Groups holdings into sectors to measure diversification.
Market Sentiment
Financial headlines are analyzed using TextBlob and classified into:
Positive
Neutral
Negative
AI Financial Advisor
Google Gemini analyzes:
Portfolio Value
Portfolio Risk
Sharpe Ratio
VaR
Market Sentiment
Latest Financial News
to generate personalized investment recommendations.
šø Screenshots
Replace these placeholders with actual screenshots after uploading them to the repository.
Dashboard
images/dashboard.pngPortfolio Analytics
images/portfolio.pngAI Financial Advisor
images/advisor.pngRisk Analytics
images/risk.pngš Future Enhancements
The platform is designed with scalability in mind. Planned enhancements include:
Multi-Portfolio Support
User Authentication & Secure Login
Historical Portfolio Performance Tracking
Portfolio Optimization using Modern Portfolio Theory (MPT)
Monte Carlo Risk Simulation
Real-Time Market Alerts
Interactive Stock Comparison Dashboard
PDF Financial Report Generation
Watchlist Management
Docker Containerization
CI/CD Pipeline with GitHub Actions
Database Integration (PostgreSQL/MongoDB)
Role-Based User Access
Advanced Risk Metrics (Beta, Alpha, Sortino Ratio)
š” Learning Outcomes
This project provided hands-on experience with:
Multi-Agent System Design
Financial Risk Analytics
Portfolio Analysis
FastMCP Tool Development
Google Gemini API Integration
Prompt Engineering
REST API Integration
Streamlit Dashboard Development
Financial Data Visualization
Git & GitHub Workflow
Cloud Deployment
Environment Variable Management
Modular Python Application Development
šÆ Key Achievements
Designed and developed an end-to-end AI-powered financial analytics platform.
Implemented a modular Multi-Agent architecture for portfolio analysis and financial decision support.
Built reusable financial tools using FastMCP.
Integrated Google Gemini to provide intelligent financial insights through a conversational AI advisor.
Connected the application with Finnhub API to retrieve live market data.
Performed portfolio risk analysis using Value at Risk (VaR) and Sharpe Ratio.
Visualized portfolio allocation, sector allocation, and daily returns using interactive charts.
Deployed the application on Streamlit Community Cloud.
š Why This Project?
Traditional portfolio trackers primarily display numbers without explaining investment decisions.
This project goes a step further by combining:
Financial Analytics
Artificial Intelligence
Multi-Agent Systems
Financial APIs
Cloud Deployment
to create an intelligent financial assistant capable of delivering actionable portfolio insights.
š©āš» Author
Mishti Sethi
AI/ML Undergraduate
Passionate about:
Artificial Intelligence
Financial Analytics
Multi-Agent Systems
Machine Learning
Data Analytics
FinTech
GitHub
https://github.com/mishtisethi12
Add your LinkedIn profile here
š¤ Contributing
Contributions, suggestions, and improvements are always welcome.
If you find a bug or have an idea for a new feature, feel free to open an issue or submit a pull request.
ā Support
If you found this project helpful or interesting, consider giving it a ā on GitHub.
It really helps and motivates future development.
š License
This project is licensed under the MIT License.
Feel free to use, modify, and distribute this project in accordance with the license terms.
š Acknowledgements
This project makes use of the following technologies and services:
Google Gemini API
Finnhub API
FastMCP
Streamlit
Pandas
NumPy
Matplotlib
TextBlob
Python
Thank you for visiting this repository!
If you enjoyed exploring this project, don't forget to ā the repository and connect with me on GitHub.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables natural language portfolio monitoring, risk analysis, and compliance checking with tools for real-time portfolio status, risk metrics, anomaly detection, SEC filings search, market KPIs, and compliance validation.MIT
- AlicenseNot gradedqualityAmaintenanceProvides AI-powered trading analytics and coaching by analyzing historical trades to identify strategies, emotional patterns, and behavioral mistakes via MCP tools.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI-driven quant research by exposing backtesting, portfolio optimization, and performance analytics tools through MCP, allowing iterative strategy refinement with built-in overfitting guardrails.MIT
- AlicenseBqualityDmaintenanceAI-powered trading toolkit with backtesting, live sentiment, Yahoo Finance, and 30+ technical analysis tools for MCP clients.273MIT
Related MCP Connectors
Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.
Crypto MCP with 21 tools for market data, DeFi, analytics, and sentiment. Post-paid USDC billing.
100+ MCP tools for AI agents: content metadata, trade intelligence, business-expertise analysis.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/mishtisethi12/multi-agent-financial-risk-intelligence-platform'
If you have feedback or need assistance with the MCP directory API, please join our Discord server

