Math offers a secure and versatile Model Context Protocol (MCP) server designed for the precise evaluation of mathematical expressions. Engineered with a security-first approach, it rigorously validates all input against a comprehensive BNF grammar, whitelists functions, and sandboxes execution with timeout protection. Beyond basic arithmetic, it supports advanced features like trigonometric functions, variables, conditional logic, summation operations, and unit values, making it an ideal backend for applications requiring reliable and safe mathematical computations, especially for integration with AI agents.