Ask any LLM what the selling fee is on a ¥10,500 item sold on BOOTH, and you'll get a confident answer. It might even be right. Or it might use last year's rate, forget the fixed ¥45 charge, or round the wrong way — and you won't know which one you got until you compare it against your actual payout.

I sell digital products and tools for people who resell things on Japanese marketplaces, so I run into these numbers constantly. Every platform has its own rules, and none of them are just "10%":

  • BOOTH charges 5.6% of the price, rounded up, plus a flat ¥45.
  • Mercari takes 10%, rounded half up. That one's easy.
  • Rakuma has six rate tiers (10% down to 4.5%) depending on how much you sold last month, and it rounds down.
  • Yahoo! Auctions doesn't calculate 10% of the price directly. It uses a tax-exclusive method: take 9.09% of the price, round it, then add 10% of that, rounded down.

This is exactly the kind of thing language models are bad at — not the arithmetic, but remembering which rule belongs to which platform and applying the rounding the platform actually uses. So instead of hoping the model gets it right, I gave it a tool.

What the server does

AlgoEnt Tools is a remote MCP server with five tools. You give it a price in yen, it gives you back the fee and the net amount, computed with the platform's official formula:

Tool What it calculates
booth_fee BOOTH fee: ceil(price × 5.6%) + ¥45
mercari_fee Mercari fee: round(price × 10%)
rakuma_fee Rakuma fee: floor(price × rate), rate tier 10 / 9 / 8 / 7 / 6 / 4.5%
yahoo_auction_fee Yahoo! Auctions fee, official tax-exclusive method
marketplace_fee Any of the seven supported channels: BOOTH, Mercari, Rakuma, Yahoo! Auctions, Yahoo! Furima, BASE, STORES

It's read-only, stateless, and needs no API key. The only input is a price (and a channel or rate tier where that applies). Nothing is stored or sent anywhere — there's nothing to store. A price goes in, two numbers come out.

// Request { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "booth_fee", "arguments": { "price": 10500 } } } // Response { "price": 10500, "fee": 633, "net": 9867, "currency": "JPY" } 

Design choices

A few decisions worth mentioning, because they shaped the whole thing:

One fee engine, three surfaces. The MCP server doesn't have its own copy of the fee logic. The same code powers the calculators on my website and a small REST API (/api/v1/fees/*). When a platform changes its rates, I fix the formula in one place and everything — web page, API, MCP — agrees. If the website says the BOOTH fee for ¥10,500 is ¥633, the MCP server says ¥633.

Integer arithmetic only. Money and floating point don't mix. All the fee math runs on integers, so there's no rounding drift between what the server returns and what you'd compute by hand from the platform's published rules.

Strict inputs, no guessing. Prices must be integers between 0 and 100,000,000. Send something outside that and you get an error explaining the valid range. The server never clamps or "helpfully" fixes your input — silent corrections are how wrong numbers end up in spreadsheets.

Boring transport. Streamable HTTP, stateless, protocol version 2025-03-26, running as a Cloudflare Pages Function at the edge. No sessions, no database, nothing to scale. A fee calculation is a pure function, so the server is one too. The tools are annotated readOnlyHint: true, because they are.

Connecting it

The endpoint is:

https://tools.algoent.com/mcp 

In Claude, go to Settings → Connectors → Add custom connector and paste the URL. No authentication. Then just ask:

"What's the BOOTH fee for a 2,480 yen item? And what would I net on Mercari for the same price?"

Any other client that supports remote Streamable HTTP servers works the same way — point it at the URL. Or skip MCP entirely and poke it with curl:

curl -X POST https://tools.algoent.com/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"marketplace_fee","arguments":{"channel":"yahoo-auction","price":10000}}}' 

For Yahoo! Auctions at ¥10,000 you'll get a fee of ¥999 back — not the ¥1,000 you'd expect from a flat 10%, because of that tax-exclusive calculation. That one-yen gap is the entire reason this server exists.

Where it's listed

The server is published in the official MCP Registry as io.github.AlgoEntertainment-TM/algoent-tools (v1.0.0), and it's also on Glama and MCPize if you prefer browsing directories. Full documentation, including the Japanese summary, is at tools.algoent.com/mcp-docs.

Limitations, honestly

It only handles Japanese marketplaces and prices in yen, because that's the world I work in. The formulas are checked against each platform's official fee pages, but platforms do change their rates — when they do, I update the engine and every surface picks it up. And it only answers the fee question. It won't tell you what price to set or whether your item will sell. For that you're still on your own — or, I suppose, you could ask the model. Just don't let it do the fee math.

AlgoEnt Tools is operated by algoent. Questions and bug reports: info@algoent.com, or find me on X as @algoent_jp.