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

NameTypeDescription
linodeId requiredintegerID of the Linode to look up.
year requiredintegerNumeric value representing the year to look up.
month requiredintegerNumeric 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:

call_tool arguments
{
  "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:

Run in your terminal
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 ….

More from Linode API