Harvest MCP Server
The most complete Harvest time tracking integration for Claude, with 54 tools covering all major Harvest API v2 endpoints for time entries, projects, tasks, clients, expenses, team assignments, and reports.
README
Harvest MCP Server
Time tracking using Claude.
The most complete Harvest integration for Claude. 54 tools covering all important endpoints of the Harvest API v2 — time entries, projects, tasks, clients, expenses, team assignments, and reports.
Built in TypeScript (not Python like most MCP servers for Harvest time tracking), bundled into a single file — no runtime dependencies to install.
Works with Claude Desktop Extension (one-click install, no config files), Claude Cowork Plugin (skills + slash commands), and Claude Code.
For Users
Quick Install (Claude Desktop Extension) — recommended
- Get your Harvest credentials — go to id.getharvest.com/developers, click "Create New Personal Access Token", and note your Access Token and Account ID
- Download
harvest-mcp.mcpbfrom the latest release - Double-click the
.mcpbfile (or drag it into Claude Desktop settings) - Enter your credentials when prompted — they're stored securely in your OS keychain
That's it. No terminal, no JSON files, no build steps. The extension installs the MCP server locally and handles everything — much simpler than servers that require manually editing JSON config files.
This is all you need to get started. The Cowork plugin below is optional but recommended.
Install (Claude Cowork Plugin) — optional
- Get your Harvest credentials (same as above)
- Download
harvest-plugin.zipfrom the latest release - In Claude Desktop, switch to the Cowork tab
- Click Customize in the left sidebar
- Click Browse plugins, then upload the
harvest-plugin.zipfile - Enter your credentials when prompted
The plugin adds slash commands (/log-time, /timer, /weekly-report, /catchup, /unsubmitted) and skills for time management, project analysis, and context-aware Harvest conventions.
What You Can Do
Track Time — create, update, and delete time entries. Start and stop timers. Log hours manually or with start/end times.
Manage Projects — create projects, assign users, set budgets, configure billing. Full CRUD on projects, tasks, and clients.
Track Expenses — log expenses by category, manage expense categories with unit-based pricing (e.g. mileage).
Get Reports — time reports by client/project/task/team, expense reports, project budget reports, uninvoiced amounts.
Team Management — assign users to projects, manage roles and rates, view project assignments.
All 54 Tools
| Area | Tools |
|---|---|
| Time Entries | list_time_entries get_time_entry create_time_entry update_time_entry delete_time_entry restart_timer stop_timer |
| Projects | list_projects get_project create_project update_project delete_project list_project_task_assignments |
| Tasks | list_tasks get_task create_task update_task delete_task |
| Clients | list_clients get_client create_client update_client delete_client |
| Users | get_me get_user list_users list_my_project_assignments list_user_project_assignments |
| Expenses | list_expenses get_expense create_expense update_expense delete_expense |
| Expense Categories | list_expense_categories get_expense_category create_expense_category update_expense_category delete_expense_category |
| Project User Assignments | list_all_user_assignments list_project_user_assignments get_project_user_assignment create_project_user_assignment update_project_user_assignment delete_project_user_assignment |
| Time Reports | time_report_by_clients time_report_by_projects time_report_by_tasks time_report_by_team |
| Expense Reports | expense_report_by_clients expense_report_by_projects expense_report_by_categories expense_report_by_team |
| Other Reports | project_budget_report uninvoiced_report |
Guided Prompts
| Prompt | What it does |
|---|---|
log-time |
Walks you through picking a project, task, hours, and notes |
weekly-summary |
Summarizes the week's entries by project/client with gap detection |
timer |
Quick start/stop/status for running timers |
Getting Your Harvest API Credentials
- Go to id.getharvest.com/developers
- Sign in with your Harvest account
- Click "Create New Personal Access Token"
- Give it a name (e.g. "Claude")
- Copy the Token and note your Account ID (shown on the same page)
For Developers
Prerequisites
- Node.js 18+
- pnpm
Setup
git clone https://github.com/mikkokam/harvest-cowork-mcp.git
cd harvest-cowork-mcp
pnpm install
Build
pnpm build # Compile TypeScript + bundle with esbuild
pnpm validate # Validate the .mcpb manifest
pnpm pack:mcpb # Build + package as .mcpb extension
Run Locally (for development)
export HARVEST_ACCESS_TOKEN="your-token"
export HARVEST_ACCOUNT_ID="your-account-id"
node packages/mcp-server/dist/index.mjs
Or add to Claude Desktop / Claude Code config manually:
{
"mcpServers": {
"harvest": {
"command": "node",
"args": ["/absolute/path/to/harvest-cowork-mcp/packages/mcp-server/dist/index.mjs"],
"env": {
"HARVEST_ACCESS_TOKEN": "your-token",
"HARVEST_ACCOUNT_ID": "your-account-id"
}
}
}
}
Project Structure
harvest-cowork-mcp/
├── packages/
│ ├── mcp-server/
│ │ ├── src/
│ │ │ ├── index.ts # Server entry point
│ │ │ ├── harvest-client.ts # Harvest API v2 HTTP client
│ │ │ ├── types.ts # TypeScript types for all API entities
│ │ │ ├── tools/
│ │ │ │ ├── time-entries.ts # 7 tools
│ │ │ │ ├── projects.ts # 6 tools
│ │ │ │ ├── tasks.ts # 5 tools
│ │ │ │ ├── clients.ts # 5 tools
│ │ │ │ ├── users.ts # 5 tools
│ │ │ │ ├── expenses.ts # 5 tools
│ │ │ │ ├── expense-categories.ts # 5 tools
│ │ │ │ ├── project-user-assignments.ts # 6 tools
│ │ │ │ └── reports.ts # 10 tools
│ │ │ └── prompts/
│ │ │ ├── log-time.ts
│ │ │ ├── weekly-summary.ts
│ │ │ └── timer.ts
│ │ ├── manifest.json # .mcpb extension manifest
│ │ ├── package.json
│ │ └── tsconfig.json
│ └── plugin/ # Claude Cowork plugin (skills + commands)
├── package.json # Workspace root
├── pnpm-workspace.yaml
└── .gitignore
Adding New Endpoints
The pattern is consistent across all tools:
- Add types in
types.ts(entity interface, create/update params, list params) - Add client methods in
harvest-client.ts - Create tool file in
tools/withregisterXTools()function - Register in
index.ts - Update manifest in
manifest.json(tool name + description) - Build with
pnpm build
Tech Stack
- MCP TypeScript SDK ^1.27
- Zod for tool input schema validation
- esbuild for single-file bundling
- @anthropic-ai/mcpb for Desktop Extension packaging
- STDIO transport — runs as a subprocess of Claude
Harvest API Reference
Built on Harvest API v2. Covers:
- Time Entries
- Projects + Task Assignments + User Assignments
- Tasks
- Clients
- Users + Project Assignments
- Expenses + Categories
- Time Reports + Expense Reports + Project Budget + Uninvoiced
How This Was Built
This entire MCP server — 54 tools, types, client, manifest, packaging — was built in a single session using Claude Cowork with the Claude Code VS Code Extension. Claude read the Harvest API docs, wrote all the code, validated the manifest, built the .mcpb, and pushed to GitHub. No config files were edited by hand.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。