Home / Servers / GitHub API / security_advisories_list_global_advisories

List global security advisories

An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.

List global security advisories Lists all global security advisories that match the specified parameters. If no other parameters are defined, the request will return only GitHub-reviewed advisories that are not malware. By… [GET /advisories]

Name on the gateway: github_api__security_advisories_list_global_advisories · read-only.

Parameters

NameTypeDescription
ghsa_idstringIf specified, only advisories with this GHSA (GitHub Security Advisory)…
typereviewed | malware | unreviewedIf specified, only advisories of this type will be returned. By default, a…
cve_idstringIf specified, only advisories with this CVE (Common Vulnerabilities and…
ecosystemrubygems | npm | pip | maven | nuget | composer | go | rust | erlang | actions | pub | other | swiftIf specified, only advisories for these ecosystems will be returned.
severityunknown | low | medium | high | criticalIf specified, only advisories with these severities will be returned.
cwesstringIf specified, only advisories with these Common Weakness Enumerations (CWEs)…
is_withdrawnbooleanWhether to only return advisories that have been withdrawn.
affectsstringIf specified, only return advisories that affect any of package or…
publishedstringIf specified, only return advisories that were published on a date or date…
updatedstringIf specified, only return advisories that were updated on a date or date…
modifiedstringIf specified, only show advisories that were updated or published on a date or…
epss_percentagestringIf specified, only return advisories that have an EPSS percentage score that…
epss_percentilestringIf specified, only return advisories that have an EPSS percentile score that…
beforestringA cursor, as given in the Link header. If specified, the query only searches…
afterstringA cursor, as given in the Link header. If specified, the query only searches…
directionasc | descThe direction to sort the results by.
per_pageintegerThe number of results per page (max 100). For more information, see "Using…
sortupdated | published | epss_percentage | epss_percentileThe property to sort the results by.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "github_api__security_advisories_list_global_advisories",
  "arguments": {}
}

Or connect the GitHub API server directly, which lists 1,221 tools including this one:

Run in your terminal
claude mcp add --transport http hj-github-api https://mcp.hjlabs.in/mcp/github-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the list global security advisories tool with ghsa_id set to ….

More from GitHub API