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
| Name | Type | Description |
|---|---|---|
account_id required | integer | account_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:
{
"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:
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 ….