This MCP server lets you track time in Harvest using natural language commands. It understands conversational inputs like "2 hours on Project X today" and even handles leave requests automatically with phrases like "I'm off sick today."
Before installation, you'll need:
Install the Claude desktop app
Clone the repository:
git clone https://github.com/adrian-dotco/harvest-mcp-server.git
cd harvest-mcp-server
npm install
npm run build
node build/setup.js
When prompted, enter your:
Restart the Claude desktop app
To update to the latest version:
git pull
npm install
npm run build
Use the log_time command with natural language to create time entries:
Regular time entries:
"2 hours on Project X doing development work today"
"45 minutes on Project Y testing yesterday"
"3.5 hours on Project Z meetings last Friday"
Leave requests (automatically uses your configured standard work day hours):
"I'm off sick today"
"I'm unwell today"
"Taking annual leave next week"
Use get_time_report with natural language queries:
Time Period Options:
"Show time report for last month"
"Get time summary for this week"
"Show hours from January 1st to January 31st"
"Report time for Q1"
"Show me yesterday's hours"
Report Types:
By Project (default):
"Show time report for last month"
"Get project hours for this week"
By Client:
"Show time report by client for this month"
"Get hours by client for Q1"
By Task:
"Show time summary by task for January"
"Get task breakdown for last week"
By Team Member:
"Show team hours for last week"
"Get time report by user for this month"
Each report provides total hours worked, billable vs non-billable hours, and other relevant details.
To see all available Harvest projects:
List my projects
To view available tasks for a specific project:
Show tasks for Project X
To see your recent time entries:
Show my recent time entries
The server supports these environment variables:
HARVEST_ACCESS_TOKEN: Your Harvest personal access tokenHARVEST_ACCOUNT_ID: Your Harvest account IDSTANDARD_WORK_DAY_HOURS: Default hours for a full work day (default: 7.5)TIMEZONE: Your timezone (default: Australia/Perth)To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "harvest" '{"command":"node","args":["build/index.js"]}'See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:
{
    "mcpServers": {
        "harvest": {
            "command": "node",
            "args": [
                "build/index.js"
            ]
        }
    }
}To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json2. Add this to your configuration file:
{
    "mcpServers": {
        "harvest": {
            "command": "node",
            "args": [
                "build/index.js"
            ]
        }
    }
}3. Restart Claude Desktop for the changes to take effect