Tempo MCP Server
Scans git repositories to extract commit history and automatically generate timesheets by parsing Jira issue keys from commit messages and distributing time based on commit activity.
Integrates with Tempo time tracking in Jira to create, update, and delete worklogs, automatically fetch account information from issues, and retrieve work attributes and roles. Includes automatic timesheet generation from git commits.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Tempo MCP Servergenerate my timesheet for this week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Tempo MCP Server
MCP (Model Context Protocol) server for Tempo time tracking with full support for roles and accounts.
Features
Auto-generate timesheets from git commits - scans all your repos and creates worklogs automatically
Create worklogs with role and account attributes
Automatically fetch account from Jira issue
Auto-fallback to active account when issue's account is closed/archived
Quick sprint meeting logging - just specify project and minutes
Update and delete worklogs
List worklogs for date ranges
Get available work attributes and roles
Related MCP server: used-tempon
Installation
npm install
npm run buildConfiguration
Getting your API tokens
Tempo API Token:
Go to Tempo > Settings in your Jira instance
Click on API Integration in the left sidebar
Click New Token
Give it a name (e.g., "Claude Code MCP")
Select permissions: Manage Worklogs (or Full Access)
Copy the generated token
Jira API Token:
Go to Atlassian API Tokens
Click Create API token
Give it a label (e.g., "Claude Code MCP")
Copy the generated token
Environment Variables
Variable | Required | Description |
| Yes | Tempo API token (get from Tempo > Settings > API Integration) |
| Yes | Jira API token (get from id.atlassian.com/manage-profile/security/api-tokens) |
| Yes | Jira account email |
| Yes | Jira base URL (e.g., https://company.atlassian.net) |
| No | Custom field ID for Tempo account (default: 10026) |
| No | Default role for worklogs (default: Dev) |
| No | Default directory for git repos (e.g., C:/Users/you/Projects) |
| No | Jira issue for Monday team meeting (default: BS-14) |
Note:
gitAuthordefaults toJIRA_EMAILsince they're the same for all developers.
Usage with Claude Code
Quick Setup (one command)
Linux/macOS:
claude mcp add tempo-mcp -s user \
-e TEMPO_API_TOKEN=your-tempo-token \
-e JIRA_API_TOKEN=your-jira-token \
-e JIRA_EMAIL=your-email@company.com \
-e JIRA_BASE_URL=https://company.atlassian.net \
-e DEFAULT_PROJECTS_DIR=/home/you/projects \
-- npx -y github:Henry-Workshop/tempo-mcpWindows (PowerShell):
claude mcp add tempo-mcp -s user `
-e TEMPO_API_TOKEN=your-tempo-token `
-e JIRA_API_TOKEN=your-jira-token `
-e JIRA_EMAIL=your-email@company.com `
-e JIRA_BASE_URL=https://company.atlassian.net `
-e DEFAULT_PROJECTS_DIR=C:/Users/you/Projects `
-- npx.cmd -y github:Henry-Workshop/tempo-mcpExample configuration in claude.json
{
"mcpServers": {
"tempo-mcp": {
"command": "npx",
"args": ["-y", "github:Henry-Workshop/tempo-mcp"],
"env": {
"TEMPO_API_TOKEN": "your-tempo-token",
"JIRA_API_TOKEN": "your-jira-token",
"JIRA_EMAIL": "your-email@company.com",
"JIRA_BASE_URL": "https://company.atlassian.net",
"DEFAULT_PROJECTS_DIR": "C:/Users/you/Projects"
}
}
}
}Available Tools
tempo_generate_timesheet
The main feature! Automatically generate your weekly timesheet from git commits.
{
"weekStart": "2025-12-01",
"gitAuthor": "your-email@company.com",
"projectsDir": "C:/Users/you/Projects",
"dryRun": true,
"mondayMeetingIssue": "BS-14"
}Parameter | Required | Description |
| Yes | Monday date of the week (YYYY-MM-DD) |
| Yes | Your git author email or name |
| Yes | Directory containing all your git repositories |
| No | If true, shows plan without creating worklogs (default: false) |
| No | Jira issue for Monday team meeting (default: BS-14) |
What it does:
Scans all git repos in
projectsDirExtracts your commits for Monday-Thursday
Parses Jira issue keys from commit messages (e.g.,
PROJ-123)Distributes 8h/day based on commit count per issue
Adds 15min daily sprint meeting (on the main project of the day)
Adds 15min Monday team sync on BS-14
Generates client-friendly descriptions from commit messages
Creates worklogs in Tempo
Example usage in Claude Code:
"fait ma feuille de temps de cette semaine"
"generate my timesheet for last week"
"do my timesheet for the week of december 1st in dry run mode"
Important: Your commit messages should include Jira issue keys (e.g., PROJ-123 fix: description). Commits without issue keys will be flagged as warnings.
tempo_log_sprint_meeting
Quick way to log time for sprint meetings (daily, planning, retro). Automatically finds the "Sprint Meetings" issue for the project.
{
"projectKey": "PROJ",
"timeSpentMinutes": 15,
"description": "Daily",
"date": "2025-11-27"
}Example usage in Claude Code:
"add 15 mins for sprint meetings for BERGA"
"log daily 15 mins to CRC project"
tempo_create_worklog
Create a new worklog with role and account support.
{
"issueKey": "PROJ-123",
"timeSpentHours": 1.5,
"date": "2025-11-27",
"description": "Working on feature",
"role": "Dev",
"accountKey": "ACCOUNT-KEY"
}If accountKey is not provided, it will be automatically fetched from the Jira issue. If the account is closed/archived, it will automatically find an active account from recent project issues.
tempo_get_worklogs
Retrieve worklogs for a date range.
{
"startDate": "2025-11-01",
"endDate": "2025-11-30"
}tempo_update_worklog
Update an existing worklog.
{
"worklogId": "12345",
"timeSpentHours": 2,
"description": "Updated description"
}tempo_delete_worklog
Delete a worklog.
{
"worklogId": "12345"
}tempo_get_work_attributes
Get available work attributes (roles, accounts configuration).
tempo_get_roles
Get available Tempo roles.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage projects, tasks, time tracking, and team collaboration through natural language.
Read time entries, projects, clients, tasks and invoices; log and update tracked time.
Track stories, organize sprints, and manage project workflows across your team
Time tracking, live project budgets, and billing exports for service firms.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables automated timesheet management including creating entries, listing work activities, managing daily scrum updates, and viewing assigned projects with automatic authentication handling.5 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables logging time to Tempo (Jira time tracker) via natural language in Claude Desktop or OpenCode.-
- AlicenseAqualityDmaintenanceEnables logging time entries to Jira Cloud issues, including adding worklogs, listing existing entries, and verifying credentials.3MIT
- AlicenseNot gradedqualityCmaintenanceEnables natural language time tracking through AI assistants, integrating with Azure DevOps to log, view, and report work hours without context switching.9 npmMIT