GitHub Repository Search

v1.0.3$0.0025/repository rowData Extraction

Last updated November 28, 2026

Search public GitHub repositories by keyword, language, topic, star range, and created or pushed date, with GitHub's official search API. One row per repository: stars, forks, topics, license, owner, and activity dates. A GitHub token is optional.

Install

bash
npx @mambalabsdev/mcp-github-repo-search

Every tool here also runs hosted, with no install at all, through Apify's MCP endpoint.

Features

  • One row per repository: stars, forks, topics, license, owner, and activity dates.
  • Filter by language, topics, star range, created date, and last push.
  • Optional GitHub token for 30 searches a minute instead of 10.
  • Searches with no match, repeats, and rate limits are free.
  • Pay per event: Repository row at $0.0025.

Input

keywordsarrayoptional

Search phrases, for example web scraper or vector database. Each phrase is one search, combined with the filters below. One phrase per line. Leave empty to search on the filters alone. In Clay, put the column inside a one item list.

languagestringoptional

Only repositories in this main language, for example Python, TypeScript, or Go.

topicsarrayoptional

Only repositories tagged with every one of these GitHub topics, for example llm or web-scraping.

min_starsstringoptional

Only repositories with at least this many stars, for example 100.

max_starsstringoptional

Only repositories with at most this many stars. With a minimum, this makes a range: use ranges to reach past GitHub's 1,000 results per search.

created_afterstringoptional

Only repositories created on or after this date, YYYY-MM-DD.

pushed_afterstringoptional

Only repositories with a push on or after this date, YYYY-MM-DD. Use it to skip inactive projects.

sortstringoptional

stars (default) lists the most starred first, forks the most forked, updated the most recently updated, best_match by GitHub's relevance.

forksstringoptional

exclude (default) leaves forks out, include adds them, only returns forks alone.

include_archivedstringoptional

no (default) leaves archived, read only repositories out. yes keeps them.

extra_qualifiersstringoptional

Advanced. Any other GitHub search qualifiers, added as written, for example license:mit in:readme or user:apify. See docs.github.com/en/search-github/searching-on-github/searching-for-repositories.

max_repos_per_searchstringoptional

Stop each search after this many repository rows. Default 100. GitHub returns at most 1,000 per search.

github_tokenstringoptional

Optional. Your own GitHub personal access token; it needs no scopes for public repositories. With it the run makes 30 searches a minute instead of 10. It is stored encrypted by Apify, sent only to api.github.com, and never written to a row or a log.

max_charge_usdstringoptional

Stop the run before its charges pass this amount in USD. Empty for no cap beyond the one set in Apify.

Output schema

json
{
  "row_type": "string",
  "keyword": "string",
  "query": "string",
  "rank": "integer",
  "repo_id": "integer",
  "full_name": "string",
  "name": "string",
  "owner": "string",
  "owner_type": "string",
  "description": "string",
  "repo_url": "string",
  "homepage": "string",
  "language": "string",
  "topics": "array",
  "stars": "integer",
  "forks": "integer",
  "open_issues": "integer",
  "license": "string",
  "created_at": "string",
  "updated_at": "string",
  "pushed_at": "string",
  "archived": "boolean",
  "is_fork": "boolean",
  "size_kb": "integer",
  "default_branch": "string",
  "total_count": "integer",
  "incomplete_results": "boolean",
  "row_status": "string",
  "error_reason": "string",
  "billable_events_json": "string",
  "scraped_at": "string"
}

Pricing

$0.0025per repository row
EventFree plan price
Repository row$0.0025
Actor Start$0.005

Pay per event on the Apify platform. Paid Apify plans pay less per event. No subscription, no seat license.

On the Apify free plan the actor stops at $1.50 of charges a month, about 600 repository rows. Any paid Apify plan removes the cap.

Limits

  • GitHub returns at most 1,000 repositories per search. total_count on each row is GitHub's full count; use star ranges or dates to reach further.
  • open_issues is GitHub's count of open issues plus open pull requests.
  • GitHub can stop a search at its own time limit; such rows carry incomplete_results true.
  • Without a token the 10 searches a minute limit is per address, and other traffic from that address can use some of it. A limit that does not reset within 65 seconds ends the run.
  • Public repositories only. The search reads no code, issues, or user profiles, and returns no email addresses.
  • Your use of the data falls under GitHub's Terms of Service and Acceptable Use Policies, which bar using it for spam or selling users' personal information.