get_repo

Pack: github · Endpoint: https://gateway.pipeworx.io/github/mcp

Look up ONE named repository by its owner/repo slug — “facebook/react”, “torvalds/linux”, “vercel/next.js”. Use this whenever the repository is named in the question. Answers how many stars / forks / watchers a repo has, what license and language it uses, its topics, description, open issue count, and when it was last pushed.

Parameters

NameTypeRequiredDescription
ownerstringnoRepository owner (user or org), e.g. “facebook”. May be omitted if repo carries the full “owner/repo” slug.
repostringyesRepository name, e.g. “react”. Also accepts the full slug “facebook/react”.

Example call

Arguments

{
  "owner": "facebook",
  "repo": "react"
}

curl

curl -X POST https://gateway.pipeworx.io/github/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_repo","arguments":{"owner":"facebook","repo":"react"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_repo', {
  "owner": "facebook",
  "repo": "react"
});

More examples

{
  "owner": "torvalds",
  "repo": "linux"
}

Response shape

Always returns: name, full_name, description, url, homepage, stars, forks, watchers, open_issues, language, topics, default_branch, size_kb, visibility, archived, is_fork, license, owner, owner_type, created_at, updated_at, pushed_at, subscribers, network

FieldTypeDescription
namestringRepository name
full_namestringFull repository name (owner/repo)
descriptionstring | nullRepository description
urlstringRepository URL
homepagestring | nullHomepage URL
starsnumberNumber of stargazers
forksnumberNumber of forks
watchersnumberNumber of watchers
open_issuesnumberNumber of open issues
languagestring | nullPrimary programming language
topicsarrayRepository topics/tags
default_branchstringDefault branch name
size_kbnumberRepository size in kilobytes
visibilitystringRepository visibility (public/private)
archivedbooleanWhether the repository is archived
is_forkbooleanWhether the repository is a fork
licensestring | nullLicense SPDX ID or name
ownerstringRepository owner login
owner_typestringOwner type (User/Organization)
created_atstringRepository creation timestamp
updated_atstringLast update timestamp
pushed_atstringLast push timestamp
subscribersnumberNumber of subscribers
networknumberNetwork count
Full JSON Schema
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Repository name"
    },
    "full_name": {
      "type": "string",
      "description": "Full repository name (owner/repo)"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Repository description"
    },
    "url": {
      "type": "string",
      "description": "Repository URL"
    },
    "homepage": {
      "type": [
        "string",
        "null"
      ],
      "description": "Homepage URL"
    },
    "stars": {
      "type": "number",
      "description": "Number of stargazers"
    },
    "forks": {
      "type": "number",
      "description": "Number of forks"
    },
    "watchers": {
      "type": "number",
      "description": "Number of watchers"
    },
    "open_issues": {
      "type": "number",
      "description": "Number of open issues"
    },
    "language": {
      "type": [
        "string",
        "null"
      ],
      "description": "Primary programming language"
    },
    "topics": {
      "type": "array",
      "description": "Repository topics/tags",
      "items": {
        "type": "string"
      }
    },
    "default_branch": {
      "type": "string",
      "description": "Default branch name"
    },
    "size_kb": {
      "type": "number",
      "description": "Repository size in kilobytes"
    },
    "visibility": {
      "type": "string",
      "description": "Repository visibility (public/private)"
    },
    "archived": {
      "type": "boolean",
      "description": "Whether the repository is archived"
    },
    "is_fork": {
      "type": "boolean",
      "description": "Whether the repository is a fork"
    },
    "license": {
      "type": [
        "string",
        "null"
      ],
      "description": "License SPDX ID or name"
    },
    "owner": {
      "type": "string",
      "description": "Repository owner login"
    },
    "owner_type": {
      "type": "string",
      "description": "Owner type (User/Organization)"
    },
    "created_at": {
      "type": "string",
      "description": "Repository creation timestamp"
    },
    "updated_at": {
      "type": "string",
      "description": "Last update timestamp"
    },
    "pushed_at": {
      "type": "string",
      "description": "Last push timestamp"
    },
    "subscribers": {
      "type": "number",
      "description": "Number of subscribers"
    },
    "network": {
      "type": "number",
      "description": "Network count"
    }
  },
  "required": [
    "name",
    "full_name",
    "description",
    "url",
    "homepage",
    "stars",
    "forks",
    "watchers",
    "open_issues",
    "language",
    "topics",
    "default_branch",
    "size_kb",
    "visibility",
    "archived",
    "is_fork",
    "license",
    "owner",
    "owner_type",
    "created_at",
    "updated_at",
    "pushed_at",
    "subscribers",
    "network"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "github": {
      "url": "https://gateway.pipeworx.io/github/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 8, 2026