Harvest logo

Harvest

Community
adrian-dotco

An MCP server for natural language time entry in Harvest

Publisheradrian-dotco
Repositoryharvest-mcp-server
LanguageJavaScript
Forks
8
Stars
5
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Harvest exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    5 stars and 8 forks from the linked repository.

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.)

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:

bash
git clone https://github.com/adrian-dotco/harvest-mcp-server.git
cd harvest-mcp-server
  1. Install dependencies and build:
bash
npm install
npm run build
  1. Run the setup script:
bash
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:

bash
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

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "harvest-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "harvest-mcp-server"
      ],
      "env": {
        "HARVEST_ACCESS_TOKEN": "your_harvest_access_token",
        "HARVEST_ACCOUNT_ID": "your_harvest_account_id",
        "STANDARD_WORK_DAY_HOURS": "7.5",
        "TIMEZONE": "Australia/Perth"
      }
    }
  }
}

Use Harvest MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Harvest is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Harvest as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Harvest MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "harvest": {
      "command": "npx",
      "args": [
        "-y",
        "harvest-mcp-server-setup"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Harvest MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Harvest MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Harvest to help me with this task?
Harvest
Sure. I read it.
Here is what I found using Harvest.

Frequently asked questions

What is the Harvest MCP server used for?

Harvest is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Harvest MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Harvest with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Harvest MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Harvest connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Harvest MCP to TypingMind?

Harvest runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Harvest MCP provide in TypingMind?

Harvest exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Harvest MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Harvest requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇