Home · Setup · Claude Code

MCP Hourly Rate Calculator in Claude Code

Price your hours from income, expenses, and tax, with what-if scenarios. calculate_rate turns desired annual income, billable hours per week, weeks per year, business expenses, and tax rate into a defensible hourly rate; break_even shows the rate that exactly covers costs; what_if re-prices after any single input moves. All arithmetic is exact and the formula is in the source.

The formula lives next to your code, so a rate refresh sits in the same terminal as the invoices it feeds; ask a what-if series and the numbers stay consistent because nothing is cached.

What you get in Claude Code

You sayTool
I want 75,000 a year, 25 billable hours a week, 46 weeks, 12,000 expenses, 28 percent tax.calculate_rate
What if I only manage 40 weeks?what_if
What rate just covers my costs?break_even

The contract suite walks a real stdio case through the formula: 60,000 income plus 10,000 expenses over 1,150 billable hours at a 30 percent tax rate returns an 86.96 break-even-style rate, hostile inputs are refused with a reason, and nothing hangs.

Install it in Claude Code

The file is .mcp.json, and the key inside it is mcpServers.

ScopePath
local (default)~/.claude.json, this project only
project.mcp.json at the repository root
user~/.claude.json, every project

If you also run Claude Desktop, the shortest path there is one click: hourly-rate.mcpb from the latest release opens as an extension, with no JSON and no terminal. Claude Code reads its own config, so here it is:

From the terminal, against a built file:

claude mcp add --scope user hourly-rate -- node /absolute/path/to/mcp-servers/servers/hourly-rate/dist/index.js
claude mcp list    # health-check it before the first prompt

# or --scope project, committed to .mcp.json for the team

The node command above wants a built file. From a clone, once:

git clone https://github.com/theluckystrike/mcp-servers.git
cd mcp-servers && npm install
npm run build -w packages/mcp-license -w servers/hourly-rate

That writes servers/hourly-rate/dist/index.js, and its absolute path is the one argument the config needs.

The npm packages are not published yet, so the form below returns a 404 today. It is here because it is what the entry becomes the day the publish lands, with nothing else changed:

claude mcp add hourly-rate -- npx -y @theluckystrike/mcp-hourly-rate

No restart. The entry is picked up in the next session, and `/mcp` reconnects one on demand.

Nothing is published to npm yet, so the working install paths are the ones above: the .mcpb bundle from the latest release, a clone and build, or the hosted URL.

No install: the hosted endpoint

There is no hosted endpoint for this one yet. MCP Hourly Rate Calculator runs locally over stdio with the config above, which is also the only form in which it reads and writes files on your own disk. Thirty of the servers in this collection are served at https://mcp.zovo.one/mcp/<name> over MCP streamable HTTP; https://mcp.zovo.one/mcp/connect lists them and prints a ready URL for each.

Claude Code notes worth knowing first

The `--` is load-bearing: it separates Claude Code's own options, such as --transport, --env and --scope, from the command that runs the server. And the default scope is local, private to you and to the directory you ran it in, so adding it in the wrong folder leaves the tools absent with no error at all.

Free: Everything: three tools, no metering, no key. Pro is $19 once, verified offline.

Questions

Which scope should I use for MCP Hourly Rate Calculator?

Local, the default, writes ~/.claude.json and is private to you and that directory. --scope project writes .mcp.json at the repository root, shared through version control. --scope user loads it everywhere.

Why did my first prompt ignore the server?

Measured, not documented: of three fresh projects, one first prompt made zero tool calls although initialize answered in 1.05 seconds. Run claude mcp list once first: it prints Connected, and the next run used the tool.

Can I use MCP Hourly Rate Calculator without installing anything?

Not this one. The office suite starts every sibling server as its own child process, so it runs locally over stdio. Thirty of those children are hosted individually at https://mcp.zovo.one/mcp/<name> if you want a no-install route; open https://mcp.zovo.one/mcp/connect and it prints a ready URL for each.

Related

MCP Hourly Rate Calculator in detail · The same server in Claude Desktop and Cursor · Every server in Claude Code · Guides · Claude Code docs · Buy Pro