Tools

Hours Calculator MCP Server

Use Studio chat to drive this server — credentials stay in your workspace.

Calculate time duration between hours, track work hours with breaks, and detect overtime. Pure computation — no external calls.

2 tools
Agent guide included
No auth required
Try it Free

No account needed. Chat with AI and run tools instantly.

Browse all tools

AI Skill
SKILL.md

Domain knowledge for Hours Calculator — workflow patterns, data models, and gotchas for your AI agent.

Hours Calculator

Pure time arithmetic for duration between two clock times and paid work hours across one or more shifts (with breaks and optional daily grouping).

Capabilities

  • Duration between times: Supply start and end in 24-hour HH:MM or HH:MM:SS. Get hours, minutes, seconds, and totals as decimal hours, decimal minutes, and whole seconds, plus a readable phrase. If end is earlier on the clock than start, either pass overnight=true (treats end as the next day) or the tool returns an error that points you to that flag.
  • Work hours from shifts: Each shift has clock_in, clock_out, optional break_minutes (default 0), and optional date (YYYY-MM-DD). If clock_out is earlier on the clock than clock_in, the block is treated as an overnight shift. Returns a per-shift breakdown, total paid hours/minutes/seconds, regular_hours and overtime_hours against overtime_threshold (default 40 total hours for the whole request), and daily_totals_hours when dates are present.

Gotchas

  • 24-hour times only; invalid strings are rejected with a short explanation.
  • Overtime is computed from the sum of all shifts in the call versus overtime_threshold, not per calendar week unless your caller only sends one week’s shifts.
  • break_minutes cannot exceed the gross span from clock-in to clock-out (before the break).

Tools in this Server (2)

Hours Calculator Duration

Calculate the duration between two times in 24-hour HH:MM or HH:MM:SS form. Returns hours, minutes, seconds, and totals in hours (decimal), minutes, a...

Hours Calculator Work Hours

Calculate total work hours from clock-in/clock-out times with per-shift break deductions. Supports multiple shifts; optional YYYY-MM-DD on each shift ...

Frequently Asked Questions

What is the Hours Calculator MCP server?

Calculate time duration between hours, track work hours with breaks, and detect overtime. Pure computation — no external calls. It provides 2 tools that AI agents can use through the Model Context Protocol (MCP).

How do I connect Hours Calculator to my AI agent?

Add the MCPBundles server URL to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.). The URL format is: https://mcp.mcpbundles.com/bundle/hours-calculator. Authentication is handled automatically.

How many tools does Hours Calculator provide?

Hours Calculator provides 2 tools that can be called by AI agents, along with a SKILL.md that gives your AI agent domain knowledge about when and how to use them.

What authentication does Hours Calculator require?

Hours Calculator uses open data APIs — no authentication required.

Setup Instructions

Connect Hours Calculator to any MCP client in minutes

https://mcp.mcpbundles.com/bundle/hours-calculator

What is MCP?

Model Context Protocol lets AI tools call external capabilities securely through a single URL. This bundle groups tools behind an MCP endpoint that many clients can use.

Use this bundle in 3 steps

  1. Copy the MCP URL above
  2. Open your AI tool and add a new MCP/connector
  3. Paste the URL and follow any auth prompts

Claude Desktop Users

Skip the manual setup! Use the .mcpb file format for one-click installation. Check the Claude Desktop tab for setup instructions.

Pick your tool tab for exact steps

Select ChatGPT, Cursor, Claude Code, or another tab for copy-paste config.

Ready to chat with Hours Calculator?

Same flow: Studio opens on this server after sign-in. Keep chatting to call tools from the conversation.

Hours Calculator MCP Server & Skill — 2 Tools