npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mayankg0324/mcp-server-harvest

v1.0.0

Published

MCP (Model Context Protocol) server for Harvest Time Tracking.

Downloads

120

Readme

Harvest Time Tracking MCP Server

A TypeScript based MCP (Model Context Protocol) server for Harvest time tracking app enabling LLM clients to interact with Harvest account.

Prerequisites

  • Node.js >= 18 (or Bun Runtime for development)
  • Harvest account with API access
  • API Personal Access Token from Harvest
  • Account ID from Harvest

More details on how to create a Personal Access Token can be found in the Harvest API documentation.

Tools

Available Tools

| Tool | Description | Inputs | Output | |------|-------------|---------|---------| | get-company | Get company information | None | Company Information (Name, URL, ID and Currency) | | search-clients | Searches for clients | • name: string (optional) - Client name• isActive: boolean (optional) - Active status | List of clients with IDs and details | | get-client | Get client information | • clientId: string - Client ID | Detailed client information | | search-projects | Searches for projects | • name: string (optional) - Project name• clientId: string (optional) - Client ID• isActive: boolean (optional) - Active status | List of projects with IDs and details | | get-project | Get project information | • projectId: string - Project ID | Detailed project information | | list-users | Lists all users | None | List of users with IDs and details | | get-user | Get user information | • userId: string - User ID | Detailed user information | | list-project-users | List project user assignments | • projectId: string - Project ID | List of users assigned to project | | list-project-tasks | List project task assignments | • projectId: string - Project ID | List of tasks assigned to project | | search-time-entries | Searches for time entries | • from: string (optional) - Start date (YYYY-MM-DD)• to: string (optional) - End date (YYYY-MM-DD)• userId: string (optional) - User ID• projectId: string (optional) - Project ID• clientId: string (optional) - Client ID | List of time entries with details | | get-time-entry | Get time entry details | • timeEntryId: string - Time Entry ID | Detailed time entry information | | create-time-entry | Create a new time entry | • projectId: string - Project ID• taskId: string - Task ID• userId: string - User ID• hours: number - Hours spent• notes: string (optional) - Additional notes | Created time entry details |

Note: More tools coming soon.

Usage

Claude Desktop

  • Open the Claude desktop config file claude-desktop-config.json and set the following details under mcpServers.

    {
      "mcpServers": {
        "Harvest": {
          "command": "npx",
          "args": [
            "@mayankg0324/mcp-server-harvest"
          ],
          "env": {
            "HARVEST_ACCOUNT_ID": "<Harvest Account ID>",
            "HARVEST_ACCESS_TOKEN": "<Harvest Personal Access Token>",
            "HARVEST_BASE_URL": "<Harvest Base URL>"
          }
        }
      }
    }

Cursor IDE

  • Open the Cursor IDE config file ~/.cursor/mcp.json or <project-root>/.cursor/mcp.json and set the following details under mcpServers.

    {
      "mcpServers": {
        "Harvest": {
          "command": "npx",
          "args": [
            "@mayankg0324/mcp-server-harvest"
          ],
          "env": {
            "HARVEST_ACCOUNT_ID": "<Harvest Account ID>",
            "HARVEST_ACCESS_TOKEN": "<Harvest Personal Access Token>",
            "HARVEST_BASE_URL": "<Harvest Base URL>"
          }
        }
      }
    }

Local Installation And Development

  1. Install dependencies:

    npm install
  2. Build the project:

    npm run build

This will create a dist directory containing the compiled JavaScript files.

  1. To use the local development version of MCP server instead of the published version, you can run the server directly from the local build:

    npm run build

    Modify the MCP server configuration file in any of the clients (Claude, Cursor)

     {
       "mcpServers": {
         "Harvest": {
           "command": "node",
           "args": [
             "path/to/local/build/dist/index.js"
           ],
           "env": {
             "HARVEST_ACCOUNT_ID": "<Harvest Account ID>",
             "HARVEST_ACCESS_TOKEN": "<Harvest Personal Access Token>",
             "HARVEST_BASE_URL": "<Harvest Base URL>"
           }
         }
       }
     } 
  2. Restart the client application (Claude, Cursor) to apply the changes and test the latest changes without publishing a new version.