Harvest Time Tracking MCP Server
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 Time Tracking MCP ServerList my active projects"
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 Time Tracking MCP Server
A TypeScript based MCP (Model Context Protocol) server for Harvest time tracking app enabling LLM clients to interact with Harvest account.
Installation
npx -y @mayankg0324/mcp-server-harvestRelated MCP server: Harvest MCP Server
Prerequisites
Node.js >= 18 (or Bun Runtime for development)
Harvest account with API access
API Personal Access Token from Harvest
Account ID from Harvest
More details on how to create a Personal Access Token can be found in the Harvest API documentation.
Available Tools
Tool | Description | Inputs | Output |
| Get company information | None | Company Information (Name, URL, ID and Currency) |
| Searches for clients | • name: string (optional) - Client name• isActive: boolean (optional) - Active status | List of clients with IDs and details |
| Get client information | • clientId: string - Client ID | Detailed client information |
| Searches for projects | • name: string (optional) - Project name• clientId: string (optional) - Client ID• isActive: boolean (optional) - Active status | List of projects with IDs and details |
| Get project information | • projectId: string - Project ID | Detailed project information |
| Lists all users | None | List of users with IDs and details |
| Get user information | • userId: string - User ID | Detailed user information |
| List project user assignments | • projectId: string - Project ID | List of users assigned to project |
| List project task assignments | • projectId: string - Project ID | List of tasks assigned to project |
| Searches for time entries | • from: string (optional) - Start date (YYYY-MM-DD)• to: string (optional) - End date (YYYY-MM-DD)• userId: string (optional) - User ID• projectId: string (optional) - Project ID• clientId: string (optional) - Client ID | List of time entries with details |
| Get time entry details | • timeEntryId: string - Time Entry ID | Detailed time entry information |
| Create a new time entry | • projectId: string - Project ID• taskId: string - Task ID• userId: string - User ID• hours: number - Hours spent• notes: string (optional) - Additional notes | Created time entry details |
Note: More tools coming soon.
Usage
Claude Desktop
Open the Claude desktop config file claude-desktop-config.json and add the following under mcpServers:
{
"mcpServers": {
"Harvest": {
"command": "npx",
"args": [
"-y",
"@mayankg0324/mcp-server-harvest"
],
"env": {
"HARVEST_ACCOUNT_ID": "<Harvest Account ID>",
"HARVEST_ACCESS_TOKEN": "<Harvest Personal Access Token>",
"HARVEST_BASE_URL": "<Harvest Base URL>"
}
}
}
}Cursor IDE
Open the Cursor IDE config file ~/.cursor/mcp.json or <project-root>/.cursor/mcp.json and add the following under mcpServers:
{
"mcpServers": {
"Harvest": {
"command": "npx",
"args": [
"-y",
"@mayankg0324/mcp-server-harvest"
],
"env": {
"HARVEST_ACCOUNT_ID": "<Harvest Account ID>",
"HARVEST_ACCESS_TOKEN": "<Harvest Personal Access Token>",
"HARVEST_BASE_URL": "<Harvest Base URL>"
}
}
}
}Troubleshooting
spawn npx ENOENT or env: node: No such file or directory
This happens when your MCP client (Claude Desktop, Cursor) cannot find npx or node in its PATH. GUI applications often don't inherit your shell's PATH, especially if you use a version manager like nvm, fnm, or volta.
Fix: Use the full path to npx and include your Node bin directory in the PATH env variable:
# Find your npx and node paths
which npx
# e.g. /Users/you/.nvm/versions/node/v22.20.0/bin/npxThen update your MCP config:
{
"mcpServers": {
"Harvest": {
"command": "/Users/you/.nvm/versions/node/v22.20.0/bin/npx",
"args": [
"-y",
"@mayankg0324/mcp-server-harvest"
],
"env": {
"PATH": "/Users/you/.nvm/versions/node/v22.20.0/bin:/usr/bin:/bin",
"HARVEST_ACCOUNT_ID": "<Harvest Account ID>",
"HARVEST_ACCESS_TOKEN": "<Harvest Personal Access Token>",
"HARVEST_BASE_URL": "<Harvest Base URL>"
}
}
}
}Local Development
Install dependencies:
npm installBuild the project:
npm run buildThis will create a
distdirectory containing the compiled JavaScript files.To use the local development version, modify your MCP server config to point to the local build:
{ "mcpServers": { "Harvest": { "command": "node", "args": [ "path/to/local/build/dist/index.js" ], "env": { "HARVEST_ACCOUNT_ID": "<Harvest Account ID>", "HARVEST_ACCESS_TOKEN": "<Harvest Personal Access Token>", "HARVEST_BASE_URL": "<Harvest Base URL>" } } } }Restart the client application (Claude, Cursor) to apply the changes.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage projects, tasks, time tracking, and team collaboration through natural language.
Read time entries, projects, clients, tasks and invoices; log and update tracked time.
Manage Avaza projects, tasks, timesheets, expenses, invoices, and scheduling from AI assistants.
Log hours and invoice clients from your AI chat. Time tracking and invoicing for freelancers.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables natural language time tracking and reporting for Harvest, including automatic leave requests, project/task matching, and date parsing.56 npm5MIT
- AlicenseAqualityDmaintenanceIntegrates with Harvest time tracking API, enabling AI assistants to manage time entries, projects, clients, and tasks through natural language commands.1138MIT
- -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-