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

NameTypeDescription
owner requiredstringThe account owner of the repository. The name is not case…
repo requiredstringThe name of the repository without the .git extension. The…
directionasc | descThe direction to sort the results by.
per_pageintegerThe number of results per page (max 100). For more information, see "Using…
beforestringA cursor, as given in the Link header. If specified, the query only searches…
afterstringA cursor, as given in the Link header. If specified, the query only searches…
refstringThe Git reference for the activities you want to list. The ref for a branch…
actorstringThe GitHub username to use to filter by the actor who performed the activity.
time_periodday | week | month | quarter | yearThe time period to filter by. For example, day will filter for activity that…
activity_typepush | force_push | branch_creation | branch_deletion | pr_merge | merge_queue_mergeThe 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:

call_tool arguments
{
  "name": "github_api__repos_list_activities",
  "arguments": {
    "owner": "…",
    "repo": "…"
  }
}

Or connect the GitHub API server directly, which lists 1,221 tools including this one:

Run in your terminal
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 ….

More from GitHub API