💽 MCP server to update your GitHub Stars contributions
An MCP (Model Context Protocol) server for managing your GitHub Stars contributions and profile - so AI assistants like Claude Desktop and Cursor can help you track your community contributions through natural language.
Add the server to your MCP config:
Add to your ~/.cursor/mcp.json:
{
"mcpServers": {
"github-stars": {
"command": "npx",
"args": ["-y", "github-stars-contributions-mcp"],
"env": {
"GITHUB_STARS_TOKEN": "your-api-token-here"
}
}
}
}
Add to your Claude Desktop config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"github-stars": {
"command": "npx",
"args": ["-y", "github-stars-contributions-mcp"],
"env": {
"GITHUB_STARS_TOKEN": "your-api-token-here"
}
}
}
}
your-api-token-here in the config aboveIf you prefer to run from source:
git clone https://github.com/AnandChowdhary/github-stars-contributions-mcp.git
cd github-stars-contributions-mcp
npm install
Then use this config:
{
"mcpServers": {
"github-stars": {
"command": "node",
"args": [
"/absolute/path/to/github-stars-contributions-mcp/github-stars-contributions-mcp.mjs"
],
"env": {
"GITHUB_STARS_TOKEN": "your-api-token-here"
}
}
}
}
export GITHUB_STARS_TOKEN="your-api-token-here"
npx github-stars-contributions-mcp
add_contributionAdd a new contribution to your GitHub Stars profile.
| Parameter | Type | Required | Description |
|---|---|---|---|
type |
enum | ✅ | SPEAKING, BLOGPOST, ARTICLE_PUBLICATION, EVENT_ORGANIZATION, HACKATHON, OPEN_SOURCE_PROJECT, VIDEO_PODCAST, FORUM, OTHER |
title |
string | ✅ | Title of the contribution |
description |
string | ✅ | Description of the contribution |
date |
string | ✅ | Date in YYYY-MM-DD or ISO format |
url |
string | ❌ | URL related to the contribution |
update_contributionUpdate an existing contribution.
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | ✅ | ID of the contribution to update |
type |
enum | ❌ | Contribution type |
title |
string | ❌ | Title |
description |
string | ❌ | Description |
date |
string | ❌ | Date |
url |
string | ❌ | URL |
remove_contributionDelete a contribution from your profile.
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | ✅ | ID of the contribution to delete |
list_contributionsGet all your contributions.
| Parameter | Type | Required | Description |
|---|---|---|---|
first |
number | ❌ | Number of items to fetch |
offset |
number | ❌ | Pagination offset |
add_linkAdd a profile link.
| Parameter | Type | Required | Description |
|---|---|---|---|
link |
string | ✅ | URL of the link |
platform |
enum | ✅ | TWITTER, MEDIUM, LINKEDIN, README, STACK_OVERFLOW, DEV_TO, MASTODON, OTHER |
remove_linkDelete a profile link.
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | ✅ | ID of the link to delete |
list_linksGet all your profile links. No parameters required.
get_public_profileGet a GitHub Star’s public profile.
| Parameter | Type | Required | Description |
|---|---|---|---|
username |
string | ✅ | GitHub username |
search_starsSearch GitHub Stars.
| Parameter | Type | Required | Description |
|---|---|---|---|
featured |
boolean | ❌ | Filter to featured Stars only |
get_logged_userGet your own profile information. No parameters required.
Once configured with your AI assistant, you can use natural language:
| Type | Description |
|---|---|
SPEAKING |
Conference talks, meetups, webinars |
BLOGPOST |
Blog posts and tutorials |
ARTICLE_PUBLICATION |
Published articles in magazines/journals |
EVENT_ORGANIZATION |
Organizing events, meetups, conferences |
HACKATHON |
Hackathon participation or mentoring |
OPEN_SOURCE_PROJECT |
Open source contributions |
VIDEO_PODCAST |
YouTube videos, podcasts |
FORUM |
Forum contributions, Q&A |
OTHER |
Any other contribution type |
| Type | Description |
|---|---|
TWITTER |
Twitter/X profile |
MEDIUM |
Medium blog |
LINKEDIN |
LinkedIn profile |
README |
README profile |
STACK_OVERFLOW |
Stack Overflow profile |
DEV_TO |
DEV Community profile |
MASTODON |
Mastodon profile |
OTHER |
Any other platform |
Make sure you’ve set the GITHUB_STARS_TOKEN in your MCP configuration or exported it in your shell.
Your API token may have expired. Generate a new one from stars.github.com/profile.
GITHUB_STARS_TOKEN is set correctlyISC © Anand Chowdhary