Harvest Natural Language Time Entry MCP Server
The Harvest Natural Language Time Entry MCP Server allows you to interact with Harvest using natural language commands to manage time entries efficiently. With this server, you can:
Log time entries using natural language descriptions of work done, duration, projects, and tasks
Get detailed time reports based on various periods (e.g., this week, last month) and categories (by project, client, task, or user)
List all available Harvest projects
List tasks for a specific project
View recent time entries with optional date filters
Handle special requests like logging leave (sick, annual) for a full standard workday
Utilize smart date parsing for references like "today", "yesterday", and "last Friday"
Benefit from automatic project and task matching based on your natural language input
Configure standard work day hours and timezone settings
Runs as a Node.js application, connecting Harvest's time tracking service with Claude's AI interface to enable natural language processing of time entries and leave requests.
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 Natural Language Time Entry MCP Server log 3 hours on Project Alpha doing code review 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 Natural Language Time Entry MCP Server
An MCP server that lets you log Harvest time entries using natural language, including special handling for leave requests. This server makes time tracking more intuitive by understanding natural language inputs and automatically handling common scenarios like leave requests.
Features
🗣️ Natural language time entry parsing
🏖️ Special leave request handling (e.g., "I'm off sick today")
⏰ Configurable work day hours
🌍 Timezone support
🎯 Automatic project and task matching
📅 Smart date parsing (today, yesterday, etc.)
Related MCP server: Harvest MCP Server
Prerequisites
Node.js installed
A Harvest account
Personal access token from Harvest Developer Tools
Account ID (shown on the same page as your token)
Installation
Installation
Install the Claude desktop app
Clone this repository:
git clone https://github.com/adrian-dotco/harvest-mcp-server.git
cd harvest-mcp-serverInstall dependencies and build:
npm install
npm run buildRun the setup script:
node build/setup.jsFollow the prompts to enter your:
Harvest Personal Access Token (from https://id.getharvest.com/developers)
Harvest Account ID
Standard work day hours (default: 7.5)
Timezone (default: Australia/Perth)
Restart Claude desktop app
That's it! You can now use natural language time tracking in Claude.
Staying Updated
To update to the latest version:
git pull
npm install
npm run buildThe setup script will have configured Claude to use your local build of the server, so any updates you pull will be automatically available after rebuilding.
Usage
The server provides several tools for interacting with Harvest:
log_time
Log time entries using natural language. Examples:
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 standard work day hours):
"I'm off sick today"
"I'm unwell today"
"Taking annual leave next week"get_time_report
Get time reports using natural language queries. Examples:
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"
Report Details: Each report includes:
Total hours worked
Billable vs non-billable hours
Billable amounts (if you have permission)
Project/client/task/user details based on report type
list_projects
List all available Harvest projects:
List my projectslist_tasks
List available tasks for a specific project:
Show tasks for Project Xlist_entries
View recent time entries:
Show my recent time entriesConfiguration
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)
Development
The server is built using:
TypeScript
MCP SDK
chrono-node for natural language date parsing
Harvest API v2
To contribute:
Fork the repository
Create a feature branch
Submit a pull request
License
MIT License - see LICENSE for details
Available Tools
5 toolsget_time_reportC
Get time reports using natural language
Inputs: text (required).
list_entriesC
List recent time entries
Inputs: from, to.
list_projectsB
List available Harvest projects
Inputs: no named parameters.
list_tasksC
List available tasks for a project
Inputs: project_id (required).
log_timeC
Log time entry using natural language
Inputs: text (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a distinct purpose: get_time_report retrieves reports via natural language, list_entries shows recent entries, list_projects and list_tasks enumerate available resources, and log_time creates entries via natural language. There is no overlap or ambiguity between these functions.
All tools follow a consistent verb_noun pattern (e.g., get_time_report, list_entries, log_time) with clear, descriptive names. There are no deviations in naming conventions or styles.
With 5 tools, this server is well-scoped for its purpose of natural language time entry management. Each tool serves a specific role in the workflow, from listing resources to reporting and logging, making the count appropriate and efficient.
The toolset covers core operations like listing projects/tasks, logging time, and getting reports, which supports natural language interactions. A minor gap exists in update or delete functionality for time entries, but agents can likely work around this given the server's focus on natural language entry and reporting.
Maintenance
Related MCP Connectors
Manage projects, tasks, time tracking, and team collaboration through natural language.
Time tracking you talk to: log, check and fix your work hours from your AI assistant.
Start and stop timers, log and edit time records, search tasks and projects in Everhour.
1Read your tracked time and projects, pause tracking or add a note, from Claude or ChatGPT.
Related MCP Servers
- AlicenseAqualityDmaintenanceIntegrates with Harvest time tracking API, enabling AI assistants to manage time entries, projects, clients, and tasks through natural language commands.1137MIT
- -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