{
  "info": {
    "name": "WakaTime — mcp.ai",
    "description": "REST API for the WakaTime MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/wakatime",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "wakatime_get_aggregate_stats",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/aggregate/stats",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "aggregate",
            "stats"
          ]
        },
        "description": "Tool to retrieve aggregate coding statistics across all WakaTime users for a given time range. Use when analyzing global trends in programming languages, editors, operating systems, and categories.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"range\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "wakatime_get_current_user_status_bar_today",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/current/user/status/bar/today",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "current",
            "user",
            "status",
            "bar",
            "today"
          ]
        },
        "description": "Tool to get current user's coding activity today for displaying in IDE status bars. Use when you need a summary of today's coding time broken down by projects, languages, editors, etc.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"project\": \"\",\n  \"timeout\": 0,\n  \"branches\": \"\",\n  \"timezone\": \"\",\n  \"writes_only\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "wakatime_get_editors",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/editors",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "editors"
          ]
        },
        "description": "Tool to list WakaTime IDE plugins with metadata. Use when you want to discover available IDE integrations and their latest versions.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"unreleased\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "wakatime_get_goals",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/goals",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "goals"
          ]
        },
        "description": "Tool to list a user's goals with progress series and metadata. Use after authenticating the user with read_goals scope.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"user\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "wakatime_get_insights",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/insights",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "insights"
          ]
        },
        "description": "Tool to retrieve an insight for a user over a time range. Use when analyzing user coding metrics after authentication.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"user\": \"\",\n  \"range\": \"\",\n  \"timeout\": 0,\n  \"weekday\": \"\",\n  \"writes_only\": false,\n  \"insight_type\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "wakatime_get_leaders",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/leaders",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "leaders"
          ]
        },
        "description": "Tool to list public leaders ranked by coding activity. Use when viewing top coders globally or filtering by language, country code, or hireable status.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"language\": \"\",\n  \"is_hireable\": false,\n  \"country_code\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "wakatime_get_machine_names",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/machine/names",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "machine",
            "names"
          ]
        },
        "description": "Tool to list a user's machines including last seen time. Use when needing machine names for a specific user.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"user\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "wakatime_get_meta",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/meta",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "meta"
          ]
        },
        "description": "Tool to retrieve WakaTime API meta information, including public IP addresses used by WakaTime servers. Use when you need to know WakaTime's infrastructure details for network configuration or securit",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "wakatime_get_oauth_authorize",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/oauth/authorize",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "oauth",
            "authorize"
          ]
        },
        "description": "Tool to generate OAuth 2.0 authorization URL. Use when redirecting users to WakaTime to grant access.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"scope\": \"\",\n  \"state\": \"\",\n  \"client_id\": \"\",\n  \"redirect_uri\": \"\",\n  \"force_approve\": \"\",\n  \"response_type\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "wakatime_get_user",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/user",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "user"
          ]
        },
        "description": "Tool to get detailed profile information for a WakaTime user by user ID or username. Use 'current' as the user parameter to get the authenticated user's details. Returns comprehensive profile data inc",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"user\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "wakatime_get_user_stats",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/user/stats",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "user",
            "stats"
          ]
        },
        "description": "Tool to retrieve coding statistics for a user over the default time range. Returns comprehensive metrics including languages, editors, projects, and daily averages. Use when analyzing a user's coding ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"user\": \"\",\n  \"timeout\": 0,\n  \"writes_only\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "wakatime_get_user_stats_by_range",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/user/stats/by/range",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "user",
            "stats",
            "by",
            "range"
          ]
        },
        "description": "Tool to retrieve comprehensive coding statistics for a user over a specific time range. Returns breakdowns by language, editor, project, OS, and more, along with daily averages and best day. Use when ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"user\": \"\",\n  \"range\": \"\",\n  \"timeout\": 0,\n  \"writes_only\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "wakatime_get_user_summaries",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/user/summaries",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "user",
            "summaries"
          ]
        },
        "description": "Get user's coding activity for a time range as daily summaries. Returns detailed breakdowns by projects, languages, editors, and more for each day. Use when you need to analyze coding patterns, track ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"end\": \"\",\n  \"user\": \"\",\n  \"range\": \"\",\n  \"start\": \"\",\n  \"project\": \"\",\n  \"timeout\": 0,\n  \"branches\": \"\",\n  \"timezone\": \"\",\n  \"writes_only\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "wakatime_get_users_all_time_since_today",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/users/all/time/since/today",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "users",
            "all",
            "time",
            "since",
            "today"
          ]
        },
        "description": "Tool to retrieve total coding time since account creation for a user. Use after authenticating to fetch all-time stats.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"user\": \"\",\n  \"project\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "wakatime_list_program_languages",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/program/languages",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "program",
            "languages"
          ]
        },
        "description": "Tool to list all verified program languages supported by WakaTime. Use when you need to discover available programming languages tracked by WakaTime.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "wakatime_list_user_projects",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/user/projects",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "user",
            "projects"
          ]
        },
        "description": "List WakaTime projects for a specified user. Returns project names, IDs, creation dates, and last activity times. Use to discover available projects for any user before querying project-specific stats",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"q\": \"\",\n  \"page\": 0,\n  \"user\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "wakatime_list_user_user_agents",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/user/user/agents",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "user",
            "user",
            "agents"
          ]
        },
        "description": "Tool to list plugins and editors which have sent data for a specified user. Use when needing to discover which development environments and tools a user is actively using.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"user\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}