Servidor MCP

RPN Calculator

com.apished/rpn-calculator
Otros Público y accesible MCP 2025-11-25

Qué hace este MCP

Evaluates Reverse Polish Notation expressions with arithmetic, trigonometric, logarithmic, and bitwise operations.

rpncalc_eval
Evaluates a Reverse Polish Notation (postfix) expression: whitespace-separated tokens, each a number or an operator/function that pops its operands off a stack and pushes the result. Supports arithmetic, exponentiation/modulo, roots, trigonometry, logarithms, rounding, bitwise ops, and constants (pi, e, phi). Always returns the decimal result — for hex/bin/oct rendering, convert the returned number yourself.
Esquema de entrada
{'type': 'object', 'required': ['expr'], 'properties': {'expr': {'type': 'string', 'description': 'space-separated RPN expression, e.g. "3 4 + 2 *"'}}, 'additionalProperties': False}
Esquema de salida
{'type': 'number'}
Añadido
rpncalc_eval
17 de September de 2026 a las 12:33