Used Tempon
БесплатноНе проверенEnables logging time to Tempo (Jira time tracker) via natural language in Claude Desktop or OpenCode.
Описание
Enables logging time to Tempo (Jira time tracker) via natural language in Claude Desktop or OpenCode.
README
A Python MCP server that lets you log time to Tempo (Jira time tracker) via natural language in Claude Desktop or OpenCode.
What it does
Four MCP tools are exposed:
| Tool | Description |
|---|---|
tempo_log_time |
Log time for a date using a named preset; optionally for another person |
tempo_get_workload |
Show expected vs. logged hours for a date; optionally for another person |
tempo_get_config |
Show current configuration (token is redacted) |
tempo_search_user |
Search for a Jira user by display name |
Hours per day come automatically from Tempo's user schedule — respects your contracted hours, not a hardcoded 8h assumption.
Prerequisites
- Python 3.11+
- A Tempo Cloud account with API access
- A Tempo API token (see below)
Installation
git clone https://github.com/your-username/used-tempon.git
cd used-tempon
pip install -r requirements.txt
Configuration
Create ~/.tempo-config.json (this file is not committed — keep it private):
{
"tempoToken": "your-tempo-api-token",
"accountId": "your-atlassian-account-id",
"issueIds": {
"PROJECT-1": 10001,
"PROJECT-2": 10002,
"PROJECT-3": 10003,
"PROJECT-4": 10004
},
"presets": {
"usual": [
{"issueKey": "PROJECT-1", "percentage": 50, "description": "Feature work"},
{"issueKey": "PROJECT-2", "percentage": 50, "description": "Support"}
],
"sick": [
{"issueKey": "PROJECT-3", "percentage": 100, "description": "Sick leave"}
],
"vacation": [
{"issueKey": "PROJECT-4", "percentage": 100, "description": "Vacation"}
]
}
}
You can also set the token via environment variable (takes precedence over the config file):
export TEMPO_TOKEN="your-tempo-api-token"
How to get a Tempo API token
Go to Tempo → Settings → API Integration:
https://app.tempo.io/settings/api-integration
Generate a new token and copy it into tempoToken in your config file.
How to find issue IDs
The Tempo API requires the numeric integer issue ID, not the string issue key (e.g. PROJECT-123).
To find the numeric ID for an issue:
- Call the Jira REST API:
GET /rest/api/3/issue/PROJECT-123and look at theidfield - Or inspect existing Tempo worklogs via
GET https://api.tempo.io/4/worklogs— each worklog contains"issue": {"id": 12345, "key": "PROJECT-123"}
How to find your Atlassian account ID
- Visit your Jira profile page (click your avatar → Profile)
- Or call
GET /rest/api/3/myself— the response includes"accountId"
Optional: Jira credentials for user name search
To log time or check workload for another person by name (e.g. "log usual for Alice"),
add Jira credentials to ~/.tempo-config.json:
{
"jiraBaseUrl": "https://yourorg.atlassian.net",
"jiraEmail": "[email protected]",
"jiraToken": "your-jira-api-token"
}
These fields are optional. Without them, you can still log for others by passing their
Atlassian account ID directly (e.g. "log usual for 712020:abc123").
Get a Jira API token at: https://id.atlassian.com/manage-profile/security/api-tokens
Register in Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"tempo": {
"command": "/path/to/python3",
"args": ["/path/to/used-tempon/mcp_server.py"]
}
}
}
Replace /path/to/python3 with your Python 3.11+ binary (e.g. from which python3 or pyenv which python3).
Register in OpenCode
Add to ~/.config/opencode/opencode.json:
{
"mcp": {
"tempo": {
"type": "local",
"command": "/path/to/python3",
"args": ["/path/to/used-tempon/mcp_server.py"]
}
}
}
Restart Claude Desktop or OpenCode after editing the config.
Usage
Once registered, use natural language in Claude or OpenCode:
"log usual" → logs today using the "usual" preset
"log sick for yesterday" → logs sick leave for yesterday
"log vacation for 2026-03-15" → logs vacation for a specific date
"check my workload for today" → shows logged vs expected hours
"what's my tempo config?" → shows configured presets and issue mappings
"log usual for 2026-02-20 force" → logs even if entries already exist
"log usual for Alice" → logs today for Alice (requires Jira credentials)
"check workload for Bob Smith" → checks Bob's workload (requires Jira credentials)
"search user alice" → finds Jira users matching "alice"
"log sick for 712020:abc123" → logs for a specific accountId (no Jira creds needed)
Behaviour notes
- Contracted hours: Total hours come from Tempo's user schedule for that day — not hardcoded 8h
- Preset splits: Percentages in each preset are applied to the day's required seconds (e.g. 50/50 on a 6h45m day = 3h22m30s each)
- Duplicate detection: Warns if entries already exist for a date; use
force=Trueto log anyway - Weekend/holiday guard: Warns if Tempo says no hours are required for that day; use
force=Trueto override - Cross-user logging: Pass
personas a display name (requires Jira credentials) or raw accountId to log/check for someone else
File structure
used-tempon/
├── mcp_server.py # FastMCP server with MCP tools
├── tempo_api.py # Pure Tempo REST API client
├── requirements.txt # Python dependencies
└── README.md # This file
~/.tempo-config.json lives outside the repo and is never committed.
License
MIT
Установка Used Tempon
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/lettfeti/used-temponFAQ
Used Tempon MCP бесплатный?
Да, Used Tempon MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Used Tempon?
Нет, Used Tempon работает без API-ключей и переменных окружения.
Used Tempon — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Used Tempon в Claude Desktop, Claude Code или Cursor?
Открой Used Tempon на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Notion
Read and write pages in your workspace
автор: NotionLinear
Issues, cycles, triage — from Claude
автор: LinearGoogle Drive
Search and read your Drive files
автор: Googlemindsdb/mindsdb
Connect and unify data across various platforms and databases with [MindsDB as a single MCP server](https://docs.mindsdb.com/mcp/overview).
автор: mindsdbCompare Used Tempon with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории productivity
