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
| Name | Type | Required | Description |
|---|---|---|---|
username | string | yes | GitHub 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
| Field | Type | Description |
|---|---|---|
login | string | GitHub username |
name | string | null | User’s display name |
bio | string | null | User’s bio |
company | string | null | User’s company |
location | string | null | User’s location |
email | string | null | User’s public email |
blog | string | null | User’s blog URL |
twitter | string | null | User’s Twitter username |
avatar_url | string | User’s avatar URL |
url | string | User’s GitHub profile URL |
type | string | User type (User/Organization) |
public_repos | number | Number of public repositories |
public_gists | number | Number of public gists |
followers | number | Number of followers |
following | number | Number of accounts following |
created_at | string | Account creation timestamp |
updated_at | string | Last 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.