Serveur MCP

RPN Calculator

com.apished/rpn-calculator
Autres Public et accessible MCP 2025-11-25

Ce que fait ce 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.
Schéma d’entrée
{'type': 'object', 'required': ['expr'], 'properties': {'expr': {'type': 'string', 'description': 'space-separated RPN expression, e.g. "3 4 + 2 *"'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'number'}
Ajouté
rpncalc_eval
17 September 2026 12:33