
IPMentor is an IPv4 networking toolkit designed to serve as verified computational tools for AI tutoring systems. While modern LLMs handle many networking calculations reasonably well, IPMentor ensures accuracy and enables cost-effective tutoring by allowing smaller, specialized models to focus on pedagogy while delegating complex subnet mathematics to dedicated, verified tools.
Built for the Gradio MCP Hackathon 2025, IPMentor demonstrates how the Model Context Protocol (MCP) can bridge AI tutoring systems with specialized computational tools, creating more reliable and affordable educational experiences.
🔗 Try it now:
Live Demo - Interactive web interface (is a MCP Server!)
AI Chatbot Demo - Conversational AI using IPMentor tools with Mistral Small 3.1 24B as LLM
Current AI tutoring approaches in networking education face a fundamental challenge: while large language models can perform many calculations, they occasionally make errors in complex subnet mathematics. More importantly, using powerful models for every calculation is expensive and unnecessary when the goal is to teach networking concepts rather than arithmetic.
IPMentor addresses these challenges by providing:
This approach follows the principle of computational separation of concerns - let AI models excel at explanation and pedagogy, while specialized tools handle precise calculations.
IPMentor operates as both a standalone web application and an MCP server, making it accessible to both human learners and AI tutoring systems:
ip_info - Analyze IPv4 addresses and subnet masks.subnet_calculator - Perform subnet calculations with multiple division methods.generate_diagram - Create visual network diagrams.Visit the live demo to try IPMentor’s tools immediately through the web interface.
# Clone the repository
git clone https://github.com/yourusername/ipmentor.git
cd ipmentor
# Install dependencies
pip install -r requirements.txt
# Run the application
python app.py
The application will be available at http://localhost:7860 with MCP server enabled at /gradio_api/mcp/sse.
See the chatbot demo for an example of how AI agents can use IPMentor tools through MCP for conversational network assistance. You could use any MCP Client as Claude Desktop, Cursor or Cline.
IPMentor complements LearnMCP-xAPI to create comprehensive AI tutoring systems:
Together, they enable AI tutors that can both perform accurate calculations and adapt to individual student learning patterns over time.
IPMentor is built with:
Contributions are welcome! Whether you’re improving calculations, enhancing visualizations, or adding new educational features, your input helps make networking education more effective.
Please see our contribution guidelines and feel free to open issues or pull requests.
IPMentor is released under the MIT License. You are free to use, modify, and distribute the code for both educational and commercial purposes.
Built with ❤️ for the Gradio MCP Hackathon - Making AI tutoring more reliable, one subnet at a time.