github-repo-status logo

github-repo-status

Reads GitHub repository metadata, full file tree, file contents, and searches code via the GitHub API. Developers and DevOps teams fetch repo details, browse directory structures, retrieve specific files, and query codebases programmatically. Used in CI/CD pipelines, code analysis scripts, and repository monitoring tools.

github-api
code-search
repository
|

Overview

The github-repo-status MCP server provides direct access to GitHub repositories through the GitHub API, enabling retrieval of metadata, file structures, contents, and code searches without needing personal API tokens in client applications.

Key Capabilities

  • get_repo_metadata: Fetches repository details like stars, forks, languages, commits, and branches.
  • get_file_tree: Retrieves the complete directory structure of a repository or subdirectory.
  • get_file_contents: Reads the raw content of individual files, supporting various formats like code, JSON, or Markdown.
  • search_code: Queries code across the repository using GitHub's search syntax for symbols, strings, or patterns.

Use Cases

  1. CI/CD Integration: Use get_repo_metadata and get_file_tree in pipelines to validate repo state before deployments.
  2. Code Auditing: Apply search_code to scan for vulnerabilities or deprecated patterns in large codebases.
  3. Dependency Analysis: Combine get_file_contents with parsing to extract and verify package dependencies from files like package.json.
  4. Repo Monitoring: Poll get_repo_metadata periodically to track changes in stars, issues, or activity for dashboards.

Who This Is For

Developers building GitHub integrations, DevOps engineers automating workflows, security analysts scanning code, and data engineers aggregating repo metrics for insights.

PlaygroundUpdated Apr 4, 2026