github-repo-scout-mcp
v0.3.2Read-only MCP server for discovering and evaluating GitHub repositories: multi-topic search, repo health scores, comparisons, dependency vulnerability audits…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_repositories Search repositories
Search public GitHub repositories (GET /search/repositories) by any combination of keywords, topics, language, stars, activity dates and license. Matching: 'query' keywords match the repo name, description and topics (not the README unless you add in:readme). 'topics' is stricter: each listed topic must be an exact tag on the repo, and all of them must be present (AND). If you are unsure of exact topic names, call search_topics first. Archived repos are excluded unless include_archived is true; forks are excluded by GitHub by default. Each result includes: full_name (owner/repo), stars, forks,…
| Parameter | Type | Description |
|---|---|---|
created_after | string | Only repos created on or after this date (YYYY-MM-DD) |
include_archived | boolean | Include archived (read-only) repositories |
language | string | Primary language, e.g. 'Java', 'TypeScript', 'Go' |
license | string | License key, e.g. 'mit', 'apache-2.0', 'gpl-3.0' |
limit | integer | Number of results to return (1-100, default 10) |
min_stars | integer | Minimum star count |
offset | integer | Number of results to skip, for paging (default 0) |
order | string | |
pushed_after | string | Only repos with a push on or after this date (YYYY-MM-DD). Good proxy for 'still maintained'. |
query | string | Keywords matched against name, description and topics. You can also append raw GitHub qualifiers: in:name | in:description | in:topics | in:readme (where keywords must appear), user:NAME or org:NAME (… |
sort | string | Sort order. Defaults to 'stars' when no free-text query is given, otherwise 'best-match'. |
topics | array | Repos must have ALL of these topics, e.g. ['java','spring-boot'] |
search_topics Search topics
Find the exact GitHub topic names for a concept, e.g. 'banking' -> fintech, core-banking, payments. Use the returned names in search_repositories. Featured topics are highlighted by GitHub; curated topics have extra descriptions.
| Parameter | Type | Description |
|---|---|---|
query * | string | Concept or keyword, e.g. 'banking', 'state management', 'kubernetes operator' |
curated_only | boolean | Only curated topics |
featured_only | boolean | Only topics GitHub features |
limit | integer | Number of results to return (1-100, default 20) |
offset | integer | Number of results to skip, for paging (default 0) |
search_issues_and_prs Search issues and pull requests
Search issues or pull requests across all public repositories, or within one repo. Useful for finding how others hit and solved a problem (e.g. an error message), or for good-first-issue hunting.
| Parameter | Type | Description |
|---|---|---|
labels | array | Must have ALL of these labels, e.g. ['good first issue'] |
language | string | Repository language, e.g. 'Python' |
limit | integer | Number of results to return (1-100, default 10) |
offset | integer | Number of results to skip, for paging (default 0) |
order | string | |
query | string | Keywords, e.g. an error message. Raw qualifiers like 'author:x' also work. |
repo | string | Limit to one repository: 'owner/repo' |
sort | string | |
state | string | |
type | string | Search issues or pull requests |
search_code Search code
Search source code in public repositories (GitHub requires a token for this endpoint, so it only works when GITHUB_TOKEN or GITHUB_PAT is set). Returns matching files with a short snippet.
| Parameter | Type | Description |
|---|---|---|
query * | string | Code or text to find, e.g. 'useSyncExternalStore' |
extension | string | File extension without dot, e.g. 'yml' |
filename | string | Exact file name, e.g. 'pom.xml' |
language | string | e.g. 'TypeScript' |
limit | integer | Number of results to return (1-100, default 10) |
offset | integer | Number of results to skip, for paging (default 0) |
owner | string | Limit to a user or organization |
path | string | Limit to files under this path, e.g. 'src/' |
repo | string | Limit to one repository: 'owner/repo' |
get_repository Get repository
Details for one repository: stars, forks, language breakdown, license, topics, activity dates, latest release and the start of the README.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or organization), e.g. 'spring-projects' |
repo * | string | Repository name, e.g. 'spring-boot' |
include_readme | boolean | Include the README text |
readme_max_chars | integer | Maximum README characters to return |
get_repo_tree Get repository file tree
The folder and file structure of a repository, as an indented tree. Use path to focus on a subfolder and max_depth to control detail.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or organization), e.g. 'spring-projects' |
repo * | string | Repository name, e.g. 'spring-boot' |
max_depth | integer | How many folder levels to show below path (default 3) |
max_entries | integer | Maximum lines to return (default 300) |
path | string | Only show this subfolder, e.g. 'src/main/java' |
ref | string | Branch, tag or commit SHA (default: the default branch) |
get_file_contents Get file contents
Read one file from a repository (e.g. 'pom.xml', 'package.json', 'src/main.go'). If the path is a folder, lists its contents instead.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or organization), e.g. 'spring-projects' |
path * | string | File or folder path, e.g. 'package.json' |
repo * | string | Repository name, e.g. 'spring-boot' |
max_chars | integer | Maximum characters to return (default 20,000) |
ref | string | Branch, tag or commit SHA (default: the default branch) |
list_issues List issues
List issues in a repository (pull requests are excluded). Filter by state and labels.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or organization), e.g. 'spring-projects' |
repo * | string | Repository name, e.g. 'spring-boot' |
direction | string | |
labels | array | Must have ALL of these labels |
limit | integer | Number of results to return (1-100, default 20) |
offset | integer | Number of results to skip, for paging (default 0) |
sort | string | |
state | string |
list_pull_requests List pull requests
List pull requests in a repository. Filter by state and target branch.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or organization), e.g. 'spring-projects' |
repo * | string | Repository name, e.g. 'spring-boot' |
base | string | Only PRs targeting this branch, e.g. 'main' |
direction | string | |
limit | integer | Number of results to return (1-100, default 20) |
offset | integer | Number of results to skip, for paging (default 0) |
sort | string | |
state | string |
get_pull_request Get pull request
Details for one pull request: status, branches, size, description and the list of changed files.
| Parameter | Type | Description |
|---|---|---|
number * | integer | Pull request number |
owner * | string | Repository owner (user or organization), e.g. 'spring-projects' |
repo * | string | Repository name, e.g. 'spring-boot' |
body_max_chars | integer | Maximum description characters |
include_files | boolean | List changed files (up to 100) |
get_repo_health Get repository health
Score (0-100) for whether a repository is alive and well maintained, with a transparent breakdown: recent pushes, commits in the last 90 days, releases, contributor count and concentration (bus factor), and community files (license, CONTRIBUTING, templates). Uses about 5 API requests.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or organization), e.g. 'spring-projects' |
repo * | string | Repository name, e.g. 'spring-boot' |
compare_repositories Compare repositories
Compare 2-5 repositories side by side: stars, forks, language, license, activity and topics. Set include_health to add health scores (about 5 extra API requests per repo).
| Parameter | Type | Description |
|---|---|---|
repos * | array | Repositories as 'owner/repo' or github.com URLs |
include_health | boolean | Also compute health scores (costs about 5 requests per repo) |
find_similar_repositories Find similar repositories
Find repositories similar to a given one, using its topics (and optionally its language). Results are ranked by how many topics they share, then by stars. Each result has the same fields as search_repositories (stars, forks, open issues + PRs, language, license, last push, flags, description, topics, URL) plus the list of shared topics. Uses up to 3 searches.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or organization), e.g. 'spring-projects' |
repo * | string | Repository name, e.g. 'spring-boot' |
limit | integer | Number of results (default 10) |
min_stars | integer | Minimum stars for results (default 10) |
same_language | boolean | Only return repos in the same primary language |
security_advisories Security advisories for a package
Known vulnerabilities (CVEs) and malware reports for one package from the GitHub Advisory Database: severity, affected and fixed versions, and EPSS exploit likelihood. Pass version to see only advisories that affect it. Part of the security toolkit: for a repository, also use security_audit_dependencies and security_supply_chain_risk. Uses 2 API requests.
| Parameter | Type | Description |
|---|---|---|
ecosystem * | string | Package ecosystem: npm, pip (Python), maven (Java), go, rust (crates.io), composer (PHP), rubygems, nuget, pub, erlang, swift or actions |
package * | string | Package name as published: 'lodash', '@babel/core', 'Django', 'golang.org/x/net', 'org.apache.logging.log4j:log4j-core' (Maven groupId:artifactId) |
limit | integer | Maximum advisories to list (default 20) |
min_severity | string | Only show advisories at or above this severity |
version | string | Exact version to check, e.g. '4.17.15'. Without it, every advisory ever published is listed. |
security_audit_dependencies Audit a repository's dependencies
Checks every dependency a repository declares against the GitHub Advisory Database for known vulnerabilities and malware, without cloning it. Finds manifests at the repository root automatically (package.json, requirements.txt, pyproject.toml, go.mod, Cargo.toml, pom.xml, composer.json), or pass path. Part of the security toolkit: also call security_supply_chain_risk for how the project is run, and security_advisories for details on one package. Uses about 2 API requests per manifest plus 2 per ecosystem.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or organization), e.g. 'spring-projects' |
repo * | string | Repository name, e.g. 'spring-boot' |
include_dev | boolean | Also check dev, test and optional dependencies (default true) |
path | string | Path to one manifest, e.g. 'backend/requirements.txt' (default: every supported manifest at the root) |
ref | string | Branch, tag or commit SHA (default: the default branch) |
security_supply_chain_risk Supply chain risk of a repository
Is this project safe to depend on? Checks the warning signs behind real supply chain attacks (xz-utils, event-stream): bus factor, a newcomer suddenly taking over, dormant-then-burst releases, branch protection, commit and release signing, security policy, private vulnerability reporting, Dependabot or Renovate, published advisories, and the OpenSSF Scorecard result. Part of the security toolkit: also call security_audit_dependencies for known vulnerabilities in its dependencies. Uses about 12 GitHub API requests, plus one call to the public OpenSSF Scorecard API with the repository name.
| Parameter | Type | Description |
|---|---|---|
owner * | string | Repository owner (user or organization), e.g. 'spring-projects' |
repo * | string | Repository name, e.g. 'spring-boot' |