MCPサーバー

RPN Calculator

com.apished/rpn-calculator
その他 公開・接続可能 MCP 2025-11-25

この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.
入力スキーマ
{'type': 'object', 'required': ['expr'], 'properties': {'expr': {'type': 'string', 'description': 'space-separated RPN expression, e.g. "3 4 + 2 *"'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'number'}
追加
rpncalc_eval
2026年9月17日12:33