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 集成