Home / Servers / GitHub API / users_get_by_id

Get a user using their ID

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

Get a user using their ID Provides publicly available information about someone with a GitHub account. This method takes their durable user ID instead of their login, which can change over time. If you are requesting… [GET /user/{account_id}]

Name on the gateway: github_api__users_get_by_id · read-only.

Parameters

NameTypeDescription
account_id requiredintegeraccount_id parameter

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__users_get_by_id",
  "arguments": {
    "account_id": 0
  }
}

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 get a user using their id tool with account_id set to ….

More from GitHub API