Home / Servers / Calculators / sequence
Sequence
An MCP tool from the Calculators server, hosted on mcp.hjlabs.in.
Generate a numeric sequence: arithmetic (start, step, count), geometric (start, ratio, count), Fibonacci, primes, squares, cubes, triangular, or powers of two, with the sum.
Name on the gateway: math__sequence · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
kind required | arithmetic | geometric | fibonacci | primes | squares | cubes | triangular | powers_of_two | Which sequence. |
count | integer | How many terms, 1–10000. Default 10. |
start | number | First term for arithmetic/geometric. Default 1. |
step | number | Step (arithmetic) or ratio (geometric). Default 1 / 2. |
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": "math__sequence",
"arguments": {
"kind": "…"
}
}Or connect the Calculators server directly, which lists 28 tools including this one:
claude mcp add --transport http hj-math https://mcp.hjlabs.in/mcp/math \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the sequence tool with kind set to ….