Hubstaff MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Hubstaff MCP ServerShow my time entries for this week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Hubstaff MCP Server
A Model Context Protocol (MCP) server for Hubstaff API integration, enabling seamless time tracking, project management, and team collaboration through AI assistants.
Features
Time Tracking: Create, update, and retrieve time entries
Project Management: List and manage projects, tasks, and teams
User Management: Get user information and organization details
Activity Monitoring: Access screenshots, activities, and productivity data
Reporting: Generate timesheets and activity reports
Related MCP server: TimeCamp MCP Server
Installation
Using uv (recommended)
uv add hubstaff-mcpUsing pip
pip install hubstaff-mcpConfiguration
Before using the server, you need to obtain a Personal Access Token from Hubstaff:
Log in to your Hubstaff account
Go to Settings → Personal Access Tokens
Create a new token with the required permissions
Environment Variables
Set the following environment variable:
export HUBSTAFF_REFRESH_TOKEN="your_personal_access_token_here"Or create a .env file in your project root:
HUBSTAFF_REFRESH_TOKEN=your_personal_access_token_hereNote: The personal access token is used as a refresh token to obtain temporary access tokens for API calls. This approach provides better security by automatically handling token renewal.
Usage
Running the Server
hubstaff-mcpOr using uv:
uv run hubstaff-mcpConfiguration with Claude Desktop
Add the following to your Claude Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
Option 1: Using the installed package (Recommended)
{
"mcpServers": {
"hubstaff": {
"command": "hubstaff-mcp",
"env": {
"HUBSTAFF_REFRESH_TOKEN": "your_personal_access_token_here"
}
}
}
}Option 2: Using uv with project directory
{
"mcpServers": {
"hubstaff": {
"command": "uv",
"args": [
"--directory",
"/path/to/your/project",
"run",
"hubstaff-mcp"
],
"env": {
"HUBSTAFF_REFRESH_TOKEN": "your_personal_access_token_here"
}
}
}
}Option 3: Using uv run directly
{
"mcpServers": {
"hubstaff": {
"command": "uv",
"args": ["run", "hubstaff-mcp"],
"env": {
"HUBSTAFF_REFRESH_TOKEN": "your_personal_access_token_here"
}
}
}
}Available Tools
The server provides the following tools:
Time Management
get_time_entries- Retrieve time entries with filtering optionscreate_time_entry- Create a new time entryupdate_time_entry- Update an existing time entrydelete_time_entry- Delete a time entry
Project & Task Management
get_projects- List all projectsget_project_details- Get detailed project informationget_tasks- List tasks for a projectcreate_task- Create a new taskupdate_task- Update task details
User & Organization
get_current_user- Get current user informationget_users- List organization usersget_organizations- List user organizationsget_teams- List organization teams
Activity & Monitoring
get_activities- Retrieve user activitiesget_screenshots- Get screenshots for time entriesget_timesheets- Generate timesheets
Example Queries
Once configured with Claude Desktop, you can ask:
"Show me my time entries for this week"
"Create a new task called 'Update documentation' in the Development project"
"What projects am I currently working on?"
"Get my team's activity summary for today"
"Show me screenshots from my last work session"
Development
Setup
git clone https://github.com/yourusername/hubstaff-mcp
cd hubstaff-mcp
uv sync --devRunning Tests
uv run pytestCode Formatting
uv run black .
uv run ruff check .API Coverage
This MCP server covers the following Hubstaff API endpoints:
Time Entries
Projects & Tasks
Users & Organizations
Teams
Activities & Screenshots
Timesheets
Notes
Contributing
Fork the repository
Create a feature branch
Make your changes
Add tests for new functionality
Run the test suite
Submit a pull request
License
MIT License - see LICENSE file for details.
Support
For issues and questions:
GitHub Issues: https://github.com/yourusername/hubstaff-mcp/issues
Hubstaff API Documentation: https://developer.hubstaff.com/docs/hubstaff_v2
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server providing AI assistants with comprehensive project, task, and subtask management capabilities with project-specific storage.Last updated296087MIT

TimeCamp MCP Serverofficial
Flicense-qualityDmaintenanceA Model Context Protocol server that provides time tracking integration with TimeCamp, allowing AI assistants to create, retrieve, update, and delete time entries through natural language commands.Last updated1
Tempo Filler MCP Serverofficial
AlicenseAqualityDmaintenanceA Model Context Protocol server enabling AI assistants to interact with Tempo's time tracking system in JIRA for worklog retrieval, creation, and management.Last updated5325ISC- Flicense-qualityFmaintenanceA Model Context Protocol (MCP) server that provides AI assistants full access to the Motion task and project management API, enabling task, project, and schedule management.Last updated
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP (Model Context Protocol) server for Appwrite
A Model Context Protocol server for Wix AI tools
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cdmx-in/hubstaff-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server