Skip to main content
Glama
wakapi-mcp

wakapi-mcp

by si-essence

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP port.3000
WAKAPI_URLYesRequired. Origin of the self-hosted Wakapi server, using http or https. Must not include userinfo, query, or hash. Example: http://127.0.0.1:8097.
MCP_TRANSPORTNoTransport mode: stdio or http. The --http flag overrides this.
WAKAPI_API_KEYYesRequired. Sent as Authorization: Basic plus base64 of the raw key. Not user:password, and never sent as api_key in the URL.
WAKAPI_CONTACTNoContact token included in the User-Agent. Must not contain the API key.
WAKAPI_TOOLSETSNoComma-separated list of toolsets, or all. Default is the read-only set.summaries,projects,leaderboard,heartbeats,meta
WAKAPI_PER_MINUTENoLocal request budget per minute. Cache hits do not spend it.30
WAKAPI_TIMEOUT_MSNoUpstream request timeout in milliseconds.20000
WAKAPI_ALLOW_WRITESNoMust be the literal true before a confirmed write is sent.
WAKAPI_CACHE_TTL_SECNoRead cache TTL in seconds. Writes clear the cache.60

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
wakapi_heartbeatsC

wakapi_heartbeats covers the heartbeats toolset (1 operations). Calls go to WAKAPI_URL with the /api prefix. Authenticated routes send Authorization Basic base64 of the API key. The key is never placed in the URL. Health and shields badges send no key. action help with target returns one action's parameters. Actions: list.

wakapi_leaderboardC

wakapi_leaderboard covers the leaderboard toolset (1 operations). Calls go to WAKAPI_URL with the /api prefix. Authenticated routes send Authorization Basic base64 of the API key. The key is never placed in the URL. Health and shields badges send no key. action help with target returns one action's parameters. Actions: list.

wakapi_metaB

wakapi_meta covers the meta toolset (4 operations). Calls go to WAKAPI_URL with the /api prefix. Authenticated routes send Authorization Basic base64 of the API key. The key is never placed in the URL. Health and shields badges send no key. action help with target returns one action's parameters. Actions: badge, user, user_agents, health.

wakapi_projectsC

wakapi_projects covers the projects toolset (2 operations). Calls go to WAKAPI_URL with the /api prefix. Authenticated routes send Authorization Basic base64 of the API key. The key is never placed in the URL. Health and shields badges send no key. action help with target returns one action's parameters. Actions: list, get.

wakapi_summariesA

wakapi_summaries covers the summaries toolset (5 operations). Calls go to WAKAPI_URL with the /api prefix. Authenticated routes send Authorization Basic base64 of the API key. The key is never placed in the URL. Health and shields badges send no key. action help with target returns one action's parameters. Pass query format csv for a CSV table of dimension, key, total_seconds, and text. That format value is not sent to Wakapi. Actions: all_time, stats, wakatime_summaries, summary, statusbar.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 5 tools

Disambiguation4/5

Each tool maps cleanly to a distinct Wakapi resource (heartbeats, leaderboard, projects, summaries, meta), so an agent can pick a tool by resource alone. The risk is inside tools: wakapi_summaries bundles five actions (summary, wakatime_summaries, all_time, stats, statusbar) whose boundaries are not explained, and the near-identical boilerplate descriptions give no domain context beyond the action list.

Naming Consistency4/5

All five tools follow the same predictable pattern: a wakapi_ namespace prefix plus the resource noun in snake_case, with the verb expressed as an action parameter. The only weakness is that names encode no operation, so 'list' vs 'get' behavior has to be discovered from the action enumeration rather than the tool name.

Tool Count4/5

Five tools covering thirteen underlying operations is a well-scoped, resource-oriented grouping that keeps the surface small. A few groupings are lopsided (wakapi_heartbeats and wakapi_leaderboard each expose only 'list'), so some tools are thin while wakapi_summaries carries five actions.

Completeness3/5

The surface is read-only: it covers analytics retrieval (summaries, projects, leaderboards, heartbeats listing) plus meta utilities like user, badge, and health. Notable gaps remain for writing or removing heartbeats, per-user/alias and duration endpoints, and filtering options that the Wakapi API exposes, which will limit agents needing to submit or mutate data.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues