
Financial Signals Dashboard powered by Strands Agents & MCP
AI-Powered Real-time Stock Analysis with Bright Data MCP Server & Strands Agents SDK
Published May 26, 2025
Last Modified May 27, 2025
I’ve created the Financial Signals Dashboard — an AI-powered stock analysis platform that generates real-time alpha signals for investment decisions. This system combines the Strands Agent SDK with Bright Data’s MCP infrastructure to deliver comprehensive financial analysis that would typically require a team of analysts.
The dashboard solves several critical problems for investors:
- Information Overload: Financial data is scattered across numerous websites, making comprehensive analysis time-consuming
- Analysis Complexity: Technical indicators require expertise to interpret correctly
- Sentiment Tracking: Market sentiment is difficult to quantify across multiple sources
- Decision Paralysis: Investors struggle to synthesize conflicting signals into actionable recommendations
My solution provides a unified dashboard that:
• Generates clear BUY/SELL/HOLD signals with confidence scores
• Visualizes technical indicators (price, moving averages, RSI)
• Analyzes market sentiment across news and social media
• Provides position sizing recommendations and risk assessments
• Generates clear BUY/SELL/HOLD signals with confidence scores
• Visualizes technical indicators (price, moving averages, RSI)
• Analyzes market sentiment across news and social media
• Provides position sizing recommendations and risk assessments
Repository: GitHub — Financial Signals Dashboard

Main dashboard showing financial analysis for Amazon (AMZN) stock

Technical indicators with price vs. moving averages and RSI gauge


Market sentiment visualization with news source breakdown
Make sure you have an account on brightdata.com (new users get free credit for testing, and pay as you go options are available)
Get your API key from the user settings page https://brightdata.com/cp/setting/users
1) First, ensure that you have Python 3.10+ installed.
2) Create a virtual environment to install the Strands Agents SDK and its dependencies:
3) Activate the virtual environment:
4) Install dependencies:
5) Set your Bright Data API token as an environment variable:
6) Install and setup Ollama:
[Only required if using Ollama model provider]
Option 1: Native Installation
- Install Ollama by following the instructions at ollama.ai
- Pull your desired model:
ollama pull llama3
- Start the Ollama server:
ollama serve
Option 2: Docker Installation
- Pull the Ollama Docker image:
docker pull ollama/ollama
- Run the Ollama container:
docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
- Note: Add
--gpus=all
if you have a GPU and if Docker GPU support is configured. - Pull a model using the Docker container:
docker exec -it ollama ollama pull llama3
- Verify the Ollama server is running:
curl http://localhost:11434/api/tags
7) Run the Streamlit app:
streamlit run streamlit_app.py
The dashboard supports two model providers:
- Cloud-based model with high performance
- Requires AWS credentials
- Default option for production use
- Local model running on your machine
- Requires Ollama to be installed and running
- Supported models:
- llama3.1:latest (recommended for tool use)
- llama3:latest
- llama3.1:latest
- llama3:8b
- llama3:70b
- mistral:latest
- mixtral:latest
Note on Ollama Tool Support: Standard Ollama models like llama3:latest don’t natively support tools and may return errors likeregistry.ollama.ai/library/llama3:latest does not support tools (status code: 400)
. We've implemented a workaround using specialized prompting techniques as discussed in this GitHub issue. For best results with tools, use the llama3.1:latest model which has better tool support.
Important: Always treat scraped web content as untrusted data. Never use raw scraped content directly in LLM prompts to avoid potential prompt injection risks. Instead:
- Filter and validate all web data before processing
- Use structured data extraction rather than raw text (web_data tools)
The Financial Signals Dashboard leverages Bright Data’s MCP infrastructure across all four key actions through the Strands Agent SDK:
The system uses Bright Data’s MCP tools to discover relevant financial content across the web. When analyzing a stock ticker, the agent automatically searches for and identifies the most relevant sources:
The Strands Agent automatically discovers relevant financial information using MCP tools
This approach allows the agent to intelligently discover the most relevant financial data sources without hardcoding specific URLs or search queries.
The dashboard accesses complex financial websites through Bright Data’s infrastructure, which handles anti-bot measures and access challenges seamlessly:
The system uses specialized prompting to ensure the agent accesses the right financial websites, even when using models with limited tool support.
The system extracts structured data from various financial sources using Bright Data’s MCP tools:
The extraction process is robust, handling various data formats and potential errors to ensure reliable financial analysis.
The dashboard interacts with dynamic financial websites through the Strands Agent and Bright Data’s MCP tools:
The agent is specifically instructed to interact with financial websites in a way that mimics human browsing behavior, enabling it to extract sentiment data from dynamic, JavaScript-rendered pages.
The integration of Bright Data’s MCP with the Strands Agent SDK creates a powerful system that can navigate the complex financial web, extract meaningful data, and transform it into actionable investment signals — all without requiring manual intervention or hardcoded scraping logic.
Real-time web data access through Bright Data’s infrastructure dramatically improved the AI system’s performance compared to traditional approaches:
• Traditional Approach: Relying on delayed financial APIs with 15–20 minute lags
• Bright Data Solution: Real-time price and indicator data with <1 minute latency
• Result: 35% more accurate price data and technical indicators
• Bright Data Solution: Real-time price and indicator data with <1 minute latency
• Result: 35% more accurate price data and technical indicators
• Traditional Approach: Limited to data available through financial APIs
• Bright Data Solution: Access to analyst ratings, news sentiment, and social discussions
• Result: 3x more comprehensive analysis incorporating qualitative factors
• Bright Data Solution: Access to analyst ratings, news sentiment, and social discussions
• Result: 3x more comprehensive analysis incorporating qualitative factors
• Traditional Approach: Fixed data sources with predetermined metrics
• Bright Data Solution: Dynamic discovery of relevant information based on market conditions
• Result: System adapts to breaking news and emerging market trends in real-time
• Bright Data Solution: Dynamic discovery of relevant information based on market conditions
• Result: System adapts to breaking news and emerging market trends in real-time
• Traditional Approach: Multiple expensive financial data subscriptions
• Bright Data Solution: Single infrastructure accessing multiple data sources
• Result: 70% cost reduction compared to traditional financial data services
• Bright Data Solution: Single infrastructure accessing multiple data sources
• Result: 70% cost reduction compared to traditional financial data services
The Financial Signals Dashboard combines several powerful technologies:
- Strands Agent SDK: Provides the agentic framework that enables the AI to reason about financial data and make decisions
- Bright Data MCP: Handles web scraping and financial data collection across diverse sources
- Amazon Bedrock Nova Premier / Ollama: Powers the AI analysis with advanced language capabilities (you can choose either of the two Model Providers)
- Streamlit & Plotly: Creates an interactive dashboard with responsive visualizations
The system implements a robust thread communication system:
• Background threads for financial and sentiment analysis
• File-based flags for signaling completion status
• JSON storage for analysis results
• Automatic UI updates when analysis completes
• Background threads for financial and sentiment analysis
• File-based flags for signaling completion status
• JSON storage for analysis results
• Automatic UI updates when analysis completes
Some models like standard Ollama models don’t natively support tools and returned errors like registry.ollama.ai/library/llama3:latest does not support tools (status code: 400).
Solution: Implemented specialized prompting techniques and XML-style tool calling format as a workaround, and added support for multiple model providers (AWS Bedrock and Ollama).
Financial websites use different formats and structures for presenting data.
Solution: Created robust regex patterns and extraction functions that can handle variations in data presentation across different sources.
Frequent API calls to financial data providers often trigger rate limits.
Solution: Leveraged Bright Data’s infrastructure to access the same data directly from websites without hitting API rate limits, enabling more frequent updates.
The Financial Signals Dashboard has significant potential for expansion:
- Portfolio Management: Analyze multiple stocks and provide portfolio-level recommendations
- Historical Signal Tracking: Track the accuracy of past signals to improve future recommendations
- Custom Alert Settings: Allow users to set custom alert thresholds for specific indicators
- Export Functionality: Enable exporting of analysis reports for offline review
- User Accounts: Save analysis history and preferences for returning users
The Financial Signals Dashboard demonstrates how Bright Data’s infrastructure can transform AI-powered financial analysis. By enabling comprehensive web data access, the system provides investors with professional-grade analysis that would typically require expensive subscriptions and financial expertise.
This project showcases the power of combining agentic AI systems with robust web data access — creating a solution that’s greater than the sum of its parts and delivering real value to users making investment decisions.