[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [GitHub contribution activity](https://spiral.ai/integrations/n8n/github-contribution-activity)

# How to Use GitHub contribution activity in n8n

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.

|  |  |
| --- | --- |
| Model | GitHub contribution activity |
| Available through | ScrapeCreators |
| Category | Data |
| Price | $0.0013 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with GitHub contribution activity in n8n

- Every Monday, use GitHub contribution activity for kentcdodds for the current year and prepare a digest of newly observed epicweb-dev repository summaries with links.
- At the start of each month, use GitHub contribution activity for torvalds for the current year and summarize the previous month's returned repository work.
- Every Friday, use GitHub contribution activity for sindresorhus for the current year and collect newly observed repository links for an open-source reading queue.
- Each month, use GitHub contribution activity for kentcdodds for the current year and prepare a newsletter draft from the previous month's returned project summaries.
- On January 5 each year, use GitHub contribution activity for torvalds for the previous year, retrieve all available months, and prepare an annual project archive.

## How to set up GitHub contribution activity in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run GitHub contribution activity in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds GitHub contribution activity, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run GitHub contribution activity**: One request; the result comes back by polling or a webhook.

```bash
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: n8n finds GitHub contribution activity on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## GitHub contribution activity tools and prices

- [GitHub · Activity](https://spiral.ai/tools/scrapecreators/scrapecreators/github-user-activity) (ScrapeCreators): Up to $0.0013 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | GitHub user URL, e.g. https://github.com/kentcdodds. |
| year |  | — | When provided, returns profile contribution activity for that year. Defaults to the current year. |
| cursor |  | — | Cursor from the previous response. Pages backward by month through the selected year. |
| handle |  | — | GitHub handle |

## What can you do with GitHub contribution activity in n8n?

Produce a recurring digest of visible repository work from a public open-source creator's GitHub timeline. A scheduled agent can revisit monthly summaries and report newly observed project activity with its returned links.

### 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.

## Overview

- [ScrapeCreators](https://spiral.ai/providers/scrapecreators)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## GitHub contribution activity in other agents

- [Amp](https://spiral.ai/integrations/amp/github-contribution-activity)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/github-contribution-activity)
- [Claude](https://spiral.ai/integrations/claude-desktop/github-contribution-activity)
- [Claude Code](https://spiral.ai/integrations/claude-code/github-contribution-activity)
- [Cline](https://spiral.ai/integrations/cline/github-contribution-activity)
- [Codex](https://spiral.ai/integrations/codex/github-contribution-activity)
- [Cursor](https://spiral.ai/integrations/cursor/github-contribution-activity)
- [Devin](https://spiral.ai/integrations/devin/github-contribution-activity)
- [dots](https://spiral.ai/integrations/dots/github-contribution-activity)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/github-contribution-activity)
- [Gemini](https://spiral.ai/integrations/gemini/github-contribution-activity)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/github-contribution-activity)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/github-contribution-activity)
- [goose](https://spiral.ai/integrations/goose/github-contribution-activity)
- [Grok](https://spiral.ai/integrations/grok/github-contribution-activity)
- [Grok Build](https://spiral.ai/integrations/grok-build/github-contribution-activity)
- [Hermes](https://spiral.ai/integrations/hermes/github-contribution-activity)
- [Instinct](https://spiral.ai/integrations/instinct/github-contribution-activity)
- [Manus](https://spiral.ai/integrations/manus/github-contribution-activity)
- [Muse](https://spiral.ai/integrations/muse/github-contribution-activity)
- [Muse Code](https://spiral.ai/integrations/muse-code/github-contribution-activity)
- [Notion](https://spiral.ai/integrations/notion/github-contribution-activity)
- [OpenClaw](https://spiral.ai/integrations/openclaw/github-contribution-activity)
- [opencode](https://spiral.ai/integrations/opencode/github-contribution-activity)
- [Perplexity](https://spiral.ai/integrations/perplexity/github-contribution-activity)
- [Raycast](https://spiral.ai/integrations/raycast/github-contribution-activity)
- [VS Code](https://spiral.ai/integrations/vscode/github-contribution-activity)
- [Windsurf](https://spiral.ai/integrations/windsurf/github-contribution-activity)
- [Zapier](https://spiral.ai/integrations/zapier/github-contribution-activity)

## More n8n guides

- [GitHub Repository](https://spiral.ai/integrations/n8n/github-repository)
- [GitHub trending developer list](https://spiral.ai/integrations/n8n/github-trending-developer-list)
- [Gemini content classification](https://spiral.ai/integrations/n8n/gemini-content-classification)
- [GitHub trending repositories](https://spiral.ai/integrations/n8n/github-trending-repositories)
- [Firecrawl research paper metadata and passages](https://spiral.ai/integrations/n8n/firecrawl-research-paper-metadata-and-passages)
- [GitHub user contributions](https://spiral.ai/integrations/n8n/github-user-contributions)

## Questions about GitHub contribution activity in n8n

**Can n8n use GitHub contribution activity?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run GitHub contribution activity like any built-in tool.

**How much does GitHub contribution activity cost in n8n?**

$0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need a ScrapeCreators account to use GitHub contribution activity in n8n?**

You need no ScrapeCreators account. n8n uses one Spiral API key for every tool, and Spiral runs GitHub contribution activity on its own ScrapeCreators account.

**How long does it take to set up GitHub contribution activity in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while GitHub contribution activity runs?**

GitHub contribution activity runs in the background. n8n 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.

