Harvest MCP Server
The Harvest MCP Server enables AI assistants like Claude to integrate with Harvest's API for time tracking and project management. With this server, you can:
Users: List all users and get detailed information about specific users
Time entries: View time entries with filtering options, create new entries, and start/stop timers
Projects: List projects with filtering options and retrieve detailed project information
Clients: List clients and access detailed client information
Tasks: View and filter tasks
Click on "Deploy 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., "@Harvest MCP Server show me my time entries from yesterday"
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.
Harvest MCP Server
This MCP (Model Context Protocol) server provides integration with the Harvest time tracking and project management API. It allows Claude and other MCP-compatible AI assistants to interact with your Harvest account, helping you manage time entries, projects, clients, and more.
Features
The server provides the following functionality:
Users
List users
Get user details
Time Entries
List time entries with filtering options
Create new time entries
Start/stop timers
Query time entry details
Get unsubmitted timesheets (time entries not yet submitted for approval)
Projects
List projects with filtering options (by client, is_active, updated_since, page, per_page)
Retrieve detailed project information
Create new projects
Update existing projects (also used to archive: pass
is_active=False)Delete projects (destructive — also deletes the project's time entries and expenses, though invoices are retained; archiving is recommended instead)
Task Assignments
List task assignments (account-wide or scoped to a project)
Retrieve detailed task assignment information
Create new task assignments (link a task to a project)
Update existing task assignments
Delete task assignments (only when no time entries are logged against them)
User Assignments
List user assignments (account-wide or scoped to a project)
Retrieve detailed user assignment information
Create new user assignments (link a user to a project)
Update existing user assignments
Delete user assignments (only when no time entries or expenses are logged against them)
Clients
List clients with filtering options
Retrieve detailed client information
Tasks
List available tasks with filtering options
Estimates
List estimates with filtering options (by client, state, date range, updated_since)
Retrieve detailed estimate information
Look up an estimate by its user-facing number (e.g. "79")
List messages associated with an estimate
Create new estimates with line items
Update existing estimates (add/update/delete line items via
_destroy)Change estimate state (send, accept, decline, re-open) without sending email
Send estimate messages (emails the estimate to recipients)
Delete estimates
Related MCP server: Harvest MCP Server
Setup Instructions
Prerequisites
Python 3.10 or higher
Harvest account with API access
Harvest API key and Account ID
Integrating with Claude Desktop
Create or edit your Claude Desktop configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows (MSIX installs — the default from claude.ai/download):
%LOCALAPPDATA%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\claude_desktop_config.jsonWindows (older/non-MSIX installs):
%APPDATA%\Claude\claude_desktop_config.json
Add the Harvest MCP server configuration:
{ "mcpServers": { "harvest": { "command": "uv", "args": [ "run", "--directory", "change_directory", "harvest-mcp-server.py" ], "env": { "HARVEST_ACCOUNT_ID": "account_id", "HARVEST_API_KEY": "api_key" } } } }Restart Claude Desktop.
Verify the integration by looking for the hammer icon in Claude's interface.
Example Queries
Once connected, you can ask Claude about your Harvest data with queries like:
"Show me my time entries from last week"
"List all my active projects"
"Start a timer for project [project_id] and task [task_id]"
"Show me all active clients"
"List all available tasks"
"Get my unsubmitted timesheets from this month"
"Show me unsubmitted time entries for user [user_id]"
"Show me all accepted estimates from this quarter"
"Find the estimate numbered [number]"
"Create a draft estimate for client [client_id] with these line items..."
"Mark estimate [id] as sent"
"Email estimate [id] to client@example.com"
"Create a new project called [name] for client [client_id], billed by Project, no budget"
"Archive project [project_id]"
"Assign task [task_id] to project [project_id] as billable"
"Make user [user_id] a project manager on project [project_id]"
"List everyone assigned to project [project_id]"
Customization
You can modify the server code to add more functionality or customize the existing tools to better suit your workflow. The server uses FastMCP, which makes it easy to add new tools by simply adding new functions with the @mcp.tool() decorator.
Troubleshooting
API Errors: Make sure your Harvest API key and Account ID are correct and have the necessary permissions.
Connection Issues: Verify that your Claude Desktop configuration has the correct path to the server script.
Missing Dependencies: Ensure you've installed all required packages in your Python environment.
Read-Only Mode
You can run the server in read-only mode by setting the HARVEST_READ_ONLY environment variable to true. This disables all write operations (creating time entries, starting/stopping timers, creating/updating/deleting estimates, changing estimate state, sending estimate messages, and creating/updating/deleting projects, task assignments, and user assignments) while keeping all read operations available.
{
"mcpServers": {
"harvest": {
"command": "uv",
"args": [
"run",
"--directory",
"change_directory",
"harvest-mcp-server.py"
],
"env": {
"HARVEST_ACCOUNT_ID": "account_id",
"HARVEST_API_KEY": "api_key",
"HARVEST_READ_ONLY": "true"
}
}
}
}When read-only mode is enabled, any attempt to call a write tool will return an error message explaining that the server is in read-only mode and how to enable write access.
Security Notes
This server requires your Harvest API credentials to function. Make sure to:
Keep your API key secure
Do not share your claude_desktop_config.json file
Consider using a dedicated API key with limited permissions for this integration
Available Tools
11 toolscreate_time_entryC
Create a new time entry.
Args:
project_id: The ID of the project to associate with the time entry
task_id: The ID of the task to associate with the time entry
spent_date: The date when the time was spent (YYYY-MM-DD)
hours: The number of hours spent
notes: Optional notes about the time entry
Inputs: hours (required), project_id (required), spent_date (required), task_id (required), +1 more.
get_client_detailsC
Get detailed information about a specific client.
Args:
client_id: The ID of the client to retrieve
Inputs: client_id (required).
get_project_detailsC
Get detailed information about a specific project.
Args:
project_id: The ID of the project to retrieve
Inputs: project_id (required).
get_user_detailsB
Retrieve details for a specific user.
Args:
user_id: The ID of the user to retrieve
Inputs: user_id (required).
list_clientsB
List clients with optional filtering.
Args:
is_active: Pass true to only return active clients and false to return inactive clients
Inputs: is_active.
list_projectsB
List projects with optional filtering.
Args:
client_id: Filter by client ID
is_active: Pass true to only return active projects and false to return inactive projects
Inputs: client_id, is_active.
list_tasksB
List all tasks with optional filtering.
Args:
is_active: Pass true to only return active tasks and false to return inactive tasks
Inputs: is_active.
list_time_entriesB
List time entries with optional filtering.
Args:
user_id: Filter by user ID
from_date: Only return time entries with a spent_date on or after the given date (YYYY-MM-DD)
to_date: Only return time entries with a spent_date on or before the given date (YYYY-MM-DD)
is_running: Pass true to only return running time entries and false to return non-running time entries
Inputs: from_date, is_running, to_date, user_id.
list_usersA
List all users in your Harvest account.
Args:
is_active: Pass true to only return active users and false to return inactive users
page: The page number for pagination
per_page: The number of records to return per page (1-2000)
Inputs: is_active, page, per_page.
start_timerC
Start a new timer.
Args:
project_id: The ID of the project to associate with the time entry
task_id: The ID of the task to associate with the time entry
notes: Optional notes about the time entry
Inputs: project_id (required), task_id (required), notes.
stop_timerB
Stop a running timer.
Args:
time_entry_id: The ID of the running time entry to stop
Inputs: time_entry_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Every tool has a clearly distinct purpose targeting specific resources and actions. For example, create_time_entry vs. start_timer vs. stop_timer handle different aspects of time tracking, while list_* tools retrieve collections and get_* tools fetch individual details. No tools appear to overlap or cause confusion.
All tools follow a consistent verb_noun pattern with snake_case throughout. The naming is highly predictable: list_* for collections, get_* for details, create_* for creation, and start_/stop_ for timer actions. There are no deviations in style or convention.
With 11 tools, this server is well-scoped for time tracking and project management. Each tool earns its place by covering essential operations like CRUD for time entries, listing resources, and timer control. The count is neither too sparse nor bloated for the domain.
The tool surface provides strong coverage for core time tracking workflows, including creating/listing time entries, managing timers, and accessing clients, projects, tasks, and users. A minor gap exists in missing update/delete operations for time entries and other resources, but agents can work around this with the available tools.
Related MCP Connectors
Connects AI assistants to TrackingTime for querying time entries, projects, tasks, customers, and team data using natural language.
Time tracking you talk to: log, check and fix your work hours from your AI assistant.
Manage projects, tasks, time tracking, and team collaboration through natural language.
Log hours and invoice clients from your AI chat. Time tracking and invoicing for freelancers.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceProvides MCP integration for Harvest's time tracking, project management, and invoicing functionality, enabling natural language interaction with Harvest API through tools for managing clients, time entries, projects, tasks, and users.-
- FlicenseNot gradedqualityDmaintenanceEnables interaction with the Harvest time tracking API for managing time entries, projects, and tasks through natural language.5-
- AlicenseNot gradedqualityDmaintenanceEnables LLM clients to interact with Harvest time tracking accounts for managing clients, projects, users, and time entries via natural language.8 npm1MIT
- AlicenseNot gradedqualityDmaintenanceConnect your AI assistant to Harvest time tracking. Query time entries, analyze profitability, track utilization, and manage Harvest data through natural language.7MIT