Bringing Math to Life: Building StepWise Math for the MCP Hackathon
Blog post from HuggingFace
StepWise Math is an AI-powered application developed for the Model Context Protocol (MCP) 1st Birthday Hackathon, designed to transform static mathematical problems into interactive, visual proofs. The application leverages Gradio and the Gemini models to create a dynamic learning experience, allowing users to visualize and interact with mathematical concepts such as triangle angles and probability distributions in real-time. With a two-stage AI pipeline—Gemini 2.5 Flash for analyzing input and Gemini 3.0 Pro for building applications—the tool acts as a "Digital Montessori" for middle school students, breaking down complex proofs into accessible steps on an HTML5 canvas. The project also integrates with various MCP clients, enabling seamless interaction with AI agents, and emphasizes Spec-Driven Development and Vibe Coding to streamline the creation process. Future plans for StepWise Math include developing a persistent library for users and a teacher mode for classroom applications, showcasing the potential for AI to enhance educational engagement and understanding in mathematics.