Skip to main content
Glama

Wakapi MCP Server

get_recent_logs

Retrieve recent coding activity logs and heartbeats from Wakapi to track development time, filter by project, and analyze programming productivity metrics.

Instructions

Get heartbeats of user for recent days (extension of heartbeats GET).

Mimics https://wakatime.com/api/v1/users/{user}/heartbeats for multiple days.

Requires ApiKeyAuth: Set header Authorization to your API Key encoded as Base64 and prefixed with Basic.

Args: user (str, required, default="current"): Username (or current). project_name (str, optional): Filter by project. days (int, default=7): Number of days to retrieve. limit (int, default=1000): Maximum number of heartbeats.

Returns: List of HeartbeatEntry: Each with id (str), project (str), language (str), entity (str), time (number), is_write (bool), branch (str), category (str), cursorpos (int), line_additions (int), line_deletions (int), lineno (int), lines (int), type (str), user_agent_id (str), user_id (str), machine_name_id (str), created_at (str). Sorted by time descending.

Input Schema

NameRequiredDescriptionDefault
daysNo
limitNo
project_nameNo
userNocurrent

Input Schema (JSON Schema)

{ "properties": { "days": { "default": 7, "title": "Days", "type": "integer" }, "limit": { "default": 1000, "title": "Limit", "type": "integer" }, "project_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Project Name" }, "user": { "default": "current", "title": "User", "type": "string" } }, "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/impure0xntk/mcp-wakapi'

If you have feedback or need assistance with the MCP directory API, please join our Discord server