stats

Pack: wakatime · Endpoint: https://gateway.pipeworx.io/wakatime/mcp

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.

Parameters

NameTypeRequiredDescription
user_idstringyes
rangestringyes
projectstringno
timeoutnumberno
writes_onlybooleanno

Example call

Arguments

{
  "user_id": "wakatime_user_123",
  "range": "last_30_days"
}

curl

curl -X POST https://gateway.pipeworx.io/wakatime/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"stats","arguments":{"user_id":"wakatime_user_123","range":"last_30_days"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('stats', {
  "user_id": "wakatime_user_123",
  "range": "last_30_days"
});

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "Aggregate statistics from WakaTime API"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "wakatime": {
      "url": "https://gateway.pipeworx.io/wakatime/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 9, 2026