io.github.rog0x/math MCP Server
The io.github.rog0x/math Model Context Protocol (MCP) server provides math and calculation tools for AI agents. It exposes calculator, units conversion, and statistics capabilities via MCP, with topics covering AI agents, TypeScript, and developer tooling.
🛠️ Key Features
- Tools for AI agents via MCP
calculate: safely evaluate math expressions (noeval)- Supports arithmetic operators (
+,-,*,/,^,%), parentheses - Functions:
sqrt,abs,floor,ceil,round,log,ln,sin,cos,tan,min,max,pow - Constants:
pi,e - Named variables supported
convert_units: conversion across six categories including Length and Weight
🚀 Use Cases
- Perform calculations requested by AI agents
- Convert values between units for agent workflows (e.g., length and weight)
⚡ Developer Benefits
- MCP integration for standardized tool access
- Safer expression evaluation for math operations (explicitly “no
eval”)
⚠️ Limitations
convert_unitslists only part of the available categories in the provided excerpt (Length and Weight are confirmed)