AND, OR, XOR, NOT, shift, and popcount on integers with configurable bit width.
Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.
| Parameter | Type | Required | Description |
|---|---|---|---|
op | string | optional | Bitwise op One of: and, or, xor, not, shl, shr, popcount |
a | integer | required | First integer |
b | integer | optional | Second integer / shift amount |
bits | integer | optional | Bit width for not/popcount (default 8) |
curl -s https://wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "bitwise", "arguments": {"a": 10}}}'curl -s https://wingmanprotocol.com/tools/bitwise \
-H 'Content-Type: application/json' \
-d '{"a": 10}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/bitwise from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).