Skip to main content
Glama
adrian-dotco

Harvest Natural Language Time Entry MCP Server

by adrian-dotco

Servidor MCP de entrada de tiempo en lenguaje natural Harvest

Un servidor MCP que permite registrar las entradas de tiempo de Harvest en lenguaje natural, incluyendo un manejo especial para solicitudes de permisos. Este servidor facilita el seguimiento del tiempo al comprender las entradas en lenguaje natural y gestionar automáticamente situaciones comunes, como las solicitudes de permisos.

Características

  • 🗣️ Análisis de entradas de tiempo en lenguaje natural

  • 🏖️ Manejo de solicitudes de licencia especial (por ejemplo, "Hoy estoy de baja por enfermedad")

  • ⏰ Horas de jornada laboral configurables

  • 🌍 Soporte de zona horaria

  • 🎯 Coincidencia automática de proyectos y tareas

  • 📅 Análisis inteligente de fechas (hoy, ayer, etc.)

Related MCP server: Harvest MCP Server

Prerrequisitos

  • Node.js instalado

  • Un relato de Harvest

  • Token de acceso personal de Harvest Developer Tools

  • ID de cuenta (que se muestra en la misma página que su token)

Instalación

Instalación

  1. Instalar la aplicación de escritorio Claude

  2. Clonar este repositorio:

git clone https://github.com/adrian-dotco/harvest-mcp-server.git
cd harvest-mcp-server
  1. Instalar dependencias y compilar:

npm install
npm run build
  1. Ejecute el script de configuración:

node build/setup.js
  1. Siga las instrucciones para ingresar su:

    • Token de acceso personal de Harvest (desde https://id.getharvest.com/developers )

    • ID de cuenta de Harvest

    • Horas de jornada laboral estándar (predeterminado: 7,5)

    • Zona horaria (predeterminada: Australia/Perth)

  2. Reiniciar la aplicación de escritorio de Claude

¡Listo! Ya puedes usar el seguimiento de tiempo en lenguaje natural en Claude.

Mantenerse actualizado

Para actualizar a la última versión:

git pull
npm install
npm run build

El script de instalación habrá configurado a Claude para usar su compilación local del servidor, por lo que cualquier actualización que extraiga estará disponible automáticamente después de la reconstrucción.

Uso

El servidor proporciona varias herramientas para interactuar con Harvest:

tiempo_de_registro

Registrar las entradas de tiempo con lenguaje natural. Ejemplos:

Entradas de tiempo regulares:

"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"

Solicitudes de licencia (utiliza automáticamente las horas laborales estándar):

"I'm off sick today"
"I'm unwell today"
"Taking annual leave next week"

obtener_informe_de_tiempo

Obtenga informes de tiempo mediante consultas en lenguaje natural. Ejemplos:

  1. Opciones de período de tiempo:

"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. Tipos de informes:

  • Por proyecto (predeterminado):

    "Show time report for last month"
    "Get project hours for this week"
  • Por el cliente:

    "Show time report by client for this month"
    "Get hours by client for Q1"
  • Por tarea:

    "Show time summary by task for January"
    "Get task breakdown for last week"
  • Por miembro del equipo:

    "Show team hours for last week"
    "Get time report by user for this month"
  1. Detalles del informe: Cada informe incluye:

  • Total de horas trabajadas

  • Horas facturables vs. no facturables

  • Importes facturables (si tiene permiso)

  • Detalles del proyecto/cliente/tarea/usuario según el tipo de informe

lista_proyectos

Enumere todos los proyectos de Harvest disponibles:

List my projects

lista_de_tareas

Enumere las tareas disponibles para un proyecto específico:

Show tasks for Project X

entradas de lista

Ver entradas de tiempo recientes:

Show my recent time entries

Configuración

El servidor admite estas variables de entorno:

  • HARVEST_ACCESS_TOKEN : Su token de acceso personal de Harvest

  • HARVEST_ACCOUNT_ID : Su ID de cuenta de Harvest

  • STANDARD_WORK_DAY_HOURS : Horas predeterminadas para una jornada laboral completa (valor predeterminado: 7,5)

  • TIMEZONE : Su zona horaria (predeterminada: Australia/Perth)

Desarrollo

El servidor está construido utilizando:

  • Mecanografiado

  • Kit de desarrollo de software de MCP

  • chrono-node para el análisis de fechas en lenguaje natural

  • API de cosecha v2

Para contribuir:

  1. Bifurcar el repositorio

  2. Crear una rama de características

  3. Enviar una solicitud de extracción

Licencia

Licencia MIT: consulte LICENCIA para obtener más detalles

Available Tools

5 tools
get_time_reportC

Get time reports using natural language

ParametersJSON Schema
NameRequiredDescriptionDefault
textYesNatural language query (e.g., "Show time report for last month", "Get time summary for Project X")

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool uses natural language but doesn't explain how it processes queries (e.g., parsing accuracy, supported formats), what the output looks like (e.g., report format, data included), or any limitations (e.g., query complexity, error handling). This leaves significant gaps in understanding the tool's behavior, scoring a 2 for inadequate transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise and front-loaded with a single sentence: 'Get time reports using natural language.' It efficiently conveys the core purpose without unnecessary details, earning a 5 for zero waste and appropriate sizing given the tool's simplicity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (natural language processing for reports) and lack of annotations or output schema, the description is incomplete. It doesn't address how reports are generated, what data they include, or any behavioral traits like error handling. For a tool that likely involves nuanced processing, this minimal description fails to provide sufficient context, scoring a 2.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, with the 'text' parameter well-documented as a natural language query including examples. The description adds minimal value beyond the schema, only reiterating the natural language aspect without providing additional syntax or format details. This meets the baseline of 3 for high schema coverage, but doesn't enhance parameter understanding further.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Get time reports using natural language.' It specifies the verb ('Get') and resource ('time reports'), and distinguishes it from siblings like 'list_entries' or 'log_time' by focusing on report generation rather than listing or logging. However, it doesn't explicitly differentiate from all siblings (e.g., 'list_projects' might also involve time-related data), keeping it at a 4 rather than a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention scenarios where natural language queries are preferred over structured queries (e.g., from siblings like 'list_entries'), nor does it specify prerequisites or exclusions. This lack of usage context leaves the agent with minimal direction, scoring a 2 for no guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_entriesC

List recent time entries

ParametersJSON Schema
NameRequiredDescriptionDefault
fromNoStart date (YYYY-MM-DD)
toNoEnd date (YYYY-MM-DD)

TDQS

C2.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states a read operation ('List') but lacks details on permissions, pagination, rate limits, or what 'recent' entails. This is inadequate for a tool with potential behavioral nuances.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero waste. It's appropriately sized and front-loaded, making it easy to scan and understand the core purpose immediately.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, no output schema, and a simple input schema, the description is incomplete. It doesn't address behavioral aspects like return format, error handling, or how it differs from siblings, leaving gaps for an AI agent to understand full context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, with clear descriptions for 'from' and 'to' parameters. The description adds no additional meaning beyond the schema, as it doesn't explain how 'recent' relates to the date range or provide usage examples. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'List recent time entries' states a clear verb ('List') and resource ('time entries'), but lacks specificity about scope or differentiation from siblings like 'get_time_report' or 'log_time'. It's vague about what 'recent' means compared to the date parameters in the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives such as 'get_time_report' (which might offer more detailed reporting) or 'log_time' (for creating entries). The description implies a basic listing function but offers no explicit context or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_projectsB

List available Harvest projects

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It states it's a list operation, implying read-only behavior, but doesn't disclose any behavioral traits like pagination, sorting, filtering capabilities, rate limits, or authentication requirements. For a tool with zero annotation coverage, this is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without any wasted words. It's appropriately sized and front-loaded, making it easy for an agent to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (0 parameters, no output schema, no annotations), the description is minimally adequate but lacks completeness. It doesn't explain what 'available' means (e.g., active vs. archived), the return format, or any constraints, leaving gaps for the agent to handle.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters with 100% schema description coverage, so the schema already fully documents the lack of inputs. The description adds no parameter information, but with no parameters, a baseline of 4 is appropriate as there's nothing to compensate for.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'List' and the resource 'available Harvest projects', making the purpose immediately understandable. It doesn't differentiate from siblings like 'list_entries' or 'list_tasks', which would require specifying what distinguishes projects from other listable resources.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like 'get_time_report' or 'list_entries'. The description implies it's for listing projects but doesn't specify context, prerequisites, or exclusions, leaving the agent to infer usage from the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_tasksC

List available tasks for a project

ParametersJSON Schema
NameRequiredDescriptionDefault
project_idYesProject ID

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It states it 'lists' tasks, implying a read-only operation, but doesn't disclose behavioral traits such as pagination, sorting, filtering beyond project_id, authentication needs, rate limits, or what happens if the project_id is invalid. For a tool with zero annotation coverage, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero waste. It's front-loaded with the core purpose and appropriately sized for a simple tool. Every word earns its place without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, no output schema, and a simple input schema, the description is incomplete. It doesn't explain return values (e.g., task details, format), error handling, or behavioral context. For a tool that likely returns a list of tasks, more information on output and usage would be helpful to compensate for the lack of structured data.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with the parameter 'project_id' documented as 'Project ID'. The description adds minimal value beyond the schema, only implying that tasks are listed for a project. Baseline is 3 since the schema does the heavy lifting, but the description doesn't compensate with additional context like format or constraints.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('List') and resource ('tasks'), specifying it's for a project. It distinguishes from siblings like 'list_projects' (which lists projects) and 'list_entries' (which likely lists time entries). However, it doesn't specify scope (e.g., 'all' or 'active') or differentiate from 'get_time_report' (which might involve tasks).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing a valid project_id) or exclusions (e.g., not for archived tasks). The context implies it's for listing tasks, but there's no explicit comparison to siblings like 'log_time' (which might create tasks).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

log_timeC

Log time entry using natural language

ParametersJSON Schema
NameRequiredDescriptionDefault
textYesNatural language time entry (e.g. "2 hours on Project X doing development work yesterday")

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It states the tool logs time but doesn't disclose behavioral traits such as whether this is a write operation (implied but not confirmed), if it requires authentication, what happens on success/failure, or any rate limits. This leaves significant gaps in understanding the tool's behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero waste. It's front-loaded with the core purpose and method, making it easy to parse quickly. Every word earns its place without redundancy or unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity as a write operation with no annotations and no output schema, the description is incomplete. It doesn't explain what the tool returns, error conditions, or integration context, leaving the agent with insufficient information for reliable use. This is inadequate for a mutation tool without structured support.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, with the parameter 'text' fully documented in the schema. The description adds minimal value by reiterating 'natural language' but doesn't provide additional semantics beyond what the schema already specifies (e.g., examples or formatting nuances). Baseline 3 is appropriate as the schema handles the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Log time entry') and the method ('using natural language'), which distinguishes it from sibling tools like 'get_time_report' or 'list_entries' that likely retrieve rather than create data. However, it doesn't specify the resource being logged (e.g., to a timesheet system), making it slightly less specific than a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'list_entries' for viewing logs or 'list_projects' for context. It implies usage for logging time but doesn't mention prerequisites, exclusions, or explicit alternatives, leaving the agent to infer based on tool names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 5 tool updatesv1.0.0
    • First observedget_time_report
    • First observedlist_entries
    • First observedlist_projects
    • First observedlist_tasks
    • First observedlog_time

TDQS

B3.4/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a distinct purpose: get_time_report retrieves reports via natural language, list_entries shows recent entries, list_projects and list_tasks enumerate available resources, and log_time creates entries via natural language. There is no overlap or ambiguity between these functions.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern (e.g., get_time_report, list_entries, log_time) with clear, descriptive names. There are no deviations in naming conventions or styles.

Tool Count5/5

With 5 tools, this server is well-scoped for its purpose of natural language time entry management. Each tool serves a specific role in the workflow, from listing resources to reporting and logging, making the count appropriate and efficient.

Completeness4/5

The toolset covers core operations like listing projects/tasks, logging time, and getting reports, which supports natural language interactions. A minor gap exists in update or delete functionality for time entries, but agents can likely work around this given the server's focus on natural language entry and reporting.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Integrates with Harvest time tracking API, enabling AI assistants to manage time entries, projects, clients, and tasks through natural language commands.
    11
    39
    MIT
  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Provides MCP integration for Harvest's time tracking, project management, and invoicing functionality, enabling natural language interaction with Harvest API through tools for managing clients, time entries, projects, tasks, and users.
    -