Labsco
taiste logo

Harvest MCP Server

โ˜… 37

from taiste

Manage time tracking, projects, clients, and tasks using the Harvest API.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredNeeds API keys

MseeP.ai Security Assessment Badge

Harvest MCP Server

This MCP (Model Context Protocol) server provides integration with the Harvest time tracking and project management API. It allows Claude and other MCP-compatible AI assistants to interact with your Harvest account, helping you manage time entries, projects, clients, and more.

Features

The server provides the following functionality:

Users

  • List users
  • Get user details

Time Entries

  • List time entries with filtering options
  • Create new time entries
  • Start/stop timers
  • Query time entry details
  • Get unsubmitted timesheets (time entries not yet submitted for approval)

Projects

  • List projects with filtering options
  • Retrieve detailed project information

Clients

  • List clients with filtering options
  • Retrieve detailed client information

Tasks

  • List available tasks with filtering options

Estimates

  • List estimates with filtering options (by client, state, date range, updated_since)
  • Retrieve detailed estimate information
  • Look up an estimate by its user-facing number (e.g. "79")
  • List messages associated with an estimate
  • Create new estimates with line items
  • Update existing estimates (add/update/delete line items via _destroy)
  • Change estimate state (send, accept, decline, re-open) without sending email
  • Send estimate messages (emails the estimate to recipients)
  • Delete estimates

Example Queries

Once connected, you can ask Claude about your Harvest data with queries like:

  • "Show me my time entries from last week"
  • "List all my active projects"
  • "Start a timer for project [project_id] and task [task_id]"
  • "Show me all active clients"
  • "List all available tasks"
  • "Get my unsubmitted timesheets from this month"
  • "Show me unsubmitted time entries for user [user_id]"
  • "Show me all accepted estimates from this quarter"
  • "Find the estimate numbered [number]"
  • "Create a draft estimate for client [client_id] with these line items..."
  • "Mark estimate [id] as sent"
  • "Email estimate [id] to client@example.com"

Customization

You can modify the server code to add more functionality or customize the existing tools to better suit your workflow. The server uses FastMCP, which makes it easy to add new tools by simply adding new functions with the @mcp.tool() decorator.

Read-Only Mode

You can run the server in read-only mode by setting the HARVEST_READ_ONLY environment variable to true. This disables all write operations (creating time entries, starting/stopping timers, creating/updating/deleting estimates, changing estimate state, and sending estimate messages) while keeping all read operations available.

{
    "mcpServers": {
        "harvest": {
            "command": "uv",
            "args": [
              "run",
              "--directory",
              "change_directory",
              "harvest-mcp-server.py"
            ],
            "env": {
                "HARVEST_ACCOUNT_ID": "account_id",
                "HARVEST_API_KEY": "api_key",
                "HARVEST_READ_ONLY": "true"
            }
        }
    }
}

When read-only mode is enabled, any attempt to call a write tool will return an error message explaining that the server is in read-only mode and how to enable write access.

Security Notes

This server requires your Harvest API credentials to function. Make sure to:

  • Keep your API key secure
  • Do not share your claude_desktop_config.json file
  • Consider using a dedicated API key with limited permissions for this integration