This content originally appeared on DEV Community and was authored by Aman Wadgaonkar
In a recent AI hackathon, I built Stock Sage β an AI-powered stock analysis platform that brings together technical indicators, news sentiment, and options strategy exploration. The secret sauce was Kiro IDE’s Model Context Protocol (MCP), which turned research, architecture and coding into a single conversational workflow. Let me walk you through how it all came together.
1. Kiro’s MCP: Your AI Toolkit on Steroids
What’s MCP? It’s how Kiro connects to real-world tools β search engines, GitHub, and even your local filesystem β so it can research, code, and document inside the IDE.
Core Capabilities
Feature | Description | Power Level |
---|---|---|
![]() |
Access knowledge bases & docs | ![]() ![]() ![]() ![]() ![]() |
![]() |
Integrate APIs & services | ![]() ![]() ![]() ![]() ![]() |
![]() |
Use domain-specific tools | ![]() ![]() ![]() ![]() |
![]() |
Interact with files and databases | ![]() ![]() ![]() ![]() ![]() |
Configuration Magic
.kiro/mcp.json configuration
{
"mcpServers": {
"web-search": {
"args": ["mcp-server-brave-search@latest"],
"env": { "BRAVE_API_KEY": "YOUR_BRAVE_KEY" }
},
"github-tools": {
"args": ["mcp-server-github@latest"],
"env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_TOKEN" }
},
"filesystem": {
"args": ["mcp-server-filesystem@latest"]
}
}
}
Power Tools Breakdown:
-
Brave Search: Instant web research for analysis techniques, UI patterns, and best practices
-
GitHub Tools: Pull FinBERT examples, indicator libraries and implementation patterns
-
Filesystem: Give Kiro project context so generated code stays consistent
-
Pro tip: Keep your MCP context file under version control (without keys) and add the secrets via environment variables in CI/CD.
2. Building with Specs β Not “Wing It”
The Spec-First Philosophy
I used a spec-first approach: write feature specs, ask Kiro to expand them into architecture, data flows, and implementation tasks. Kiro suggested a scalable layout:
- React frontend β dashboards, charts, options explorer
- FastAPI backend β sentiment, fundamentals, technical analysis, caching
- MongoDB β user profiles and metadata
- Supabase β market data caching & sync layer
3. Feature Highlights β AI + MCP Collaboration
Kiro translated specs into working modules and documentation
News Sentiment (FinBERT)
📰 News Sources β 🧹 Filter Noise β 🤖 FinBERT β 📊 Sentiment Scores
What it does: Scrapes multiple sources, filters promotional noise, runs FinBERT, and emits sentiment scores with confidence metrics.
Fundamental Analysis Engine
🏢 Company Data β 📊 Ratio Calculations β 📈 Growth Analysis β 🎯 Value Scoring
What it does: Processes financial statements, calculates key ratios (P/E, P/B, ROE, Debt-to-Equity), analyzes revenue/earnings growth patterns, and generates comprehensive fundamental health scores.
Advanced Technical Analysis
📊 Market Data β 🔄 Multi-Timeframe β 🎯 Pattern Recognition β ⚡ Smart Signals
What it does: Implements advanced indicators beyond basic RSI/MACD β including Ichimoku clouds, Fibonacci retracements, volume profile analysis, and custom momentum oscillators for sophisticated technical insights.
Signals Dashboard
What it does: Aggregates technicals (RSI, MACD, Bollinger etc) + sentiment to produce prioritized signals.
Authentication & Profiles
-
Google OAuth – Seamless sign-in
-
Profile Onboarding – Personalized experience
-
Premium Views – Protected advanced features
4. Challenges & How Kiro Helped Solve Them
Challenge-Solution Matrix
Challenge
Kiro’s Solution
Impact
API Blocking
Yahoo Finance blocked cloud IPs
Smart Caching
Supabase cache + sync scripts
Results
99.9% uptime
3x faster responses
Lower API costs
Slow FinBERT
Sentiment analysis bottleneck
Concurrency Magic
ThreadPoolExecutor + batching
Results
10x processing speed
Real-time sentiment
Better UX
Mobile UX Issues
Wide tables on small screens
Responsive Cards
Card-based + horizontal scroll
Results
Mobile-first design
Touch-friendly
Better engagement
5. Why Stock Sage Matters (For Analysts & Investors)
Analysis-First, Not Execution
Stock Sage focuses on analysis β not execution
Value Proposition
For Analysts
-
Unified Dashboard β All tools in one place
-
AI Insights β FinBERT sentiment + confidence
-
Mobile Ready β Analysis on-the-go
-
Secure Access β OAuth-protected workspace
For Investors
-
Strategy Explorer β Test options without risk
-
Technical Signals β RSI, MACD, Bollinger aggregated
-
Sentiment Analysis β News impact quantified
-
Priority Signals β Focus on what matters
-
Fundamental Metrics β P/E, ROE, growth trends analyzed
Final Thoughts
Built in 10 days, Stock Sage shows how an MCP-enabled AI assistant can amplify a single developer into a multidisciplinary team: research, architecture, implementation and documentation β all inside the IDE.
“AI + MCP doesn’t replace developers β it empowers them.”
#StockSage #Kiro #MCP #FinBERT #AIForDev #HackathonBuild #DevCommunity #hookedonkiro
This content originally appeared on DEV Community and was authored by Aman Wadgaonkar