Home / Servers / GitHub API / repos_list_activities
List repository activities
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
List repository activities Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users. For more information about viewing… [GET /repos/{owner}/{repo}/activity]
Name on the gateway: github_api__repos_list_activities · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
owner required | string | The account owner of the repository. The name is not case… |
repo required | string | The name of the repository without the .git extension. The… |
direction | asc | desc | The direction to sort the results by. |
per_page | integer | The number of results per page (max 100). For more information, see "Using… |
before | string | A cursor, as given in the Link header. If specified, the query only searches… |
after | string | A cursor, as given in the Link header. If specified, the query only searches… |
ref | string | The Git reference for the activities you want to list. The ref for a branch… |
actor | string | The GitHub username to use to filter by the actor who performed the activity. |
time_period | day | week | month | quarter | year | The time period to filter by. For example, day will filter for activity that… |
activity_type | push | force_push | branch_creation | branch_deletion | pr_merge | merge_queue_merge | The activity type to filter by. For example, you can choose to filter by… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "github_api__repos_list_activities",
"arguments": {
"owner": "…",
"repo": "…"
}
}Or connect the GitHub API server directly, which lists 1,221 tools including this one:
claude mcp add --transport http hj-github-api https://mcp.hjlabs.in/mcp/github-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the list repository activities tool with owner set to ….