🛍️ Black Friday: Lifetime Membership $199 $129Code BLACKFRIDAY. Ends December 1.
← All use cases
GitHub

Get a Push Notification when someone stars your GitHub repo

Paste one prompt into Claude Code, Codex, or Cursor. Your agent creates the webhook, connects your repos with the GitHub CLI, and sends a test to your iPhone.

A new star is one of the clearest signs that people find your project. GitHub only shows stars in a list you have to go and check.

Connect the ActivitySmith MCP server and ask your agent for it in plain words. The agent writes the rule, creates the webhook, and registers it on each repo with gh. Each new star then arrives as a Push Notification with who starred the repo and the new star count.

Before you start

ActivitySmith account

Create an account and sign in when your MCP client opens the ActivitySmith authorization flow.

At least one paired iOS device

Pair an iPhone or iPad with ActivitySmith so the update has somewhere to appear.

ActivitySmith MCP server

Connect the hosted ActivitySmith MCP server to Claude Code, Codex, Cursor, or another MCP client, then authorize it through OAuth.

GitHub CLI signed in

Your agent registers the webhook with the GitHub CLI. Sign in with gh auth login as an admin of the repos you want to watch.

Set it up with your agent

Ask your agent

You describe what you want. Your agent handles the webhook, its secret, and the GitHub side, then shows you the result on your iPhone.

Step 1

Connect the MCP server

Add the ActivitySmith MCP server to your agent. Approve the OAuth screen in your browser.

Server URL

https://mcp.activitysmith.com/mcp

Step 2

Paste the prompt

Name the repos, or let the agent find your public ones.

Prompt to copy

Use ActivitySmith to send me a Push Notification on my iPhone when someone stars any of my public GitHub repos. Show who starred it and the new star count. Set up the webhook with gh, then send me a test.

Step 3

Check the test

The agent sends a test Push Notification built from a sample star. The next real star looks the same.

The rule your agent writes

ActivitySmith runs this rule for every star event GitHub sends. Text in braces comes from the event, so each Push Notification names the repo and the person who starred it, with their GitHub avatar as the icon.

One rule for every repo

The same webhook serves all the repos you connect. A typical result: "⭐ New star on api", then "mila-dev starred acme/api. 312 stars now." Tapping it opens the stargazer's GitHub profile.

Rule

{
"id": "new-star",
"events": ["star.created"],
"action": {
"type": "push_notification",
"title": "⭐ New star on {repository.name}",
"message": "{sender.login} starred {repository.full_name}. {repository.stargazers_count} stars now.",
"icon": "{sender.avatar_url}",
"url": "{sender.html_url}"
}
}

Change it in plain words

Ask your agent to change the rule. It checks the change against a sample star before it saves it.

Watch one repo

Limit the Push Notifications to a single repository.

Prompt

Only send star notifications for acme/api.

Celebrate milestones

Skip single stars and hear only about round numbers.

Prompt

Only notify me when a repo reaches a multiple of 100 stars.

Keep the count on your Lock Screen

Add a Lock Screen Widget with the current star count.

Prompt

Also keep the star count on a Lock Screen Widget.

New stars without checking GitHub

  • Each new star reaches your iPhone when GitHub sends the event.
  • The Push Notification shows who starred the repo and the new total.
  • You change what you get by asking your agent, not by editing settings.

Frequently asked questions

Do I need to add the webhook in GitHub myself?
No. Your agent registers it with the GitHub CLI on each repo you name. You need admin access to those repos, and gh must be signed in.
Which AI agents can set this up?
Any agent that connects to the ActivitySmith MCP server and can run the gh command, such as Claude Code, Codex, or Cursor.
Can I get notified about other GitHub events?
Yes. The same webhook can send Push Notifications or Live Activities for failed CI runs, merged pull requests, releases, and other GitHub events. Ask your agent for them.

Get your next star on your iPhone

Connect the ActivitySmith MCP server and ask your agent to set it up.