# GitHub Repository, User & Email Scraper | 2Space (`2space/github-repo-b2b-signals`) Actor

Fast GitHub repository and maintainer scraper. Search GitHub repos or inspect repo lists to scrape star growth, package.json/pyproject.toml tech stacks, and owner emails, websites, companies, and X handles.

- **URL**: https://apify.com/2space/github-repo-b2b-signals.md
- **Developed by:** [2Space Group](https://apify.com/2space) (community)
- **Categories:** Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 github repo signals extracted

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/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

> **Built by 2Space Group** — Fast, lightweight AI & B2B data Actors on Apify. Zero browser bloat, predictable Pay-Per-Event pricing, and 1-step MCP support for ChatGPT, Claude Code, Cursor, Antigravity & n8n.

### What does GitHub Repo & Maintainer B2B Signals do?

**GitHub Repo & Maintainer B2B Signals** (`reminiscent_medaka/github-repo-b2b-signals`) is a fast, zero-LLM **GitHub repository scraper**, **open source leads finder**, **GitHub maintainer contact extractor**, and **developer signals API**. Designed for developer-tool GTM teams, VC deal sourcing, and ecosystem analysts, it queries official GitHub REST APIs and raw manifest files (`package.json`, `pyproject.toml`) to extract repository traction velocity (`starsPerMonth`), dependency stacks, and enriched maintainer/organization B2B profiles—without headless browsers or paid LLM keys.

***

### Features

- **Traction Velocity (`starsPerMonth`)**: Normalizes star counts by repository age so breakout open-source projects stand out immediately from legacy repositories.
- **Dependency Stack Inspection (`detectedDependencies`)**: Reads `package.json` and `pyproject.toml` on each repository's default branch to detect SDKs and frameworks (such as `@modelcontextprotocol/sdk`, `fastapi`, `zod`, or `langchain`).
- **Maintainer & Organization Lead Enrichment**: Extracts public `company`, `blogWebsite`, `publicEmail`, `twitterUsername`, and `location` with per-owner caching to minimize API calls.
- **Dual Modes (`search_repos` & `inspect_repos`)**: Search repositories by keyword, language, and `minStars`, or audit a curated list of `owner/repo` slugs and GitHub URLs.
- **Rate-Limit Aware & Cost Guarded**: Monitors `x-ratelimit-remaining` headers, supports optional encrypted `githubToken` PATs (up to 5,000 req/hr), and enforces `maxItems` + `maxCostUsd` caps with **No Data, No Charge** protection.

***

### What data can this Actor extract?

| Field | Type | Description |
| --- | --- | --- |
| `fullName` / `repoUrl` | `string` | Repository slug (`owner/name`) and canonical GitHub URL |
| `description` / `language` / `license` | `string` | Repository summary, primary language, and SPDX license |
| `stars` / `forks` / `openIssues` | `integer` | Core GitHub popularity and activity counters |
| `starsPerMonth` | `number` | Monthly star growth velocity since repository creation |
| `topics` | `string[]` | Repository topic tags |
| `detectedDependencies` / `manifestSource` | `string[] \| string` | Parsed dependencies from `package.json` or `pyproject.toml` |
| `ownerLogin` / `ownerType` | `string` | Owner handle and account type (`Organization` or `User`) |
| `company` / `location` | `string` | Public company affiliation and geographic location |
| `blogWebsite` / `publicEmail` / `twitterUsername` | `string` | Publicly listed website, email, and X/Twitter handle |
| `createdAt` / `pushedAt` / `scrapedAt` | `string` | ISO-8601 timestamps |

***

### How much does it cost?

This Actor uses transparent **Pay-Per-Event (PPE)** pricing with **No Data, No Charge** guarantees:

- **`repo-signal-extracted`**: Charged once per validated repository record pushed to the dataset.
- **`maintainer-lead-enriched`**: Optional add-on event charged only when `enrichOwnerProfile` is enabled and at least one actionable public lead signal (`blogWebsite`, `publicEmail`, or `twitterUsername`) is found.

Skipped or failed repositories are never charged.

***

### Input & Output Examples

#### Input Example

```json
{
  "mode": "search_repos",
  "query": "mcp server",
  "language": "TypeScript",
  "minStars": 50,
  "sort": "stars",
  "enrichOwnerProfile": true,
  "inspectManifest": true,
  "maxItems": 5,
  "maxCostUsd": 2.0
}
```

#### Output Example

You can download the dataset in various formats such as **JSON, HTML, CSV, or Excel** directly from Apify Console or via API.

```json
{
  "fullName": "example-org/example-mcp-server",
  "repoUrl": "https://github.com/example-org/example-mcp-server",
  "description": "Lightweight MCP server framework for enterprise integrations.",
  "language": "TypeScript",
  "stars": 1240,
  "forks": 145,
  "openIssues": 28,
  "license": "MIT",
  "topics": ["mcp", "ai-agents", "typescript"],
  "createdAt": "2025-01-15T12:00:00Z",
  "pushedAt": "2026-03-01T08:30:00Z",
  "starsPerMonth": 88.57,
  "defaultBranch": "main",
  "archived": false,
  "detectedDependencies": ["@modelcontextprotocol/sdk", "zod", "express"],
  "manifestSource": "package.json",
  "ownerLogin": "example-org",
  "ownerType": "Organization",
  "company": "Example Labs Inc.",
  "blogWebsite": "https://example.com/",
  "publicEmail": "hello@example.com",
  "twitterUsername": "examplelabs",
  "location": "San Francisco, CA",
  "scrapedAt": "2026-11-30T07:00:00.000Z"
}
```

***

### Connect Permanently to Your AI Agent (1 Step)

#### ChatGPT

Open **ChatGPT -> Settings -> Apps & Connectors -> Create -> Apify MCP OAuth**, sign in to Apify, and connect `reminiscent_medaka/github-repo-b2b-signals` (`https://mcp.apify.com?tools=reminiscent_medaka/github-repo-b2b-signals`).

#### Claude Code

```bash
claude mcp add 2space "https://mcp.apify.com?tools=reminiscent_medaka/github-repo-b2b-signals" -t http
```

#### Cursor / Antigravity

Add to `.cursor/mcp.json` or your Antigravity MCP config:

```json
{
  "mcpServers": {
    "2space": {
      "url": "https://mcp.apify.com?tools=reminiscent_medaka/github-repo-b2b-signals",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_TOKEN"
      }
    }
  }
}
```

#### n8n, Make & Zapier

- **n8n**: Import [`n8n/github-maintainer-leads-pipeline.json`](./n8n/github-maintainer-leads-pipeline.json) to schedule discovery runs and route high-velocity leads into Slack, Google Sheets, or HubSpot.
- **Make**: Add **Apify -> Run an Actor** (`reminiscent_medaka/github-repo-b2b-signals`) followed by **Get Dataset Items** to sync open-source leads into your CRM.
- **Zapier**: Use the **Apify** integration (`Run Actor` / `New Dataset Item`) to push new maintainer signals into Salesforce, Notion, or Airtable.

***

### Troubleshooting & Support

- **Hitting GitHub's 60 req/hr unauthenticated limit?** Pass a free GitHub Personal Access Token in `githubToken` (stored encrypted) to raise your limit to 5,000 requests/hour, or inspect `rateLimitRemaining` inside `RUN_DIAGNOSTICS`.
- **Need help or extra manifest parsers?** Open an **Issue** in the **Issues** tab on Apify Store, or check the **API** tab for REST, JS, and Python SDK examples.
- **Ethical Data Notice**: This Actor extracts only publicly shared GitHub repository and profile fields. Public maintainer emails and handles may constitute personal data under GDPR or similar laws; process them only with a legitimate legal basis.

***

### More Tools by 2Space Group

Explore the full 2Space Group catalog on **[Apify Store](https://apify.com/reminiscent_medaka)**:

- [B2B Domain Enricher](https://apify.com/reminiscent_medaka/b2b-domain-enricher) (`b2b-domain-enricher`)
- [SaaS Pricing Extractor](https://apify.com/reminiscent_medaka/saas-pricing-extractor) (`saas-pricing-extractor`)
- [ATS Career & Jobs API](https://apify.com/reminiscent_medaka/ats-career-jobs-api) (`ats-career-jobs-api`)
- [Shopify Store Intel](https://apify.com/reminiscent_medaka/shopify-store-intel) (`shopify-store-intel`)
- [SEC EDGAR Intelligence](https://apify.com/reminiscent_medaka/sec-edgar-intelligence) (`sec-edgar-intelligence`)
- [Gov Grants & Contracts Radar](https://apify.com/reminiscent_medaka/gov-grants-contracts-radar) (`gov-grants-contracts-radar`)
- [Sitemap & llms.txt Precision AI Docs Crawler](https://apify.com/reminiscent_medaka/llms-sitemap-rag-mcp) (`llms-sitemap-rag-mcp`)
- [Tech Stack, DNS, SSL & WHOIS/RDAP Auditor](https://apify.com/reminiscent_medaka/tech-stack-dns-whois-mcp) (`tech-stack-dns-whois-mcp`)
- [GitHub Repo & Maintainer B2B Signals](https://apify.com/reminiscent_medaka/github-repo-b2b-signals) (`github-repo-b2b-signals`)
- [JSON-LD & AI SEO (GEO) Auditor](https://apify.com/reminiscent_medaka/jsonld-ai-seo-auditor) (`jsonld-ai-seo-auditor`)
- [YouTube Transcript & Metadata MCP](https://apify.com/reminiscent_medaka/youtube-transcript-metadata-mcp) (`youtube-transcript-metadata-mcp`)
- [Google News Article Scraper MCP](https://apify.com/reminiscent_medaka/google-news-article-scraper-mcp) (`google-news-article-scraper-mcp`)
- [Universal Web Extractor MCP](https://apify.com/reminiscent_medaka/universal-web-extractor-mcp) (`universal-web-extractor-mcp`)

# Actor input Schema

## `mode` (type: `string`):

Choose whether to search GitHub repositories by query/filters or inspect a specific list of repositories.

## `query` (type: `string`):

GitHub repository search query used in search_repos mode (e.g., "mcp server", "ai agent", "fastapi").

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

List of repositories in owner/repo format or full GitHub URLs (used in inspect_repos mode).

## `language` (type: `string`):

Optional primary programming language filter for search_repos mode (e.g., TypeScript, Python, Go, Rust).

## `minStars` (type: `integer`):

Minimum stargazer count applied in search_repos mode.

## `sort` (type: `string`):

Sort criterion for GitHub repository search results.

## `enrichOwnerProfile` (type: `boolean`):

Fetch the repository owner or organization profile from GitHub API to extract company, website, public email, Twitter/X handle, and location.

## `inspectManifest` (type: `boolean`):

Fetch package.json and pyproject.toml from raw.githubusercontent.com to extract detected dependencies.

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

Optional GitHub API token (fine-grained or classic PAT) to raise rate limits from 60/hr to 5,000/hr. Stored encrypted.

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

Hard cap on the number of repository signal records pushed to the dataset.

## `maxCostUsd` (type: `number`):

Pre-charge budget guard in USD. Processing stops before exceeding this cap.

## Actor input object example

```json
{
  "mode": "search_repos",
  "query": "mcp server",
  "repos": [
    "modelcontextprotocol/servers",
    "anthropics/anthropic-sdk-typescript"
  ],
  "language": "TypeScript",
  "minStars": 50,
  "sort": "stars",
  "enrichOwnerProfile": true,
  "inspectManifest": true,
  "maxItems": 5,
  "maxCostUsd": 2
}
```

# Actor output Schema

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

Extracted GitHub repository B2B signals dataset items.

## `runDiagnostics` (type: `string`):

Structured execution, rate-limit, and billing diagnostics written at run completion.

# 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 = {
    "query": "mcp server",
    "repos": [
        "modelcontextprotocol/servers",
        "anthropics/anthropic-sdk-typescript"
    ],
    "maxItems": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("2space/github-repo-b2b-signals").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 = {
    "query": "mcp server",
    "repos": [
        "modelcontextprotocol/servers",
        "anthropics/anthropic-sdk-typescript",
    ],
    "maxItems": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("2space/github-repo-b2b-signals").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 '{
  "query": "mcp server",
  "repos": [
    "modelcontextprotocol/servers",
    "anthropics/anthropic-sdk-typescript"
  ],
  "maxItems": 5
}' |
apify call 2space/github-repo-b2b-signals --silent --output-dataset

```

## MCP server setup

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

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/PK99Ty372k0pZPhsi/builds/GXoTZkcHeLJnb5Pyy/openapi.json
