WakaTime MCP by usefulapi

io.usefulapi由 usefulapi.io 發布官方發布者v1.23.5更新於 Nov 8, 2026

Read your WakaTime coding time: summaries, stats, projects, goals, commits and leaderboards.

發布方自己的服務:Ably MCP by usefulapi

已驗證Streamable HTTP可網頁執行效率與工作流開發者工具資料與分析

概覽

AI 產生的概覽

託管的 WakaTime 伺服器,讓助理讀取你的編碼時數彙總、統計、專案、目標、提交與排行榜。

可以做什麼
  • 讀取個人資料與累計數據:目前使用者、歷史總時數、今日狀態列時數
  • 依日期範圍取得編碼彙總與統計,並依專案、語言、編輯器、作業系統、類別、相依套件與機器細分
  • 查看單日細節:編碼時段、原始心跳資料以及指定類型的洞察
  • 列出專案、機器、編輯器與外掛,以及專案提交與每個提交的編碼時數
  • 查看目標、組織、組織儀表板及其成員彙總
  • 查看私有與公開排行榜,並管理用量、方案與功能請求
適用情境
適合讓助理回答你編碼多少、在哪裡編碼的問題,例如上週各專案時數、本月最常用語言、近 30 天最佳編碼日,也適合查看目標和團隊儀表板。
執行需求
透過 HTTP 連線的遠端 MCP 端點,無需本機安裝。使用 WakaTime 憑證在伺服器登入頁以 OAuth 登入;只填 URL,不要加入 API 金鑰或 Authorization 標頭。部分工具需要 read_heartbeats、read_goals、read_orgs 或 read_private_leaderboards 等 OAuth 權限範圍。免費方案每月 50 次工具呼叫。
安裝前請注意
免費方案每月僅 50 次工具呼叫;付費 Pro 與 Pro+ 方案需付費,透過 Stripe 結帳連結付款,取消時當期不退費。中繼工具可開通或取消訂閱,並送出功能請求。回傳資料包含電子郵件、IP 位址、機器名稱、檔案路徑和同事的活動,應視為私密資訊處理。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 WakaTime MCP by usefulapi,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.usefulapi%2Fwakatime/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "wakatime-by-usefulapi": {
      "type": "http",
      "url": "https://wakatime.usefulapi.io/mcp"
    }
  }
}

README

WakaTime MCP by usefulapi

Use WakaTime from Claude, Cursor, or any MCP client — coding-time summaries and stats, durations and heartbeats, projects, machines, commits, goals, organization dashboards and leaderboards. Read-only. Hosted, no local install: connect with your own WakaTime credentials.

Live endpoint: https://wakatime.usefulapi.io/mcp · Homepage: https://usefulapi.io/wakatime

Connect

  • Claude (claude.ai, Desktop): open Customize → Connectors, click + Add → Add custom connector, and paste https://wakatime.usefulapi.io/mcp.
  • Claude Code: claude mcp add --transport http wakatime https://wakatime.usefulapi.io/mcp, then run /mcp to log in.
  • VS Code: Add to VS Code.
  • Cursor and other clients: add the URL as a remote MCP server:
json
{  "mcpServers": {    "wakatime": {      "url": "https://wakatime.usefulapi.io/mcp"    }  }}

Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your WakaTime credentials.

Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/wakatime/

Tools

ToolTypeWhat it does
wakatime_get_userreadGet current user
wakatime_get_summariesreadGet daily summaries
wakatime_get_statsreadGet coding stats
wakatime_get_all_time_since_todayreadGet all-time total
wakatime_get_status_bar_todayreadGet today's coding time
wakatime_get_insightreadGet insight
wakatime_get_durationsreadGet durations for a day
wakatime_get_heartbeatsreadGet heartbeats for a day
wakatime_list_projectsreadList projects
wakatime_list_machinesreadList machines
wakatime_list_user_agentsreadList editors and plugins used
wakatime_list_commitsreadList project commits
wakatime_get_commitreadGet project commit
wakatime_list_goalsreadList goals
wakatime_get_goalreadGet goal
wakatime_list_orgsreadList organizations
wakatime_list_org_dashboardsreadList organization dashboards
wakatime_list_org_dashboard_membersreadList dashboard members
wakatime_get_org_dashboard_summariesreadGet dashboard summaries for a day
wakatime_get_org_member_summariesreadGet dashboard member summaries
wakatime_list_private_leaderboardsreadList private leaderboards
wakatime_get_private_leaderboardreadGet private leaderboard
wakatime_get_public_leadersreadGet public leaderboard
wakatime_usage_statusmetaUsage status (free-tier meter)
wakatime_request_featuremetaRequest a missing feature
wakatime_upgrademetaUpgrade to Pro or Pro+
wakatime_cancel_subscriptionmetaCancel the Pro subscription

read tools are read-only; write tools mutate data (clients should confirm them); meta tools report usage, manage your subscription or send a feature request.

Pricing

PlanPriceLimit
Free$050 tool calls / month
Pro (per user)$9/mo or $90/yr (2 months free)Unlimited*

*Pro has a fair use limit of 10,000 tool calls a month on this server. For more, write to [email protected].

Pro covers this server only. Subscribe with wakatime_upgrade (it returns a Stripe Checkout link). Cancel any time with wakatime_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running wakatime_upgrade before then undoes the cancel. Or write to [email protected].

License

MIT © usefulapi. Not affiliated with or endorsed by WakaTime.

來源:servers/wakatime/README.md,提交 4046075

工具

23

wakatime_get_user

Get current user

The WakaTime user this key belongs to: id, username, display name, email, timezone, plan, last plugin/project/branch and last heartbeat time. GET /users/current.

無需輸入參數。

wakatime_get_summaries

Get daily summaries

Coding activity as one summary per day for a date range: grand total plus breakdowns by project, language, editor, operating system, category, dependencies and machine, with cumulative total and daily average. Give start and end, or one named range. Use project (and branches) to also get per-branch and per-file entities. GET /users/current/summaries.

輸入參數endrangestartprojecttimeoutbranchestimezonewrites_only

wakatime_get_stats

Get coding stats

Aggregated coding stats for a range: total time, daily average, best day, AI vs human line changes, and the full breakdown by language, project, editor, operating system, category, dependencies and machine. If the reply says it is still calculating, call again shortly. GET /users/current/stats/{range}.

輸入參數rangetimeoutwrites_only

wakatime_get_all_time_since_today

Get all-time total

Total coding time since the user's WakaTime account (or one project) was created, with daily average and the range covered. GET /users/current/all_time_since_today.

輸入參數project

wakatime_get_status_bar_today

Get today's coding time

Today's coding activity as shown in an editor status bar: grand total plus breakdowns by project, language, editor and more. Cached data only; an empty summary means the cache is still being filled. GET /users/current/status_bar/today.

無需輸入參數。

wakatime_get_insight

Get insight

One WakaTime insight for a range: stats, weekdays (average per weekday), days (per-day totals, optionally one weekday), ai_days, best_day, daily_average, or a breakdown by projects, languages, editors, categories, machines or operating_systems. GET /users/current/insights/{insight_type}/{range}.

輸入參數rangetimeoutweekdaywrites_onlyinsight_type必填

wakatime_get_durations

Get durations for a day

The coding sessions (durations) of one day, each with start time, length in seconds and the project (or other slice) it belongs to. Needs the read_heartbeats scope for OAuth tokens. GET /users/current/durations.

輸入參數date必填projecttimeoutbranchesslice_bytimezonewrites_only

wakatime_get_heartbeats

Get heartbeats for a day

The raw heartbeats (activity pings from editor plugins) of one day: entity (file path or domain), type, category, project, branch, language, time, lines and AI line changes. Large days are cut to `limit` heartbeats starting at `offset`; total_heartbeats says how many the day has. Needs the read_heartbeats scope for OAuth tokens. GET /users/current/heartbeats.

輸入參數date必填limitoffset

wakatime_list_projects

List projects

The user's WakaTime projects with id, name, repository, color, clients, first and last heartbeat time and badge/public-url flags. Optionally filter by a name search. GET /users/current/projects.

輸入參數qpage

wakatime_list_machines

List machines

The machines (computers) that sent coding activity: id, name, host name, IP, timezone and last-seen time. GET /users/current/machine_names.

無需輸入參數。

wakatime_list_user_agents

List editors and plugins used

The editor and plugin user agents that sent coding activity: editor, version, OS, AI model if any, and last-seen time. GET /users/current/user_agents.

無需輸入參數。

wakatime_list_commits

List project commits

Commits of a WakaTime project with the time spent coding on each (needs a connected repository). Filter by author or branch; paged. Needs the read_heartbeats scope for OAuth tokens. GET /users/current/projects/{project}/commits.

輸入參數pageauthorbranchproject必填

wakatime_get_commit

Get project commit

One commit of a WakaTime project by hash, with the time spent coding on it. Needs the read_heartbeats scope for OAuth tokens. GET /users/current/projects/{project}/commits/{hash}.

輸入參數hash必填branchproject必填

wakatime_list_goals

List goals

The user's coding goals: title, type, target seconds, status, chart data per period, languages/projects/editors it covers and who it is shared with. Needs the read_goals scope for OAuth tokens. GET /users/current/goals.

輸入參數page

wakatime_get_goal

Get goal

One goal by id with its chart data (cached; an empty chart means the cache is still building, retry shortly). GET /users/current/goals/{goal}.

輸入參數goal_id必填

wakatime_list_orgs

List organizations

The WakaTime organizations the user belongs to: id, name, people count, keystroke timeout and timezone preferences and what the user may do. Needs the read_orgs scope for OAuth tokens. GET /users/current/orgs.

輸入參數page

wakatime_list_org_dashboards

List organization dashboards

The dashboards of an organization: id, name, timezone, member count and what the user may view or join. GET /users/current/orgs/{org}/dashboards.

輸入參數pageorg_id必填

wakatime_list_org_dashboard_members

List dashboard members

The members of an organization dashboard: id, username, full name, email, photo and whether their activity is view-only hidden. GET /users/current/orgs/{org}/dashboards/{dashboard}/members.

輸入參數pageorg_id必填dashboard_id必填

wakatime_get_org_dashboard_summaries

Get dashboard summaries for a day

One day of coding activity for every developer on an organization dashboard (grand total plus breakdowns per member). GET /users/current/orgs/{org}/dashboards/{dashboard}/summaries.

輸入參數date必填org_id必填projectbranchesdashboard_id必填

wakatime_get_org_member_summaries

Get dashboard member summaries

One dashboard member's coding activity as daily summaries for a date range (give start and end, or a named range). GET /users/current/orgs/{org}/dashboards/{dashboard}/members/{member}/summaries.

輸入參數endrangestartorg_id必填projectbranchesmember_id必填dashboard_id必填

wakatime_list_private_leaderboards

List private leaderboards

The private leaderboards the user is in: id, name, time range, member count and edit rights. Needs the read_private_leaderboards scope for OAuth tokens. GET /users/current/leaderboards.

輸入參數page

wakatime_get_private_leaderboard

Get private leaderboard

The ranking of a private leaderboard: rank, member and total coding time (or AI lines / AI spend) per language, country and board type; paged (without page it starts at the user's own page). GET /users/current/leaderboards/{board}.

輸入參數pageboard_id必填languageboard_typecountry_code

wakatime_get_public_leaders

Get public leaderboard

WakaTime's public leaderboard of the most active coders over the last 7 days, filterable by language, country, hireable badge and ranking type; paged. Each leader is reduced to rank, name, username, country, total and daily-average time and top 3 languages. GET /leaders.

輸入參數pagelanguageboard_typeis_hireablecountry_code

版本歷史

19
  1. v1.23.4Nov 7, 2026
  2. v1.22.3Nov 5, 2026
  3. v1.22.2Nov 5, 2026
  4. v1.22.1Nov 4, 2026
  5. v1.22.0Nov 3, 2026
  6. v1.21.1Nov 3, 2026
  7. v1.20.0Nov 1, 2026
  8. v1.18.0Oct 31, 2026
  9. v1.17.0Oct 31, 2026
  10. v1.16.2Oct 30, 2026
  11. v1.16.0Oct 30, 2026
  12. v1.11.0Oct 26, 2026
  13. v1.8.3Oct 25, 2026
  14. v1.8.0Oct 25, 2026
  15. v1.7.0Oct 24, 2026
  16. v1.4.0Oct 23, 2026
  17. v1.3.4Oct 22, 2026
  18. v1.3.3Oct 21, 2026
  19. v1.0.0Oct 12, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Usefulapi 整合