[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [GitHub user repositories](https://spiral.ai/integrations/claude-code/github-user-repositories)

# How to Use GitHub user repositories in Claude Code

Fetch public repositories for a GitHub account, with descriptions, languages, stars, forks, topics, licenses, and timestamps. Use it to compare a creator's projects or build a repository inventory across multiple pages.

|  |  |
| --- | --- |
| Model | GitHub user repositories |
| Available through | ScrapeCreators |
| Category | Data |
| Price | $0.0013 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GitHub user repositories in Claude Code

- Use GitHub user repositories for kentcdodds, retrieve every page, and create a project directory in this repo with names, descriptions, URLs, languages, and topics.
- Use GitHub user repositories for sindresorhus and match the results against repository URLs in our dependency inventory. Write a review report with archive status, reported license, and last push date.
- Use GitHub user repositories for antfu and generate a CSV in this project containing repository names, languages, stars, forks, and URLs. Separate forks from original repositories.
- Use GitHub user repositories for addyosmani and compare the results with our saved repository snapshot. Report changes in star counts, fork counts, and archive status.
- Use GitHub user repositories for kentcdodds and review the repository links in our resources file. Suggest which entries deserve review based on descriptions, archive status, and push dates.

## How to set up GitHub user repositories in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code 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 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 user repositories**: 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-repositories",
    "input": {
      "url": "https://github.com/kentcdodds"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds GitHub user repositories on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## GitHub user repositories tools and prices

- [GitHub · Repositories](https://spiral.ai/tools/scrapecreators/scrapecreators/github-user-repositories) (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. |
| sort | created, updated, pushed, full_name | — | Sort by created, updated, pushed, or full_name. Defaults to updated. |
| type | owner, all, member | — | Repository type. Defaults to owner. GitHub also supports all and member. |
| cursor |  | — | Cursor from the previous response. Defaults to 1. |
| handle |  | — | GitHub username/handle of the user you want the repositories for |
| direction | asc, desc | — | Sort direction: ascending or descending. |

## What can you do with GitHub user repositories in Claude Code?

Build a repository directory or review report from GitHub project metadata. Match returned repository URLs to your project's files, then surface reported licenses, archive status, and push timestamps.

### Build a public project directory

Turn a creator's repository names, descriptions, URLs, languages, and topics into a searchable project directory.

### Find projects worth evaluating

Shortlist repositories by description and language, then compare stars, forks, archive status, and last push dates before choosing projects for closer review.

### Track repository interest

Compare saved star and fork counts across scheduled collections to calculate changes for specific public projects.

### Prepare a license review queue

Collect reported license names alongside repository links and flag projects without a reported license for manual review before reuse.

### Refresh technical reading lists

Find repositories whose descriptions or topics match a reading list, then use archive status and push dates to prioritize entries for editorial review.

### Summarize a project collection

Group an account's public repositories by reported language and topic to explain what kinds of tools and examples are available.

### Review an existing dependency shortlist

Match repository URLs from a shortlist against returned records and surface archive status, reported licenses, and push timestamps for review.

## Overview

- [ScrapeCreators](https://spiral.ai/providers/scrapecreators)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## GitHub user repositories in other agents

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

## More Claude Code guides

- [GitHub user pull requests](https://spiral.ai/integrations/claude-code/github-user-pull-requests)
- [Mistral OCR 4.1](https://spiral.ai/integrations/claude-code/mistral-ocr-4-1)
- [GitHub user profile](https://spiral.ai/integrations/claude-code/github-user-profile)
- [Mistral OCR document extraction](https://spiral.ai/integrations/claude-code/mistral-ocr-document-extraction)
- [GitHub user following](https://spiral.ai/integrations/claude-code/github-user-following)
- [Mistral document OCR](https://spiral.ai/integrations/claude-code/mistral-document-ocr)

## Questions about GitHub user repositories in Claude Code

**Can Claude Code use GitHub user repositories?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run GitHub user repositories like any built-in tool.

**How much does GitHub user repositories cost in Claude Code?**

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

**Do I need a ScrapeCreators account to use GitHub user repositories in Claude Code?**

No. Spiral runs GitHub user repositories 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 user repositories in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while GitHub user repositories runs?**

GitHub user repositories runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

**Does this include private GitHub repositories?**

No. The documented coverage is public repositories associated with the requested GitHub account.

**Can I treat one response as the complete repository list?**

The endpoint supports pagination, so a response can represent only part of the list. Retrieve subsequent pages before ranking projects or calculating repository totals.

**How fresh and complete is GitHub's language information?**

GitHub updates language statistics after changes are pushed to the default branch. Its Linguist detector works only for repositories with fewer than 100,000 files, which limits language analysis for larger repositories.

**What does archived status tell me?**

GitHub says archiving makes a repository read-only and indicates that it is no longer actively maintained. Use that status when separating projects for adoption from projects kept for reference.

**Are repository topics a complete classification?**

Repository administrators choose their topics, and GitHub allows at most 20 per repository. Topics are useful labels, but that limit and administrator choice make them unsuitable as an exhaustive description.

