Skip to content

GitHub API: Get repository facts

Looks up a public GitHub repository by name, owner/name, or link and returns its stars, forks, release, commit and contributor facts.

github.com (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by GitHub.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Owner optionalowner

Repository owner to use with a bare repository name, for example facebook.

facebook

Default .

Project, requiredproject

Repository name, owner/name, or GitHub repository link, for example facebook/react.

react

Output

From a run on Oct 23, 2026, shortened for this page.
{  "forks": 51567,  "stars": 251710,  "topics": [    "declarative",    "frontend",    "javascript"  ],  "license": "MIT License",  "watchers": 6610,  "repository": "react/react",  "description": "The library for web and native user interfaces.",  "open_issues": 1469,  "project_link": "https://github.com/react/react",  "homepage_link": "https://react.dev",  "main_language": "JavaScript",  "repository_id": 10270250,  "default_branch": "main",  "last_commit_date": "2026-10-21",  "contributors_count": 2025,  "latest_release_date": "2026-10-14",  "latest_release_name": "19.3.1 (October 14th, 2026)"}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
github.com/get_repository
Returns
repository name, description, stars, forks, watchers, open issues, language, license, topics, release, last commit, contributors, links

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method github.com/get_repository with the inputs above.

Ask your agent

  • How many stars and forks does the tensorflow repo have on GitHub?
  • What's the latest release and license for the rust-lang/cargo project?
  • Can you pull up the open issues count and primary language for vercel/next.js?
  • Show me the contributor count and last commit date for the kubernetes repository owned by kubernetes.
  • Look up the topics, watchers, and description of https://github.com/microsoft/vscode
  • Finds public GitHub repositories by keywords, with an optional language filter and sort order. Returns up to 100 matches.

    github.com/search_repositories
  • Lists published, non-draft releases of a public GitHub project, newest first. A bare project name matches the most-starred repository.

    github.com/list_releases
  • Lists public issues or pull requests for a GitHub project, with state, label and sort options. A bare project name matches the most-starred repository with that name.

    github.com/list_issues
  • Lists up to 25 public repositories trending on GitHub, in page order, optionally filtered by programming language and time period.

    github.com/list_trending_repositories
  • Looks up a NuGet package by name or nuget.org link. Inexact names match the top search result. Returns the latest stable release's details and the 10 most recent versions, including prereleases.

    nuget.org/get_package
  • Looks up a public npm package by name or npm link. Returns its latest version, weekly downloads, maintainers, links, dates and version count.

    npmjs.com/get_package
  • Looks up one Hugging Face model by name, repository ID or link and returns its public details, model card summary and file sizes. For a name, the first matching model is returned.

    huggingface.co/get_model
  • Gets a PyPI package's current version, release date, metadata, project links and its 10 most recently published versions from a package name or PyPI link.

    pypi.org/get_package