Math AI Agent that uses LLM + Rubens calculator-mcp.
pip install math-ai-agent==0.0.47 Copy PIP instructions
A prompt chat webapp that drives an LLM call inside an agentic loop using the calculator_mcp MCP server for arithmetic operations. The key constraint is that the LLM is given explicit system instructions to use calculator_mcp for any arithmetic operations.
Bear in mind that support for the features listed above also depends on the capabilities of the selected LLM model. For example, the default configured model, NVIDIA Nemotron 3 Super, does not support storing conversation history and supports only text input.
This project includes code and documentation created with the assistance of AI tools. For details on usage, limits, and review practices, please see the AI Disclaimer.
pip install math-ai-agent Confirm the installed version matches the latest GitHub release at math-ai-agent/releases math-ai-agent --version pip show math-ai-agent Uninstall pip uninstall math-ai-agent pip cache purge Configuration calculator-mcp Running Locally Copy the file config_local.yaml to ${HOME}/cfg/math-ai-agent/config_local.yaml
Set MATHAIAGENT_CONFIG for calculator-mcp running locally
export MATHAIAGENT_CONFIG="${HOME}/cfg/math-ai-agent/config_local.yaml" Launch calculator-mcp locally following the instructions at calculator-mcp calculator-mcp Running Remotely Note: This requires OAuth authentication using a GitHub account. Currently, only the project author is authorized.
Copy the file config_remote.yaml to ${HOME}/cfg/math-ai-agent/config_remote.yaml
The project is licensed under the MIT License.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




