Hubstaff API & CLI

Product · API / developer platform by Hubstaff

Connect your workforce data to every tool and AI agent in your stack.

Hubstaff API & CLI is a developer-focused platform that provides REST API, CLI, and MCP server access to workforce data. It enables businesses to build custom integrations, automate payroll workflows, and query time and activity data using AI assistants like Claude and ChatGPT.

Languages
English

Category: Developer Tools

APIs and SDKs
REST API, CLI, MCP Server, Webhooks
Platforms
Web, Windows, Mac, Linux, iOS, Android
Deployment
Cloud-based API with local CLI and MCP server components
Authentication Protocol
OAuth 2.0 and OpenID Connect
API Architecture
REST API
AI Protocol Support
Model Context Protocol (MCP)
  • REST API for time, activity, and payroll data
  • Official CLI for terminal-based automation
  • MCP server for Claude and ChatGPT integration
  • OAuth 2.0 and OpenID Connect authentication

Overview

Hubstaff API & CLI is a developer platform that makes workforce data accessible for custom workflows, internal dashboards, and AI integrations. It provides businesses with a REST API, a Command Line Interface (CLI), and a Model Context Protocol (MCP) server to programmatically manage time, activity, and payroll data. The platform allows developers to build custom client portals, automate repetitive administrative tasks, and connect workforce intelligence to AI assistants like Claude and ChatGPT. It supports secure access through OAuth 2.0 and OpenID Connect, ensuring that data tokens follow existing role-based permissions. By bridging the gap between raw workforce data and the enterprise tech stack, it enables organizations to query their data in plain English and automate the full loop from clock-in to client invoice.

Developer Interfaces

  • REST API Access: The REST API provides programmatic access to time, activity, project, payroll, and billing data for custom integrations.
  • Official CLI Tooling: The Command Line Interface allows developers to configure devices, apply bulk actions, and automate repetitive admin work from the terminal.
  • MCP Server Integration: A Model Context Protocol server connects workforce data to AI tools like Claude and ChatGPT for plain-English querying.
  • Real-time Webhooks: Webhooks automatically send timer, schedule, attendance, and project events to external tools as they happen.

Data and Integration Capabilities

  • Time and Activity Data: Developers can pull tracked time, app and URL usage, attendance shifts, and optional screenshots into BI tools or dashboards.
  • PTO and Scheduling Management: The API allows for managing PTO policies, approving requests, and reading balances from external HR tools.
  • Invoicing and Budgeting: Pull project budgets and limit history into finance tools to keep billing tied to hours actually tracked.

Use cases

  • Developers build custom client portals that allow clients to log in and view activities, tasks, and notes directly.
  • Operations leaders use the MCP server to ask AI assistants plain-English questions about project budgets and overwork.
  • Finance teams automate the synchronization of tracked hours and pay rates into external payroll or HRIS systems.
  • IT managers use the CLI to perform bulk actions and configure devices across the organization from the terminal.

Specifications

APIs and SDKs
REST API, CLI, MCP Server, Webhooks
Platforms
Web, Windows, Mac, Linux, iOS, Android
Deployment
Cloud-based API with local CLI and MCP server components
Integrations
Jira, Slack, Wise, Deel, Asana, Google Calendar, Trello, GitHub, ClickUp, Zendesk, QuickBooks, Monday, PayPal, Gusto, Salesforce
Authentication Protocol
OAuth 2.0 and OpenID Connect
API Architecture
REST API
AI Protocol Support
Model Context Protocol (MCP)
Interface Options
CLI, API, MCP Server
Data Formats for Export
PDF, CSV via reporting tools
Supported Platforms
Windows, Mac, Linux, iOS, Android, Web

How it works

  1. Explore Documentation: Developers can explore the REST API documentation, guides, and live testing tools at the Hubstaff developer portal.
  2. Configure Authentication: Set up authentication using OAuth 2.0 and OpenID Connect to securely connect your applications to Hubstaff data.
  3. Deploy CLI or MCP Server: Install the Hubstaff CLI or MCP server to begin querying workforce data through the terminal or AI assistants.
  4. Build Custom Workflows: Use the API to build custom dashboards, sync payroll data, or automate reporting workflows across your tech stack.

Pricing

Team Plan and above
Included in subscription

FAQ

Which Hubstaff plans include API access?

The Hubstaff API is included in the Team plan and above at no separate subscription cost or add-on fee.

Can I use the API with AI assistants?

Yes, Hubstaff provides an official MCP server that lets AI assistants like Claude and ChatGPT query and reason over workforce data.

Does the CLI require manual updates for new endpoints?

The CLI automatically picks up new endpoints from the published schema, ensuring it stays updated as the API grows.

See the API docs

Added by AntSpace from public sources (hubstaff.com).

Related

More products by Hubstaff