WakaTime for AI agents

WakaTime automatically tracks coding activity through editor plugins, used by developers and engineering managers who want objective data on time spent coding. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

HR and recruitingOAuth 2.0MCP + RESTwakatime.com
AUDIT LOG · WAKATIMEPOLICY: acme-support
09:41:07 · claude · u_8f2read
wakatime.list_user_projects
List User Projects✓ allowed · 212ms
09:41:08 · claude · u_8f2read
wakatime.get_meta
Get API Meta Information✓ allowed · 164ms
EVERY WAKATIME CALL, ON THE RECORD
01 · USE CASES

What agents do in WakaTime.

01

Get a user's coding stats

Pull time spent per language or project for a period, a read-only report.

02

Get a daily status bar summary

Read today's coding activity summary for a quick check-in.

03

List a user's goals

Check progress against coding time goals as a read-only status check.

02 · ACTIONS

17 WakaTime actions, graded by risk.

Every WakaTime action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

17

Look things up. Allowed by default.

  • wakatime.get_meta
    Get API Meta Information
  • wakatime.get_user
    Get User Details
  • wakatime.get_goals
    List Goals
  • wakatime.get_editors
    List IDE Plugins
  • wakatime.get_leaders
    List Leaders
  • wakatime.get_insights
    Get User Insight
  • wakatime.get_user_stats
    Get User Stats
  • wakatime.get_machine_names
    List Machine Names
  • wakatime.get_user_summaries
    Get User Summaries
  • wakatime.list_user_projects
    List User Projects
  • wakatime.get_aggregate_stats
    Get Aggregate Stats
  • wakatime.get_oauth_authorize
    Generate WakaTime OAuth authorize URL
  • wakatime.list_user_user_agents
    List User Agents
  • wakatime.list_program_languages
    List Program Languages
  • wakatime.get_user_stats_by_range
    Get User Stats by Range
  • wakatime.get_users_all_time_since_today
    Get User's Total Time Since Creation
+ 1 MORE

write

0

Create and change things. Allow, or ask the user first.

  • No write actions.

destructive

0

Delete, cancel or archive. Ask first, or deny outright.

  • No destructive actions.
03 · HOW IT WORKS

WakaTime in three steps.

  1. 01Your users connect WakaTimeThey sign in to WakaTime on Arc0 Connect, under your brand, and approve the access you ask for.
  2. 02You set the rulesReads run, and writes like “updates” can wait for the user to approve.
  3. 03Any agent can actYour agent calls WakaTime through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('wakatime', {
  read: 'allow',
  write: 'ask',        
  destructive: 'deny',  
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How WakaTime connects.

Users sign in to WakaTime on Arc0 Connect and approve the scopes you request. Build with Arc0’s WakaTime OAuth app, or bring your own so the WakaTime consent screen names you. Tokens refresh automatically, and you can export them whenever you want.

The same WakaTime connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
OAuth 2.0
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use WakaTime from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

WakaTime and Arc0, answered.

Q01

Can I use WakaTime with Claude, ChatGPT or Cursor?

Yes. Connect WakaTime to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the WakaTime actions you allow.

Q02

How do users connect WakaTime?

Users sign in to WakaTime on Arc0 Connect and approve the scopes you request. Build with Arc0’s WakaTime OAuth app, or bring your own so the WakaTime consent screen names you. Tokens refresh automatically, and you can export them whenever you want.

Q03

Which WakaTime actions can my agent take?

17 in total: 17 read, 0 write and 0 destructive. Your policies decide which of them each agent may call.

Q04

Can I make my agent read-only in WakaTime?

Yes. Allow read actions and deny writes in the WakaTime policy. Your agent can still look things up, and any write it attempts is blocked and logged.

Q05

Can my own backend call WakaTime too?

Yes. The same WakaTime connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug WakaTime into your agent.

Your users connect WakaTime once, under your brand. Your agent gets 17 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan