# Connect Hubstaff to Your AI Agent (Universal MCP)

> Use your AI to track time, manage employees, and create reports in Hubstaff — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http hubstaff https://api.universalmcp.app/mcp/hubstaff`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/hubstaff` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "hubstaff", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: Hubstaff | Category: HR & Payroll (Hubstaff) | Auth: Encrypted workspace API key
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Timesheet records, Pay rate settings, Payroll drafts (approval); 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=hubstaff | Guide: https://universalmcp.app/mcp/hubstaff
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (12 actions: 8 Read, 4 Write)
Perform over 10 actions across reports, timesheets, time entries, attendance, activity, location, and apps. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Reports (2):** Query Workforce Data (read), Create Custom Dashboard (write)
- **Timesheets (2):** Check Timesheet Submissions (read), Check Overtime Trends (read)
- **Time Entries (2):** Log Time (write), Attach Time Entry Note (write)
- **Attendance (1):** Check Attendance (read)
- **Activity (1):** Check Idle Time (read)
- **Location (1):** View Location History (read)
- **Apps (1):** Check Unapproved Apps (read)
- **Payroll (1):** Check Hours Before Pay Run (read)
- **Integrations (1):** Sync Hours To Salesforce (write)

## Example Prompts for Hubstaff
- **Unapproved hours:** "Summarize all unapproved Hubstaff time entries by employee and project for the current pay period."
- **Budget burn:** "Show which Hubstaff projects have used more than 80% of their budgeted hours this month."
- **Overtime check:** "List Hubstaff employees who logged over 40 hours this week and the projects they worked on."
- **Draft payroll batch:** "Draft a Hubstaff payroll batch from approved hours and hold it for my review before any payments run."
