How to Use GitHub contribution activity in Cursor
Fetch monthly summaries from a GitHub profile's contribution timeline, with repository details and links where available. Use it to build an open-source project recap or inspect the work behind a contribution count.
Prompts to try with GitHub contribution activity in Cursor
Copy an example into Cursor, or ask in your own words.
Use GitHub contribution activity for kentcdodds in 2025, retrieve every available month, and create docs/open-source-recap.md with summaries grouped by repository and their returned links.
Read this project's package.json, then use GitHub contribution activity for sindresorhus in 2025 to find returned repositories matching our dependencies and write a review brief.
Use GitHub contribution activity for torvalds in 2025 and create a CSV of the returned monthly commit summaries, repository names, and source links.
Use GitHub contribution activity for kentcdodds in 2025 and add a table to docs/research.md showing returned activity for epicweb-dev repositories.
Use GitHub contribution activity for sindresorhus in 2025 and build a small report page displaying the returned monthly summaries with repository links.
How to set up GitHub contribution activity in Cursor
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to Cursor on the console's Agents & MCP page, or add this to .cursor/mcp.json (one project) or ~/.cursor/mcp.json (every project):
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - Sign in
Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.
Use the Spiral skill
- Send Cursor this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run GitHub contribution activity
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "scrapecreators", "model": "scrapecreators/github-user-activity", "input": { "url": "https://github.com/torvalds" } }'
Then paste one of the prompts above: Cursor finds GitHub contribution activity on Spiral, shows the price and runs it.
GitHub contribution activity providers and prices
Spiral runs GitHub contribution activity through ScrapeCreators. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Cursor for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Year | a number | When provided, returns profile contribution activity for that year. Defaults to the current year. | |
| Cursor | a number | Cursor from the previous response. Pages backward by month through the selected year. |
Every API field of GitHub · Activity is on its tool page: open its card above.
What can you do with GitHub contribution activity in Cursor?
Build a repository-linked project recap from a public maintainer's monthly GitHub contribution summaries. A coding agent can match returned repositories against your dependency files and write a focused review brief.
Open-source project recap
Turn a public maintainer's monthly contribution summaries into a recap organized by repository, with links readers can inspect.
Dependency review brief
Filter a public maintainer's returned activity to repositories used by your project and collect the visible contribution summaries for a dependency review.
Annual project archive
Page through a selected year and preserve the available monthly contribution summaries and repository links for an open-source project archive.
Project newsletter draft
Use returned summaries from a public project creator's timeline to draft a newsletter section about repository work, keeping each statement tied to its source link.
Contribution count explanation
Explain a monthly commit summary by showing the repository totals supplied in its details, giving readers context beyond a single contribution count.
Documentation research queue
Collect repositories appearing in a public educator's contribution timeline as candidates for tutorials or documentation research.
More on GitHub contribution activity and Cursor
Overview
GitHub contribution activity in other agents
Questions about GitHub contribution activity in Cursor
Can Cursor use GitHub contribution activity?
Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run GitHub contribution activity like any built-in tool.
How much does GitHub contribution activity cost in Cursor?
$0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Cursor plan is separate.
Do I need a ScrapeCreators account to use GitHub contribution activity in Cursor?
No. Spiral runs GitHub contribution activity on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.
How long does it take to set up GitHub contribution activity in Cursor?
About two minutes: add the hosted server, then sign in.
Does Cursor wait while GitHub contribution activity runs?
GitHub contribution activity runs in the background. Cursor starts the run, checks on it and gives you the json when it's ready.
What does GitHub contribution activity contain?
The endpoint returns monthly activity summaries with repository details and links where available. GitHub's underlying timeline covers commits, proposed pull requests, and opened issues.
Does one request return a full year?
Each response covers one month. Follow the returned pagination cursor to move backward through the selected year.
How quickly do new contributions appear?
GitHub says qualifying commits can take up to 24 hours to appear on the contribution graph. A same-day contribution check can therefore miss recent work.
Can public activity reveal private repository work?
When someone publicizes private contributions, viewers without access can see daily contribution counts. GitHub withholds the specific details of that work.
Does the contribution record include every commit?
GitHub applies contribution criteria, so the record is not a complete commit ledger. For example, commits made in a fork do not qualify for the contribution graph.
Start using GitHub contribution activity in Cursor
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Cursor:
set up https://spiral.ai/SKILL.md


