Wakatime

v0.2.2
io.github.pipeworx-io/wakatime Checked 16 hours ago Published 26 days ago

WakaTime MCP.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

current_user

Profile of the WakaTime account that owns your OAuth token. Requires your own WakaTime personal OAuth token as _apiKey.

ParameterTypeDescription
_apiKeystringYour WakaTime personal OAuth access token (Bearer). Required for account data (current user, summaries, durations, heartbeats, goals, projects, commits); optional for public profiles and stats.

user

Public WakaTime profile for a user_id/username; keyless for public profiles, pass your OAuth token as _apiKey for your own or private ones.

ParameterTypeDescription
user_id *string
_apiKeystringYour WakaTime personal OAuth access token (Bearer). Required for account data (current user, summaries, durations, heartbeats, goals, projects, commits); optional for public profiles and stats.

summaries

Fetch WakaTime daily coding summaries for a user over a date range (start/end required, YYYY-MM-DD); returns per-day breakdowns by project, language, editor, OS, and category in seconds. Requires your own WakaTime personal OAuth token as _apiKey.

ParameterTypeDescription
end *string
start *string
user_id *string
_apiKeystringYour WakaTime personal OAuth access token (Bearer). Required for account data (current user, summaries, durations, heartbeats, goals, projects, commits); optional for public profiles and stats.
branchesstring
projectstring
timeoutnumber
timezonestring
writes_onlyboolean

stats

Fetch aggregated WakaTime coding stats for a user over a range ("last_7_days", "last_30_days", "last_6_months", "last_year", "all_time"); returns totals and rankings by language, project, editor, and OS. Keyless for public profiles; pass your OAuth token as _apiKey for private ones.

ParameterTypeDescription
range *string
user_id *string
_apiKeystringYour WakaTime personal OAuth access token (Bearer). Required for account data (current user, summaries, durations, heartbeats, goals, projects, commits); optional for public profiles and stats.
projectstring
timeoutnumber
writes_onlyboolean

durations

Fetch WakaTime coding durations (start/end timestamps with project and file) for a single day (date required, YYYY-MM-DD); optionally slice_by entity/language/branch for granular session data. Requires your own WakaTime personal OAuth token as _apiKey.

ParameterTypeDescription
date *string
user_id *string
_apiKeystringYour WakaTime personal OAuth access token (Bearer). Required for account data (current user, summaries, durations, heartbeats, goals, projects, commits); optional for public profiles and stats.
branchesstring
projectstring
slice_bystring
timeoutnumber
timezonestring
writes_onlyboolean

heartbeats

Raw heartbeats for a date. Requires your own WakaTime personal OAuth token as _apiKey.

ParameterTypeDescription
date *string
user_id *string
_apiKeystringYour WakaTime personal OAuth access token (Bearer). Required for account data (current user, summaries, durations, heartbeats, goals, projects, commits); optional for public profiles and stats.

goals

User's goals. Requires your own WakaTime personal OAuth token as _apiKey.

ParameterTypeDescription
user_id *string
_apiKeystringYour WakaTime personal OAuth access token (Bearer). Required for account data (current user, summaries, durations, heartbeats, goals, projects, commits); optional for public profiles and stats.
pagenumber

projects

User's projects. Requires your own WakaTime personal OAuth token as _apiKey.

ParameterTypeDescription
user_id *string
_apiKeystringYour WakaTime personal OAuth access token (Bearer). Required for account data (current user, summaries, durations, heartbeats, goals, projects, commits); optional for public profiles and stats.
qstring

leaders

Fetch WakaTime's public coding leaderboard; optionally filter by language or country_code and paginate; returns ranked users with display names and weekly coding totals.

ParameterTypeDescription
country_codestring
languagestring
pagenumber

commits

List the commits WakaTime has recorded for one project belonging to a WakaTime user, given user_id (or "current") and the project name, with optional author, branch, and page. Returns each commit hash, message, author, branch, timestamps, and the coding time WakaTime attributes to it. Answers what has been committed to a project tracked by WakaTime and how much editor time went into it. Requires your own WakaTime personal OAuth token as _apiKey.

ParameterTypeDescription
project *string
user_id *string
_apiKeystringYour WakaTime personal OAuth access token (Bearer). Required for account data (current user, summaries, durations, heartbeats, goals, projects, commits); optional for public profiles and stats.
authorstring
branchstring
pagenumber

editors

Fetch WakaTime's public editor usage statistics showing relative popularity of code editors and IDEs across all WakaTime users.

meta

Fetch WakaTime API metadata including current server time and available timezones; useful for validating timezone strings before passing them to summaries or durations.