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

NameTypeDescription
kind requiredarithmetic | geometric | fibonacci | primes | squares | cubes | triangular | powers_of_twoWhich sequence.
countintegerHow many terms, 1–10000. Default 10.
startnumberFirst term for arithmetic/geometric. Default 1.
stepnumberStep (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:

call_tool arguments
{
  "name": "math__sequence",
  "arguments": {
    "kind": "…"
  }
}

Or connect the Calculators server directly, which lists 28 tools including this one:

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

More from Calculators