combinatorics-mcp

v1.0.1
io.github.mrfentmen/combinatorics-mcp Checked 18 hours ago Published 1 month ago

Exact combinatorics offline with BigInt: factorials, nCr, nPr, Fibonacci and permutations

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

factorial_of

Exact factorial using BigInt, with digit count and trailing zeros.

ParameterTypeDescription
n *integerWhole number, up to 5000

choose_numbers

Exact nCr (combinations) or nPr (permutations) for large n, computed with BigInt.

ParameterTypeDescription
n *integerPool size
r *integerHow many to pick
kindstringDefault combinations

fibonacci_of

Exact Fibonacci number with BigInt and its digit count.

ParameterTypeDescription
n *integerIndex, up to 20000

permutations_of

List every ordering of up to 8 items, with the exact total.

ParameterTypeDescription
items *stringComma-separated items, up to 8
limitintegerRows to list, default 50

combinations_of

List every way to choose k items from a list, with the exact total.

ParameterTypeDescription
choose *integerHow many to choose
items *stringComma-separated items, up to 12
limitintegerRows to list, default 50