Fetch repository info
fetch_repo_infoRetrieve public GitHub repository details including description, topics, license, stars, latest release notes, README content, and root file list for review or announcement preparation.
Instructions
Fetch public information about a GitHub repository: description, topics, license, stars, latest release (tag + notes), README content, and root file list.
Use this when you need raw facts about a repository before writing about it or checking it.
Args:
owner (string): GitHub user/org name
repo (string): repository name
Returns: structured JSON with repo metadata, latestRelease (or null), readme text (truncated at 12000 chars), and rootFiles.
Errors: returns a clear message for unknown repos (404) and API rate limits (retry later or set GITHUB_TOKEN env var).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner": "<owner>",
"repo": "<repo>"
},
"name": "fetch_repo_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name, e.g. 'jp-dates-mcp-server' | |
| owner | Yes | GitHub user or organization name, e.g. 'h-kazuki-pixel' |