Skip to main content
Glama
GitHub Repository Search MCP Server

GitHub Repository Search MCP Server

README.md
# GitHub Repository Search MCP Server

[![MCP Registry](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fregistry.modelcontextprotocol.io%2Fv0%2Fservers%3Fsearch%3Dcom.mambabuilt%252Fmcp-github-repo-search%26limit%3D1&query=%24.servers%5B0%5D._meta%5B%22io.modelcontextprotocol.registry%2Fofficial%22%5D.status&label=mcp%20registry&color=blue)](https://registry.modelcontextprotocol.io/v0/servers?search=com.mambabuilt/mcp-github-repo-search&limit=1) [![npm version](https://img.shields.io/npm/v/@mambalabsdev/mcp-github-repo-search)](https://www.npmjs.com/package/@mambalabsdev/mcp-github-repo-search) [![npm downloads](https://img.shields.io/npm/dm/@mambalabsdev/mcp-github-repo-search)](https://www.npmjs.com/package/@mambalabsdev/mcp-github-repo-search) [![license](https://img.shields.io/github/license/mambalabsdev/mcp-github-repo-search)](https://github.com/mambalabsdev/mcp-github-repo-search/blob/main/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](#what-it-does)
- [Quick start](#quick-start)
- [Prerequisites](#prerequisites)
- [Example prompts](#example-prompts)
- [Tool](#tool)
- [Inputs](#inputs)
- [Pricing](#pricing)
- [Full actor documentation](#full-actor-documentation)
- [License](#license)

## 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:

```json
{
  "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

- Node.js 18 or newer.
- An Apify API token from [console.apify.com/account/integrations](https://console.apify.com/account/integrations), set as `APIFY_TOKEN`. The server lists its tool without a token; a call needs one.

## 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:

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

## Inputs

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

| Input | Type | Required | Description |
|---|---|---|---|
| `keywords` | array | no | 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. |
| `language` | string | no | Only repositories in this main language, for example Python, TypeScript, or Go. |
| `topics` | array | no | Only repositories tagged with every one of these GitHub topics, for example llm or web-scraping. |
| `min_stars` | number | no | Only repositories with at least this many stars, for example 100. |
| `max_stars` | number | no | 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_after` | string | no | Only repositories created on or after this date, YYYY-MM-DD. |
| `pushed_after` | string | no | Only repositories with a push on or after this date, YYYY-MM-DD. Use it to skip inactive projects. |
| `sort` | string | no | stars (default) lists the most starred first, forks the most forked, updated the most recently updated, best_match by GitHub's relevance. |
| `forks` | string | no | exclude (default) leaves forks out, include adds them, only returns forks alone. |
| `include_archived` | boolean | no | no (default) leaves archived, read only repositories out. yes keeps them. |
| `extra_qualifiers` | string | no | 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_search` | number | no | Stop each search after this many repository rows. Default 100. GitHub returns at most 1,000 per search. |
| `github_token` | string | no | 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_usd` | string | no | Stop 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.

| Event | Free plan | Bronze | Silver | Gold |
|---|---|---|---|---|
| `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](https://apify.com/mambalabs/github-repo-search)

## License

MIT. See [LICENSE](LICENSE).

TDQS

A4.3/5.0

Scored across 1 tool

Disambiguation5/5

There is only one tool, so an agent cannot misselect or confuse it with anything else. Its purpose—filtered search of public GitHub repositories—is unmistakable.

Naming Consistency5/5

The single name search_github_repositories follows a clear verb_noun snake_case convention with a well-qualified scope prefix. No inconsistent patterns exist because there is nothing to be inconsistent with.

Tool Count3/5

One tool is thin even for a narrowly scoped search server; there is no companion operation to fetch details for a repo found in results or to refine/continue a search. It is defensible for a single-purpose Apify actor, but borderline under-scoped.

Completeness3/5

Search with rich filters and full result fields covers the core discovery workflow, but the surface is a dead end: no get-repository-by-name for follow-up detail, no pagination/cursor control, and no metadata helpers. Agents needing more than one page or a single known repo must fall back to other means.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues