timely-mcp-server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Timely MCP server
Read and write your Timely time tracking from Claude.ai and Claude Code. Covers the whole account: hours, projects, clients, users, labels, teams, planned work and reports. An OAuth 2.1 login sits in front so it can be added to Claude.ai as a custom connector, and Claude Code can use a plain token instead.
Using this server with a paid AI service costs money. Tool definitions and results are billed as input tokens, and an agent can call tools repeatedly on its own. You are responsible for every charge, so set spending limits with your provider. The author accepts no liability for any costs. SeeDISCLAIMER.md.
Tools
Reading
Tool | What you get |
| Reachable accounts, and which one the server acts on |
| Account settings: currency, week start, capacity, default rate |
| People, with rates, capacity and role |
| A person's contracted hours, and when each applied |
| Teams and their members |
| Roles and what each may do |
| Clients, active and archived |
| Projects with budget and rate |
| What a project charges against what its people cost |
| Labels and their nesting |
| Logged time, by day, person, project, label or billing state |
| One person's entries over a period |
| Planned work |
| Totals for a period, grouped and filtered |
| Projects billing hours at no rate |
| Saved reports |
| Recent account activity |
| Registered webhooks |
Writing
Tool | What it does |
| Log time to a project |
| Change hours, note, labels or day |
| Delete a time entry |
| Flip billable across a whole project or period at once |
| Add or change a client |
| Add, change or remove a project |
| Set a person's charge-out and internal rates |
| Manage labels |
| Manage planned work |
| Manage webhooks |
Every update is a patch: only what you pass changes, so a rename never blanks the other fields.
Writes are checked against what Timely returns. Timely answers 200 for a field it silently drops, so a rate that did not land now raises an error instead of reporting a success that never happened.
Rates and billing
A project charges in one of three ways, set with rate_type: project bills every hour at the project rate, user bills each person at their own rate, and non-billable bills nothing. Timely refuses to create a project without one.
timely_project_rates puts the charge-out rate next to what each person costs, which is the difference the reports call profit:
{"user_id": 4242, "charged": 90, "costs": 72.5, "margin_per_hour": 17.5}If profit looks wrong everywhere, check timely_get_user: when default_hour_rate equals internal_hour_rate every hour breaks even by construction. timely_update_user sets them apart.
timely_unrated_work lists projects that logged billable hours and earned nothing, with the reason for each. timely_set_events_billable fixes entries in bulk; Timely has no bulk endpoint, so it updates each entry in turn and leaves invoiced or locked ones alone. Preview with dry_run: true.
Budgets
budget_type takes hours or fees. Timely's own API wants the letters H and M and rejects the words its docs use, so the tools take the word and send the letter.
Reports
timely_report returns totals grouped by client, user, label, team and day. It summarises by default, because a month across an account is hundreds of kilobytes of repeated duration and cost objects, which is rarely what a summary needs:
{"since": "2026-08-01", "upto": "2026-08-31"}Each row carries hours split by billable and invoiced state, revenue, internal cost and profit, so what was earned and what it cost sit side by side. Pass detail: true for every underlying entry.
Filtering time entries
Timely's own /events endpoint accepts project_ids, user_ids, label_ids and billable and then ignores them, answering 200 with the entire account. timely_list_events reads through the routes that do filter and applies the rest itself, so asking for one person's hours returns one person's hours. Note it takes per_page, not limit, which Timely ignores here.
Related MCP server: Beebole MCP
How it fits together
Claude.ai / Claude Code
| HTTPS
Cloudflare Tunnel, or any proxy that gives you HTTPS
|
nginx 127.0.0.1:8451
|
auth-server.cjs :8452 Timely sign-in, tokens, whose call is whose
|
timely-mcp :8450 the server itself, local only
|
api.timelyapp.comThe MCP has no login of its own and refuses to listen on anything but the local machine, so everything reaching it has already passed the login. Each person signs in with their own Timely account, and every call runs with their own Timely token, so Timely's own roles decide what they can see and change. Only members of one Timely account get in. Claude Code can use a fixed token instead, tied to one person.
Setup
Create an OAuth app at https://app.timelyapp.com/<account_id>/oauth_applications with the callback https://your-host/callback. Then:
git clone https://github.com/rollecode/timely-mcp-server.git
cd timely-mcp-server
bun install && npm install --omit=dev
mkdir -p ~/.config/timely-mcp && chmod 700 ~/.config/timely-mcp
cat > ~/.config/timely-mcp/env <<'ENV'
TIMELY_CLIENT_ID=...
TIMELY_CLIENT_SECRET=...
TIMELY_ACCOUNT_ID=...
ENV
chmod 600 ~/.config/timely-mcp/envFor Claude Code, add a fixed token, then sign in once through Claude.ai and set STATIC_TOKEN_USER to your Timely user id:
openssl rand -hex 32 > ~/.config/timely-mcp/token
chmod 600 ~/.config/timely-mcp/tokenFill in YOUR_USER and the hostname in systemd/*.service and nginx/timely-mcp.conf, then:
sudo cp systemd/*.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now timely-mcp timely-mcp-auth
sudo cp nginx/timely-mcp.conf /etc/nginx/sites-enabled/timely-mcp
sudo nginx -t && sudo systemctl reload nginxPoint a tunnel or an HTTPS proxy at 127.0.0.1:8451. OAuth needs HTTPS.
Check from outside: discovery returns metadata, and /mcp without a token must return 401.
curl https://your-host/.well-known/oauth-authorization-server
curl -o /dev/null -w '%{http_code}\n' -X POST https://your-host/mcpConnecting
Claude.ai: Settings, Connectors, Add custom connector, https://your-host/mcp, client ID and secret blank. On a Team or Enterprise plan an owner adds it once, and each member connects with their own Timely login.
Claude Code:
claude mcp add --transport http timely https://your-host/mcp \
--header "Authorization: Bearer $(cat ~/.config/timely-mcp/token)" --scope userWithout a server, Claude Code can run it directly over stdio with one person's tokens. Create an OAuth app with redirect URI https://localhost:7890/callback, put TIMELY_CLIENT_ID and TIMELY_CLIENT_SECRET in .env, run bun auth.ts, then:
claude mcp add timely -- bun /path/to/timely-mcp-server/server.tsSettings
Variable | What it is for |
| OAuth app client id |
| OAuth app client secret |
| The Timely account whose members may sign in |
| Timely user id the fixed token acts as |
| Public address, used to advertise the icon |
| Public origin of the login server |
| Login server port, 8452 by default |
| MCP server URL, |
| Where the env file, fixed token, encryption key and OAuth database live |
| Stdio only: where one person's tokens live |
People's Timely tokens are stored encrypted with the key in CONFIG_DIR/key, which is created on first start. If Timely ever starts sending token lifetimes, the login server renews tokens before they run out.
Credits
The login layer comes from rollecode/obsidian-remote-mcp. Timely and its logo belong to Memory AS.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Toggl 2.0 MCP server for tasks, projects, time entries, and workspace operations.
MCP server exposing klokin time-tracking operations (employees, time entries, stores) to AI clients.
timesheet.io MCP server - manage timers, projects, tasks and reports
Official Fibery MCP server: query and update your workspace from any AI client via OAuth.
Related MCP Servers
- FlicenseAqualityBmaintenanceMCP server wrapping a mock internal ops platform (FastAPI + SQLite) so Claude Code can read and write employee, project, task, and time data through natural language.8-
- AlicenseAqualityCmaintenanceMCP server to connect Claude with Beebole for time tracking, enabling project and task listing, time entry retrieval, and time logging.274 npmMIT
- FlicenseAqualityCmaintenanceA standalone MCP server that exposes the ATimeLogger REST API to Claude Desktop/Code over stdio, enabling activity tracking (start/stop/pause/log), reports/history, and activity type management.81-
- AlicenseAqualityBmaintenanceA read-only MCP server for querying Timely time tracking data, providing tools for project overviews, time spent summaries, and work log entries.3MIT