[Integrations](https://spiral.ai/integrations) › [Notion](https://spiral.ai/integrations/notion) › [GitHub repository labels](https://spiral.ai/integrations/notion/github-repository-labels)

# How to Use GitHub repository labels in Notion

Returns a repository’s label names, descriptions, colors, and default-label flags. Use it to discover the project’s categories before counting or reading labeled issues.

|  |  |
| --- | --- |
| Model | GitHub repository labels |
| Available through | Alexandria |
| Category | E-commerce |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GitHub repository labels in Notion

- Every Monday at 9am: use GitHub repository labels to look this up and give me the result as a table.
- Pull the latest numbers from GitHub repository labels and tell me what changed since last week.
- Check GitHub repository labels and summarize what you find in three bullet points.
- Pull the newest data from GitHub repository labels and give me the result as a table.
- Check GitHub repository labels every morning and tell me only when something changed.

## How to set up GitHub repository labels in Notion

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

### Use the Spiral skill

1. **Send Notion 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. **Allow custom MCP servers**: A workspace owner opens Settings › Connections, then the Manage tab, and turns on Enable custom MCP servers. Where members may install only approved connections, also add Spiral under Approved connections › Add approved connection › Custom MCP server with the URL below.

2. **Add Spiral to a custom agent**: Open the custom agent (or create one), then Settings › Tools & Access › Add connection › Custom MCP server. Paste this URL, name it Spiral, keep OAuth and click Connect.

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

3. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Notion never sees it, and you can remove it under Settings › Connected apps in the console.

4. **Run GitHub repository labels in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds GitHub repository labels, 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 repository labels**: 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": "alexandria",
    "model": "github-com/repositories/labels",
    "input": {
      "repo": "<repo>"
    }
  }'
```

Then paste one of the prompts above: Notion finds GitHub repository labels on Spiral, shows the price and runs it.

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

## GitHub repository labels tools and prices

- [GitHub · Labels](https://spiral.ai/tools/alexandria/github-com/repositories/labels) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | HTTPS github.com/{owner}/{name} URL; deeper paths (issues, tree, ...) are accepted and reduced to the repository. Provide exactly one of repo or url. Pattern: ^(?:https?://)?(?:www\.)?github\.com/[A-Za-z0-9-]{1,39}/[A-Za-z0-9._-]{1,100}(?:[/?#].*)?$. |
| page | 1 to 1000 | 1 | 1-based page; has_next in the response says whether page+1 exists. |
| repo |  | — | Repository as `owner/name`, for example `firecrawl/firecrawl`. Provide exactly one of repo or url. Pattern: ^@?/?[A-Za-z0-9](?:[A-Za-z0-9-]{0,37}[A-Za-z0-9])?/[A-Za-z0-9._-]{1,100}(?:\.git)?/?$. |
| per_page | 1 to 100 | 100 | Records per page. |

## What can you do with GitHub repository labels in Notion?

Receive a recurring brief on changes to GitHub projects and reported package risks. A scheduled agent can compare returned releases, issue records, repository metadata, or advisory findings with its previous results and report what changed.

### Review a dependency before adoption

Build an evidence sheet for a public package: repository status, contribution concentration, README and manifest content, label categories, issue totals and reports, and release history. Check the latest full release and match the package identity against known vulnerability and malware advisories before recommending adoption.

### Reassess an existing dependency portfolio

Review whether to retain or replace each dependency. Compare repository status, contribution concentration, current documentation, categorized backlogs, release history, and the latest full release with the previous review; add vulnerability and malicious-package findings for the exact package identities in use.

### Prepare an upgrade review

Compare release notes with the latest full release and the package manifest at the target tag. Use repository labels, issue counts, and issue reports to identify relevant migration problems, then check known vulnerability records and malicious-package reports for the selected dependencies.

### Plan maintenance work for a public project

Turn repository status, aggregate contribution counts, label definitions, and issue counts into a maintenance brief. Read the underlying issue reports to propose backlog priorities and explain where the project’s recorded contribution workload is concentrated.

### Choose an upstream contribution

Read contribution instructions, discover the project’s actual labels, count matching open issues, and inspect candidate reports. Add repository status and aggregate contribution counts to explain the project context before proposing a documentation fix or a bug reproduction.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Notion guides](https://spiral.ai/integrations/notion)

## GitHub repository labels in other agents

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

## More Notion guides

- [GitHub repository issues](https://spiral.ai/integrations/notion/github-repository-issues)
- [GitHub repository search](https://spiral.ai/integrations/notion/github-repository-search)
- [GitHub repository issue counts](https://spiral.ai/integrations/notion/github-repository-issue-counts)
- [GitHub repository security advisories](https://spiral.ai/integrations/notion/github-repository-security-advisories)
- [GitHub repository file](https://spiral.ai/integrations/notion/github-repository-file)
- [GitHub security advisory](https://spiral.ai/integrations/notion/github-security-advisory)

## Questions about GitHub repository labels in Notion

**Can Notion use GitHub repository labels?**

Yes. Add Spiral to Notion as an MCP server, and Notion can find and run GitHub repository labels like any built-in tool.

**How much does GitHub repository labels cost in Notion?**

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

**Do I need an Alexandria account to use GitHub repository labels in Notion?**

No. Spiral runs GitHub repository labels on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up GitHub repository labels in Notion?**

About two minutes: allow custom MCP servers, then add Spiral to a custom agent, then sign in to Spiral and approve.

**Does Notion wait while GitHub repository labels runs?**

GitHub repository labels runs in the background. Notion starts the run, checks on it and gives you the json when it's ready.

**Does one GitHub response include the complete list?**

GitHub paginates large lists. Repository label pages contain at most 100 records, so a single page is not evidence that you have the whole label catalog.

**How fresh and complete are GitHub contributor counts?**

GitHub says contributor results can be a few hours old because they are cached. It links only the first 500 author email addresses to GitHub accounts, so account-based contribution totals have a coverage limit.

**Do GitHub issue lists include pull requests?**

GitHub treats every pull request as an issue, so its underlying issue listing can include both. GitHub search supports an issues-only restriction, which is the relevant distinction when comparing a backlog count with an issue list.

**Can public release data include drafts or every Git tag?**

Published releases are available to everyone, but GitHub restricts draft-release listings to users with push access. A Git tag without an associated release does not appear in the release listing.

**Where does GitHub get vulnerability reports?**

The GitHub Advisory Database combines reports from GitHub, NVD, npm, FriendsOfPHP, Go, Python Packaging, Ruby, RustSec, and community contributions. Its curation team reviews proposed corrections to advisory information.

