
adrian-dotco/harvest-mcp-server
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
An MCP server for natural language time entry in Harvest
Обзор
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. - 🗣️ 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.) - Node.js installed - A Harvest account - Personal access token from Harvest Developer Tools - Account ID (shown on the same page as your token) 5. Follow 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) That's it! You can now use natural language time tracking in Claude.
README
Показан фрагмент оригинального README. Открыть оригинал.
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
-
Install the Claude desktop app
-
Clone this repository:
git clone https://github.com/adrian-dotco/harvest-mcp-server.git
cd harvest-mcp-server
- Install dependencies and build:
npm install
npm run build
- Run the setup script:
node build/setup.js
-
Follow 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 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:
- 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"
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →