Skip to main content
Glama
adrian-dotco

Harvest Natural Language Time Entry MCP Server

by adrian-dotco

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

  1. Install the Claude desktop app

  2. Clone this repository:

git clone https://github.com/adrian-dotco/harvest-mcp-server.git
cd harvest-mcp-server
  1. Install dependencies and build:

npm install
npm run build
  1. Run the setup script:

node build/setup.js
  1. Follow the prompts to enter your:

  2. 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 build

The 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:

  1. 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"
  1. 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"
  1. 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 projects

list_tasks

List available tasks for a specific project:

Show tasks for Project X

list_entries

View recent time entries:

Show my recent time entries

Configuration

The server supports these environment variables:

  • HARVEST_ACCESS_TOKEN: Your Harvest personal access token

  • HARVEST_ACCOUNT_ID: Your Harvest account ID

  • STANDARD_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:

  1. Fork the repository

  2. Create a feature branch

  3. Submit a pull request

License

MIT License - see LICENSE for details

Available Tools

5 tools
get_time_reportC

Get time reports using natural language

ParametersJSON Schema
NameRequiredDescriptionDefault
textYesNatural language query (e.g., "Show time report for last month", "Get time summary for Project X")

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool uses natural language but doesn't explain how it processes queries (e.g., parsing accuracy, supported formats), what the output looks like (e.g., report format, data included), or any limitations (e.g., query complexity, error handling). This leaves significant gaps in understanding the tool's behavior, scoring a 2 for inadequate transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise and front-loaded with a single sentence: 'Get time reports using natural language.' It efficiently conveys the core purpose without unnecessary details, earning a 5 for zero waste and appropriate sizing given the tool's simplicity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (natural language processing for reports) and lack of annotations or output schema, the description is incomplete. It doesn't address how reports are generated, what data they include, or any behavioral traits like error handling. For a tool that likely involves nuanced processing, this minimal description fails to provide sufficient context, scoring a 2.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, with the 'text' parameter well-documented as a natural language query including examples. The description adds minimal value beyond the schema, only reiterating the natural language aspect without providing additional syntax or format details. This meets the baseline of 3 for high schema coverage, but doesn't enhance parameter understanding further.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Get time reports using natural language.' It specifies the verb ('Get') and resource ('time reports'), and distinguishes it from siblings like 'list_entries' or 'log_time' by focusing on report generation rather than listing or logging. However, it doesn't explicitly differentiate from all siblings (e.g., 'list_projects' might also involve time-related data), keeping it at a 4 rather than a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention scenarios where natural language queries are preferred over structured queries (e.g., from siblings like 'list_entries'), nor does it specify prerequisites or exclusions. This lack of usage context leaves the agent with minimal direction, scoring a 2 for no guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_entriesC

List recent time entries

ParametersJSON Schema
NameRequiredDescriptionDefault
fromNoStart date (YYYY-MM-DD)
toNoEnd date (YYYY-MM-DD)

TDQS

C2.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states a read operation ('List') but lacks details on permissions, pagination, rate limits, or what 'recent' entails. This is inadequate for a tool with potential behavioral nuances.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero waste. It's appropriately sized and front-loaded, making it easy to scan and understand the core purpose immediately.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, no output schema, and a simple input schema, the description is incomplete. It doesn't address behavioral aspects like return format, error handling, or how it differs from siblings, leaving gaps for an AI agent to understand full context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, with clear descriptions for 'from' and 'to' parameters. The description adds no additional meaning beyond the schema, as it doesn't explain how 'recent' relates to the date range or provide usage examples. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'List recent time entries' states a clear verb ('List') and resource ('time entries'), but lacks specificity about scope or differentiation from siblings like 'get_time_report' or 'log_time'. It's vague about what 'recent' means compared to the date parameters in the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives such as 'get_time_report' (which might offer more detailed reporting) or 'log_time' (for creating entries). The description implies a basic listing function but offers no explicit context or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_projectsB

List available Harvest projects

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It states it's a list operation, implying read-only behavior, but doesn't disclose any behavioral traits like pagination, sorting, filtering capabilities, rate limits, or authentication requirements. For a tool with zero annotation coverage, this is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without any wasted words. It's appropriately sized and front-loaded, making it easy for an agent to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (0 parameters, no output schema, no annotations), the description is minimally adequate but lacks completeness. It doesn't explain what 'available' means (e.g., active vs. archived), the return format, or any constraints, leaving gaps for the agent to handle.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters with 100% schema description coverage, so the schema already fully documents the lack of inputs. The description adds no parameter information, but with no parameters, a baseline of 4 is appropriate as there's nothing to compensate for.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'List' and the resource 'available Harvest projects', making the purpose immediately understandable. It doesn't differentiate from siblings like 'list_entries' or 'list_tasks', which would require specifying what distinguishes projects from other listable resources.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like 'get_time_report' or 'list_entries'. The description implies it's for listing projects but doesn't specify context, prerequisites, or exclusions, leaving the agent to infer usage from the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_tasksC

List available tasks for a project

ParametersJSON Schema
NameRequiredDescriptionDefault
project_idYesProject ID

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It states it 'lists' tasks, implying a read-only operation, but doesn't disclose behavioral traits such as pagination, sorting, filtering beyond project_id, authentication needs, rate limits, or what happens if the project_id is invalid. For a tool with zero annotation coverage, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero waste. It's front-loaded with the core purpose and appropriately sized for a simple tool. Every word earns its place without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, no output schema, and a simple input schema, the description is incomplete. It doesn't explain return values (e.g., task details, format), error handling, or behavioral context. For a tool that likely returns a list of tasks, more information on output and usage would be helpful to compensate for the lack of structured data.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with the parameter 'project_id' documented as 'Project ID'. The description adds minimal value beyond the schema, only implying that tasks are listed for a project. Baseline is 3 since the schema does the heavy lifting, but the description doesn't compensate with additional context like format or constraints.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('List') and resource ('tasks'), specifying it's for a project. It distinguishes from siblings like 'list_projects' (which lists projects) and 'list_entries' (which likely lists time entries). However, it doesn't specify scope (e.g., 'all' or 'active') or differentiate from 'get_time_report' (which might involve tasks).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing a valid project_id) or exclusions (e.g., not for archived tasks). The context implies it's for listing tasks, but there's no explicit comparison to siblings like 'log_time' (which might create tasks).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

log_timeC

Log time entry using natural language

ParametersJSON Schema
NameRequiredDescriptionDefault
textYesNatural language time entry (e.g. "2 hours on Project X doing development work yesterday")

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It states the tool logs time but doesn't disclose behavioral traits such as whether this is a write operation (implied but not confirmed), if it requires authentication, what happens on success/failure, or any rate limits. This leaves significant gaps in understanding the tool's behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero waste. It's front-loaded with the core purpose and method, making it easy to parse quickly. Every word earns its place without redundancy or unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity as a write operation with no annotations and no output schema, the description is incomplete. It doesn't explain what the tool returns, error conditions, or integration context, leaving the agent with insufficient information for reliable use. This is inadequate for a mutation tool without structured support.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, with the parameter 'text' fully documented in the schema. The description adds minimal value by reiterating 'natural language' but doesn't provide additional semantics beyond what the schema already specifies (e.g., examples or formatting nuances). Baseline 3 is appropriate as the schema handles the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Log time entry') and the method ('using natural language'), which distinguishes it from sibling tools like 'get_time_report' or 'list_entries' that likely retrieve rather than create data. However, it doesn't specify the resource being logged (e.g., to a timesheet system), making it slightly less specific than a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'list_entries' for viewing logs or 'list_projects' for context. It implies usage for logging time but doesn't mention prerequisites, exclusions, or explicit alternatives, leaving the agent to infer based on tool names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 5 tool updatesv1.0.0
    • First observedget_time_report
    • First observedlist_entries
    • First observedlist_projects
    • First observedlist_tasks
    • First observedlog_time

TDQS

B3.4/5.0
Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness4/5

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

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Integrates with Harvest time tracking API, enabling AI assistants to manage time entries, projects, clients, and tasks through natural language commands.
    11
    37
    MIT
  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Provides 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.
    -

Latest Blog Posts

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/adrian-dotco/harvest-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server