get_user

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

Get a GitHub user’s public profile info. Returns name, bio, company, location, public repo count, followers, and social links. Specify username (e.g., username=“torvalds”).

Parameters

NameTypeRequiredDescription
usernamestringyesGitHub username, e.g. “torvalds”

Example call

Arguments

{
  "username": "torvalds"
}

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_user","arguments":{"username":"torvalds"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_user', {
  "username": "torvalds"
});

More examples

{
  "username": "gvanrossum"
}

Response shape

Always returns: login, name, bio, company, location, email, blog, twitter, avatar_url, url, type, public_repos, public_gists, followers, following, created_at, updated_at

FieldTypeDescription
loginstringGitHub username
namestring | nullUser’s display name
biostring | nullUser’s bio
companystring | nullUser’s company
locationstring | nullUser’s location
emailstring | nullUser’s public email
blogstring | nullUser’s blog URL
twitterstring | nullUser’s Twitter username
avatar_urlstringUser’s avatar URL
urlstringUser’s GitHub profile URL
typestringUser type (User/Organization)
public_reposnumberNumber of public repositories
public_gistsnumberNumber of public gists
followersnumberNumber of followers
followingnumberNumber of accounts following
created_atstringAccount creation timestamp
updated_atstringLast update timestamp
Full JSON Schema
{
  "type": "object",
  "properties": {
    "login": {
      "type": "string",
      "description": "GitHub username"
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "User's display name"
    },
    "bio": {
      "type": [
        "string",
        "null"
      ],
      "description": "User's bio"
    },
    "company": {
      "type": [
        "string",
        "null"
      ],
      "description": "User's company"
    },
    "location": {
      "type": [
        "string",
        "null"
      ],
      "description": "User's location"
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "description": "User's public email"
    },
    "blog": {
      "type": [
        "string",
        "null"
      ],
      "description": "User's blog URL"
    },
    "twitter": {
      "type": [
        "string",
        "null"
      ],
      "description": "User's Twitter username"
    },
    "avatar_url": {
      "type": "string",
      "description": "User's avatar URL"
    },
    "url": {
      "type": "string",
      "description": "User's GitHub profile URL"
    },
    "type": {
      "type": "string",
      "description": "User type (User/Organization)"
    },
    "public_repos": {
      "type": "number",
      "description": "Number of public repositories"
    },
    "public_gists": {
      "type": "number",
      "description": "Number of public gists"
    },
    "followers": {
      "type": "number",
      "description": "Number of followers"
    },
    "following": {
      "type": "number",
      "description": "Number of accounts following"
    },
    "created_at": {
      "type": "string",
      "description": "Account creation timestamp"
    },
    "updated_at": {
      "type": "string",
      "description": "Last update timestamp"
    }
  },
  "required": [
    "login",
    "name",
    "bio",
    "company",
    "location",
    "email",
    "blog",
    "twitter",
    "avatar_url",
    "url",
    "type",
    "public_repos",
    "public_gists",
    "followers",
    "following",
    "created_at",
    "updated_at"
  ]
}

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 May 9, 2026