HourLedger
БесплатноНе проверенCalculates work hours, overtime, and gross pay for federal and selected state pay rules through MCP tools.
Описание
Calculates work hours, overtime, and gross pay for federal and selected state pay rules through MCP tools.
README
An MCP server that calculates work hours, overtime, and gross pay — wrapping the same tested rules engine that powers HourLedger, a suite of free, no-sign-up work-hours calculators.
Tools
calculate_work_hours
Takes clock in/out entries (with unpaid breaks), an hourly rate, and a ruleset; returns the per-day and total regular / overtime / double-time split plus gross pay.
Supported rulesets, each covered by the automated test suite:
| Ruleset | Rule |
|---|---|
federal |
1.5× past 40 h/week (FLSA) |
california |
1.5× past 8 h/day, 2× past 12 h/day, 7th-day rule, no pyramiding (Labor Code §510) |
alaska |
1.5× past 8 h/day or 40 h/week (AS 23.10.060) |
colorado |
1.5× past 12 h/day or 40 h/week (COMPS Order) |
nevada |
daily 8 h rule only below 1.5× minimum wage — applied automatically from the rate (NRS 608.018) |
Handles overnight shifts, per-entry rounding policies (exact / 5 min / 15 min / 0.1 h), and configurable workweek start day.
time_and_a_half
Quick 1.5× rate and overtime-pay calculation from a rate and OT hours.
Setup
Claude Desktop / Claude Code
{
"mcpServers": {
"hourledger": {
"command": "npx",
"args": ["-y", "hourledger-mcp"]
}
}
}
Or with Claude Code: claude mcp add hourledger -- npx -y hourledger-mcp
Example
"How much do I make this week? I worked Monday to Thursday 7am–5pm at $19/hour in Nevada."
The model calls calculate_work_hours with the four 10-hour entries and gets back the correct Nevada answer ($19 ≥ $18 cutoff → weekly rule only → 40 regular hours, no OT), with day-by-day detail.
Interactive calculators
Prefer a UI? Every ruleset has a free, no-sign-up calculator at hourledger.com:
- Work hours & overtime · Overtime · Time and a half
- California · Alaska · Colorado · Nevada
- Embed a calculator on your own site
Disclaimer
General information, not legal or payroll advice. Exemptions and local rules vary — verify disputed pay with your state labor agency or a qualified professional.
Development
The pay-rules engine (src/engine.ts + its 27 tests) is mirrored from the HourLedger site project, where rule changes land first. npm test runs the full suite; prepublishOnly enforces tests + build before any publish.
License
MIT
Установить HourLedger в Claude Desktop, Claude Code, Cursor
unyly install hourledgerСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add hourledger -- npx -y hourledger-mcpПошаговые гайды: как установить HourLedger
FAQ
HourLedger MCP бесплатный?
Да, HourLedger MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для HourLedger?
Нет, HourLedger работает без API-ключей и переменных окружения.
HourLedger — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить HourLedger в Claude Desktop, Claude Code или Cursor?
Открой HourLedger на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare HourLedger with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
