Repository avatar
Version Control
v1.0.2
active

mcp-github-repo-search

com.mambabuilt/mcp-github-repo-search

Search public GitHub repositories by keyword, language, topic, and stars

Documentation

GitHub Repository Search MCP Server

Glama score MCP Registry npm version npm downloads license

An MCP server for the Mamba Labs GitHub Repository Search actor on Apify. Public GitHub repositories by keyword, language, topic, and stars.

What's Inside

What it does

Give search phrases and filters. The actor runs GitHub's official repository search and returns one row per public repository: full name, owner, description, language, topics, stars, forks, open issues, license, and created, updated, and pushed dates. Each phrase is one search; GitHub returns at most 1,000 repositories per search, so star ranges reach further. Without a token the run makes 10 searches a minute; with your own GitHub token, 30.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

{
  "mcpServers": {
    "mamba-github-repo-search": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-github-repo-search"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}

Restart the client. The search_github_repositories tool appears.

Prerequisites

Example prompts

  • "Find the most starred Python web scraping repositories."
  • "List TypeScript repositories tagged llm with at least 1,000 stars pushed since 2026-09-01."
  • "Search GitHub for vector database projects created this year."

Tool

search_github_repositories. One tool. Example arguments:

{
  "keywords": [
    "web scraper"
  ],
  "language": "Python",
  "min_stars": 500
}

Inputs

Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.

InputTypeRequiredDescription
keywordsarraynoSearch 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.
languagestringnoOnly repositories in this main language, for example Python, TypeScript, or Go.
topicsarraynoOnly repositories tagged with every one of these GitHub topics, for example llm or web-scraping.
min_starsnumbernoOnly repositories with at least this many stars, for example 100.
max_starsnumbernoOnly 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_afterstringnoOnly repositories created on or after this date, YYYY-MM-DD.
pushed_afterstringnoOnly repositories with a push on or after this date, YYYY-MM-DD. Use it to skip inactive projects.
sortstringnostars (default) lists the most starred first, forks the most forked, updated the most recently updated, best_match by GitHub's relevance.
forksstringnoexclude (default) leaves forks out, include adds them, only returns forks alone.
include_archivedbooleannono (default) leaves archived, read only repositories out. yes keeps them.
extra_qualifiersstringnoAdvanced. 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_searchnumbernoStop each search after this many repository rows. Default 100. GitHub returns at most 1,000 per search.
github_tokenstringnoOptional. 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_usdstringnoStop the run before its charges pass this amount in USD. Empty for no cap beyond the one set in Apify.

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

EventFree planBronzeSilverGold
repo-row, one repository$0.0025$0.002375$0.00225$0.002125
apify-actor-start, per run start$0.005$0.005$0.005$0.005

Searches with no match, repeats across searches, a rate limit, a refused token or query, API errors, and refused input are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.

Full actor documentation

apify.com/mambalabs/github-repo-search

License

MIT. See LICENSE.