programming-tutor
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
AI Tutor Agent
Python programming tutor built with LangChain, Gemini, and MCP tools.
The agent answers coding questions. When a question needs a check
(palindrome, prime, Fibonacci, GCD, and similar), it calls tools from
mcp_server.py and then explains the result in plain language.
Demo
Preview player: https://drive.google.com/file/d/1X8HZTsvx9oTEdc2P6xVx4szGgzhltDgM/preview
Also on GitHub: demo.mp4






What the demo shows:
Project files in VS Code (
tutor_agent.py,mcp_server.py)MCP Inspector connected to Programming Tutor
Live tool runs:
check_prime(6),reverse_string("hello"),sum_of_digitsCodex listing all 13 tools and
check_leap_year(2005)→ not a leap year
Related MCP server: Learning Assistant MCP Server
Stack
LangChain
create_agentGemini (
gemini-2.5-flash)MCP server (
FastMCP) over stdioLangGraph smoke test in
test_langgraph.py
Setup
cd programming-tutor-agent
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .envGOOGLE_API_KEY=your_keyRun
python main.py
python tutor_agent.py
python test_langgraph.py
python mcp_server.pyMCP Inspector
npx @modelcontextprotocol/inspector python mcp_server.pySame tools from Codex / Cursor
Use mcp.json so the client can call the programming-tutor server.
MCP tools
check_palindromecheck_armstrongfibonaccicheck_primefactorialreverse_stringcheck_even_oddsum_of_digitsgcdlcmcheck_leap_yearcount_vowelscheck_anagram
This server cannot be deployed
Maintenance
Related MCP Connectors
I do everything related to coding and execution tasks
Scores your code across 12 areas, with findings, fix prompts, and re-assessment in your AI agent
Checks AI-written code against your rules as it is written, and keeps a record of what it found.
Validates Luhn, IBAN, ISBN, EAN/UPC, SWIFT/BIC, and EU VAT checksums and formats.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides brutally honest code reviews, explanations, and refactoring suggestions via CLI and MCP tools.8107 npm101MIT
- AlicenseAqualityDmaintenanceProvides educational tools for developers to learn programming concepts, review code, get best practices, compare approaches, generate learning paths, debug, explain code, and quiz themselves.8MIT
- FlicenseBqualityCmaintenanceProvides 23 modular tools for competitive programming, including problem analysis, algorithm planning, code generation, verification, testing, code review, and learning assistance.23-
- AlicenseAqualityCmaintenanceEnables an interactive, gamified coding tutor that executes commands, provides lessons with explanations and quizzes, and tracks progress through levels and streaks, optionally with voice narration.88 npmMIT