Home / Servers / Linode API / get_linode_stats_by_year_month
Get a month's Linode statistics
An MCP tool from the Linode API server, hosted on mcp.hjlabs.in.
Get a month's Linode statistics Returns CPU, IO, IPv4, and IPv6 statistics for your Linode for a specific month. If the {year} and {month} are set to the current month, the API returns statistics for the past 30 days. >… [GET /v4/linode/instances/{linodeId}/stats/{year}/{month}]
Name on the gateway: linode_api__get_linode_stats_by_year_month · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
linodeId required | integer | ID of the Linode to look up. |
year required | integer | Numeric value representing the year to look up. |
month required | integer | Numeric value representing the month to look up. |
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": "linode_api__get_linode_stats_by_year_month",
"arguments": {
"linodeId": 0,
"year": 0,
"month": 0
}
}Or connect the Linode API server directly, which lists 439 tools including this one:
claude mcp add --transport http hj-linode-api https://mcp.hjlabs.in/mcp/linode-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the get a month's linode statistics tool with linodeId set to ….