MLB Companion - Enhancing Fan Engagement for Baseball
Inspiration
Baseball isn’t just a game. It’s a source of excitement, connection and joy for fans. Yet, not everyone experiences it the same way. Some fans might miss key moments, others want deeper insights and some just want to enjoy the game in a more accessible way. Our app was inspired by the idea of making the baseball experience fun and personalized for everyone whether they’re die-hard enthusiasts or casual followers.
Why MLB Companion
MLB Companion is designed to enhance the fan experience by providing personalized, real-time insights and interactive features. Whether you're a casual viewer or a die-hard fan, the app offers unique ways to stay engaged with the game. Here's why MLB Companion stands out:
- Personalized Experience – The AI commentary adapts to your familiarity with baseball, offering simplified or more advanced explanations.
- Engaging Fan Interaction – Stay connected with live chat (text or voice) to explore every play and highlight.
- Convenient & Accessible – No mandatory sign-up process. Simply install the app, choose Guest or Google login, and start interacting with the AI.
- Never Miss a Moment – Push notifications help ensure you’re updated on major plays, scoring moments, and final results.
MLB Companion is more than just an app; it’s a way to connect with the game in an interactive and meaningful way, making every moment more exciting.
What it does
Our app transforms the way fans connect with baseball by offering features that adapt to their unique needs and preferences:
- Live AI Commentary – Get real-time updates and insights during ongoing MLB games.
- Cross-Language Support – Interact with the AI in various languages.
- Beginner and Expert Modes – Depth of analysis adjusts to your MLB knowledge level.
- Upcoming & Past Games Analysis – Ask questions about future matchups or review completed games.
- Demo/Test Mode – Tap the test tube icon to simulate a live game experience.
- Flexible Authentication – Sign in with Google or skip registration as a guest.
- Push Notifications – Receive real-time highlights and alerts about key moments.
- Video Highlight Playback – Watch the best moments of each game through an in-app video player.
- Game Subscriptions – Subscribe to specific games for notifications on top plays, final scores, and more.
With these powerful features, our app ensures fans can enjoy baseball on their own terms whether they’re fully immersed in the action or keeping up while on the move.
How we built it
To deliver a seamless fan experience, we brought together innovative technologies and leveraged the power of Google Cloud.
User Authentication & Security
We implemented Auth Platform to ensure user privacy and data protection while interacting with the app.Live Sports Data Integration
We extracted real-time statistics and player data from the MLBStats API, ensuring up-to-date game insights, player stats, and historical comparisons.Demo Avatars of MLB Team Mascots
We used Imagen 3 to generate demo avatars inspired by the mascots of the main MLB teams, allowing the user to choose based on their preference.Application Logic
At the core of our system, Cloud Functions handle key business logic, process user queries, and manage data flow between components.Real-Time Communication
We use Cloud Run to manage WebSockets, enabling real-time updates and interactive user experiences, such as live chat and instant notifications.Automation
By using Cloud Scheduler, Pub/Sub and Cloud Tasks, we automate notifications, scheduled updates and background processes, ensuring real-time and efficient operations.Machine Learning & AI
We integrated Gemini 2.0, Vertex AI and Text-to-Speech to enable intelligent responses, voice interactions and personalized content generation.Data Storage
Firestore serves as our scalable and real-time database, efficiently managing game data, user preferences and interaction history.
By merging real-time updates, accessibility and personalization, we crafted a user-centered platform that elevates the fan experience.
Challenges we ran into
No project is without its difficulties. Here are the key challenges that we worked through.
Real-Time Synchronization
Achieving accurate, instant updates without lag was a major technical hurdle.Voice Query Understanding
Ensuring the app could interpret diverse user queries with precision and clarity.Balancing Customization and Simplicity
Allowing deep personalization without overloading users.Model Response Guidance
Designing effective prompts to guide the language model to respond in the desired way, balancing accuracy with natural conversational flow.
Accomplishments that we're proud of
Our journey has been full of achievements, and here’s what we’re most proud of:
Real-Time Audio Updates
Bringing the game to life for fans in an engaging way.Intelligent Voice Interaction
Developing a natural and responsive voice chat experience.Inclusive Design
Creating a platform that caters to all types of fans, from casual viewers to baseball superfans.
What we learned
Building this app has been an exciting and enlightening journey. As we developed and refined its features, we gained valuable insights into both the technical and user experience aspects. Here are some key takeaways from the project:
Iterative Development Improves the Product
Through an iterative development approach, we learned how continuous testing and feedback loops lead to better product refinement and innovation.Keeping the User in Mind at Every Step
Throughout the development process, we reinforced the importance of putting users at the center of our design decisions, ensuring the app is not only functional but also intuitive and enjoyable to use.Voice Interactions are the Future
As we integrated voice features, we learned how powerful and engaging voice-controlled interactions can be. Fans want quick, hands-free access to game updates, and this feature proved valuable.Collaboration Enhances Creativity
We learned that bringing together diverse skill sets sparks innovation and leads to new ideas and solutions.
What's next for MLB Companion
The journey is just beginning! Here’s what we’re excited to bring to fans next:
- Fan Polls & Surveys – Collect fan opinions on games, players or upcoming events with quick polls and surveys.
- Live Fan Chatrooms – Enable real-time chat for fans to discuss the game during live events.
- Virtual Stadium Tours – Offer virtual tours of iconic stadiums and behind-the-scenes areas.
- Real-Time Score Prediction Game – Let fans predict scores or outcomes during live events for fun or rewards.
We’re committed to transforming the way fans experience the game making it more inclusive, exciting and personal than ever before.
Built With
- auth-platform
- cloud-run
- cloud-scheduler
- expo.dev
- firestore
- gemini
- google-cloud
- pubsub
- text-to-speech
- typescript
- vertex-ai
Log in or sign up for Devpost to join the conversation.