rpn-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rpn-mcpcalculate 10 5 2 + * 2 - and show the stack"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
rpn-mcp
MCP server that exposes an RPN calculator
Install
pip install rpn-mcpUsage
rpn-mcpThe server uses stdio transport for MCP protocol communication.
MCP Tools
evaluate
Evaluate an RPN (Reverse Polish Notation) expression.
{
"name": "evaluate",
"arguments": {
"expression": "3 4 +",
"show_stack": true
}
}Operators:
+- Add-- Subtract-- Multiply/- Divide**- Power%- Modulo
Commands:
clear- Clear the stackdup- Duplicate top of stackswap- Swap top two elements
Examples:
3 4 +returns710 5 2 + * 2 -returns323 2 /returns1.5
clear
Clear the calculator stack.
{
"name": "clear",
"arguments": {}
}Development
git clone https://github.com/dclavijo/rpn-mcp.git
cd rpn-mcp
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/MCP Registry
mcp-name: io.github.dclavijo/rpn-mcp
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/daedalus/mcp-rpn'
If you have feedback or need assistance with the MCP directory API, please join our Discord server