>_

programmer-calculator

Terminal calculator made for programmers working with multiple number representations, sizes, and overall close to the bits

How to install programmer-calculator

brew install pcalc

programmer-calculator use case

Perform bitwise operations and conversions between binary, hexadecimal, and decimal number representations with configurable operand sizes

When to use programmer-calculator

  • Debugging low-level code or embedded systems where bit manipulation is frequent
  • Quickly converting between number bases (binary, hex, decimal) while viewing all representations simultaneously
  • Performing bitwise operations (AND, OR, XOR, shifts) with variable operand sizes (8, 16, 32 bits)

When not to use programmer-calculator

  • When you need floating-point arithmetic or scientific calculator functions
  • When a GUI-based calculator is preferred over a terminal ncurses interface

programmer-calculator features

  • · Simultaneous display of binary, hexadecimal, and decimal representations
  • · Bitwise operations (AND, OR, XOR, NOT, shifts)
  • · Configurable operand sizes (8-bit, 16-bit, 32-bit)
  • · Customizable color interface via --colors flag
  • · Open source and installable via Homebrew or AUR

Want your agent to find this automatically?

Add the MCP server to your agent config and it will discover tools like programmer-calculator on its own.

Set up MCP →

Similar tools to programmer-calculator