# GitHub Repo Health, Releases & Startup Signals API (`regenerative_cornice/github-repo-signals-analyzer`) Actor

Extract developer & startup traction signals via the official GitHub REST API v3: stars, forks, issues, language share, licenses, topics, latest releases, push freshness, and 0-100 health scores. Built for VCs, recruiters, B2B DevTools, n8n workflows, and AI agents (MCP).

- **URL**: https://apify.com/regenerative_cornice/github-repo-signals-analyzer.md
- **Developed by:** [John Erlbacher](https://apify.com/regenerative_cornice) (community)
- **Categories:** Developer tools, AI, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 github repo analyzeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## GitHub Repo Health, Releases & Startup Signals API

**Extract structured developer traction, release velocity, language byte-share, license metadata, and 0–100 activity health scores directly from the official public GitHub REST API v3 — with zero authentication required for standard runs.**

Purpose-built for **DevTool Venture Capitalists (VC deal sourcing & OSS due diligence), Technical Recruiters, B2B DevTools Go-To-Market & CRM Enrichment, n8n / Make automation workflows, and AI agents via Model Context Protocol (MCP)**.

Instead of stitching together brittle multi-endpoint scripts across `/repos`, `/languages`, `/releases/latest`, and `/search/repositories`, this Actor delivers one clean, normalized 23-field dataset with polite conditional ETag requests and deterministic health scoring.

***

### Key Capabilities

- **Official Public GitHub REST API v3 (`https://api.github.com`)**: Zero HTML scraping, zero headless browsers, ultra-low memory (256–512 MB), and sub-second response latency per repository.
- **Zero-Auth Ready + Optional High-Throughput Token**: Works immediately out of the box (60 req/hr unauthenticated with polite `If-None-Match` / `304 Not Modified` ETag caching) and supports an optional encrypted `githubToken` secret for **5,000 req/hr**.
- **Flexible Repository Input & Discovery**: Analyze specific repositories (`owner/repo`, full `https://github.com/...` URLs, `.git` clone URLs, or GitHub API URLs), discover fast-growing projects via GitHub `searchQuery` syntax (e.g., `topic:mcp-server stars:>100`), or combine both with automatic deduplication.
- **Exact Language Breakdown & Release Tracking**: Computes sorted percentage share (`languagesPct`) from GitHub language byte counts and fetches the latest published GitHub Release (`latestReleaseTag`, `latestReleasePublishedAt`).
- **Deterministic 0–100 Activity Health Score**: Instantly separates active, well-maintained startups and open-source infrastructure from stale repositories, unmaintained forks, and archived projects.

***

### Who Uses This Actor?

| Persona | Use Case |
| --- | --- |
| **DevTool & AI Venture Capitalists** | Track weekly star velocity, push freshness, release cadence, and homepage URLs across emerging open-source AI/MCP/infrastructure startups. |
| **B2B DevTools Sales & RevOps** | Enrich CRM accounts (HubSpot, Salesforce, Clay, Airtable) with primary language stack (`languagesPct`), license SPDX type, open issue volume, and org vs. individual owner type. |
| **Technical Recruiters & Engineering Leaders** | Evaluate engineering rigor, release discipline, active maintenance (`daysSinceLastPush`), and stack composition before outreach or dependency adoption. |
| **Security & Engineering Due Diligence** | Audit third-party dependencies for abandonment (`daysSinceLastPush > 365`), archived status (`isArchived`), missing OSI licenses (`licenseSpdx`), and release hygiene. |
| **AI Agents & Coding Assistants (MCP)** | Give Claude, Cursor, Windsurf, or LangGraph agents real-time structured repository intelligence via the Apify MCP Server. |

***

### Input Examples

#### 1. Analyze Specific GitHub Repositories (Zero-Config Default)

```json
{
  "repos": [
    "fastapi/fastapi",
    "apify/crawlee-python"
  ],
  "fetchLatestRelease": true,
  "fetchLanguages": true,
  "maxItems": 15
}
```

#### 2. Discover Trending Startups & Open-Source Tools via Search Query

```json
{
  "repos": [],
  "searchQuery": "topic:mcp-server stars:>100",
  "fetchLatestRelease": true,
  "fetchLanguages": true,
  "maxItems": 20
}
```

#### 3. High-Volume VC / CRM Enrichment Batch (with Optional GitHub Token)

```json
{
  "repos": [
    "https://github.com/pydantic/pydantic-ai",
    "https://github.com/langchain-ai/langgraph",
    "https://github.com/astral-sh/uv"
  ],
  "searchQuery": "topic:ai-agents language:python stars:>500",
  "fetchLatestRelease": true,
  "fetchLanguages": true,
  "maxItems": 100,
  "githubToken": "github_pat_..."
}
```

***

### Normalized Output Example

Every analyzed repository produces a consistent, flat JSON record ready for SQL, BI dashboards, spreadsheets, webhooks, and AI agents:

```json
{
  "fullName": "fastapi/fastapi",
  "repoUrl": "https://github.com/fastapi/fastapi",
  "homepageUrl": "https://fastapi.tiangolo.com/",
  "description": "FastAPI framework, high performance, easy to learn, fast to code, ready for production",
  "ownerLogin": "fastapi",
  "ownerType": "Organization",
  "stars": 84250,
  "forks": 7280,
  "openIssues": 142,
  "watchers": 865,
  "primaryLanguage": "Python",
  "languagesPct": {
    "Python": 99.64,
    "Shell": 0.24,
    "Dockerfile": 0.12
  },
  "licenseSpdx": "MIT",
  "topics": [
    "api",
    "async",
    "fastapi",
    "openapi",
    "pydantic",
    "python"
  ],
  "isArchived": false,
  "isFork": false,
  "latestReleaseTag": "0.115.6",
  "latestReleasePublishedAt": "2024-12-04T19:45:12Z",
  "createdAt": "2018-12-08T08:21:47Z",
  "pushedAt": "2025-02-10T14:22:18Z",
  "daysSinceLastPush": 1,
  "activityHealthScore": 100,
  "analyzedAtUtc": "2025-02-11T15:00:00Z"
}
```

***

### Activity Health Score Methodology (0–100)

The `activityHealthScore` is a transparent, deterministic composite index designed for fast triage and ranking:

| Dimension | Max Points | Scoring Logic |
| --- | --- | --- |
| **Maintenance Freshness** | 35 pts | `<= 7d`: 35, `<= 30d`: 30, `<= 90d`: 22, `<= 180d`: 14, `<= 365d`: 7, `> 365d`: 0 |
| **Developer Traction** | 30 pts | Logarithmic scale: `stars` (0–20 pts) + `forks` (0–10 pts) so emerging startups and mature projects both differentiate cleanly |
| **Release Discipline** | 15 pts | Published GitHub Release (+8 base) plus recency bonus (`<= 30d`: +7, `<= 90d`: +5, `<= 180d`: +3, `<= 365d`: +1) |
| **Project Hygiene** | 20 pts | Valid SPDX license (+8), repository description (+6), topic tags (+6) |
| **Adjustments** | Penalty / Cap | Forks receive `-15 pts`; archived repositories are scaled by `0.25x` and capped at `25` max |

***

### Pricing (Pay-Per-Event)

Transparent **Pay-Per-Event** billing — pay only for each unique repository signal record analyzed and pushed to your dataset, protected by per-repository idempotency keys (`gh-<owner>/<repo>`).

| Event Name | Unit | Description |
| --- | --- | --- |
| `repo-analyzed` | 1 repository | One normalized 23-field GitHub repository signal record pushed to the dataset |

Set `maxItems` or a run maximum charge budget on Apify to strictly control spend on every execution.

***

### Automation Recipe: Weekly n8n DevTool VC Deal-Flow Radar

1. **Schedule Trigger (n8n)**: Run every Monday at 09:00 UTC.
2. **Apify Node — Run Actor**: Run `github-repo-signals-analyzer` with:
   ```json
   {
     "repos": [],
     "searchQuery": "topic:mcp-server stars:>100 pushed:>2026-01-01",
     "fetchLatestRelease": true,
     "fetchLanguages": true,
     "maxItems": 25
   }
   ```
3. **Filter Node**: Keep items where `activityHealthScore >= 75`, `isArchived === false`, and `ownerType === "Organization"`.
4. **Airtable / HubSpot / Slack Node**: Upsert rows keyed by `fullName` with `stars`, `homepageUrl`, `primaryLanguage`, `latestReleaseTag`, and `activityHealthScore`.

***

### Using with AI Agents (Apify MCP Server)

Connect this Actor to **Claude Desktop, Cursor, Windsurf, or custom AI agents** using the [Apify MCP Server](https://mcp.apify.com):

- *"Use `github-repo-signals-analyzer` to compare `fastapi/fastapi` and `apify/crawlee-python` on release cadence, language breakdown, and activity health score."*
- *"Search `topic:mcp-server stars:>250` with `github-repo-signals-analyzer` and rank the top 10 non-archived organization repositories by health score."*
- *"Audit our 5 core Python dependencies on GitHub and flag any repository with `daysSinceLastPush > 180` or `isArchived: true`."*

***

### Rate Limits & API Compliance

- All requests use the **official public GitHub REST API v3** (`https://api.github.com`) with standard version headers (`X-GitHub-Api-Version: 2022-11-28`) and conditional `ETag` / `If-None-Match` caching.
- **Unauthenticated**: 60 requests/hour (analyzing 1 repo with both releases & languages uses 3 requests; search-discovered repos use 2 enrichment requests each plus 1 search page call). Turn off `fetchLatestRelease` or `fetchLanguages` to reduce request count on unauthenticated runs.
- **Authenticated (`githubToken`)**: 5,000 requests/hour using a read-only public GitHub Personal Access Token stored as an encrypted Apify secret input.

# Actor input Schema

## `repos` (type: `array`):

List of GitHub repositories as 'owner/repo' slugs or full GitHub URLs (e.g. 'fastapi/fastapi', 'https://github.com/apify/crawlee-python').

## `searchQuery` (type: `string`):

Optional GitHub repository search query sorted by stars descending (e.g. 'topic:mcp-server stars:>100', 'language:rust topic:ai-agents pushed:>2026-01-01').

## `fetchLatestRelease` (type: `boolean`):

When enabled, queries each repository's latest GitHub Release to populate latestReleaseTag and latestReleasePublishedAt.

## `fetchLanguages` (type: `boolean`):

When enabled, queries each repository's language byte counts and calculates percentage shares in languagesPct.

## `maxItems` (type: `integer`):

Maximum number of unique repositories to analyze and push to the dataset (1 to 200).

## `githubToken` (type: `string`):

Optional GitHub Personal Access Token (classic or fine-grained, public read-only) to increase GitHub API rate limits from 60 req/hr to 5,000 req/hr. Not required for small runs.

## Actor input object example

```json
{
  "repos": [
    "fastapi/fastapi",
    "apify/crawlee-python"
  ],
  "searchQuery": "",
  "fetchLatestRelease": true,
  "fetchLanguages": true,
  "maxItems": 15
}
```

# Actor output Schema

## `overview` (type: `string`):

Structured overview table of analyzed GitHub repositories and health scores.

## `results` (type: `string`):

All extracted GitHub repository signal records in the default dataset.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "repos": [
        "fastapi/fastapi",
        "apify/crawlee-python"
    ],
    "maxItems": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("regenerative_cornice/github-repo-signals-analyzer").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "repos": [
        "fastapi/fastapi",
        "apify/crawlee-python",
    ],
    "maxItems": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("regenerative_cornice/github-repo-signals-analyzer").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "repos": [
    "fastapi/fastapi",
    "apify/crawlee-python"
  ],
  "maxItems": 15
}' |
apify call regenerative_cornice/github-repo-signals-analyzer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,regenerative_cornice/github-repo-signals-analyzer"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/MWVr6baoW7tk3tNee/builds/wRFchLiK3FOF31net/openapi.json
