Math.Tools MCP Server
Number theory, numeral conversion, pi digits, number spelling, and equation-image rendering.
사용해야 할까요
품질 및 안전성
발견 사항 (14)
- HIGHconvert-numeral에서
- HIGH
- LOWpi-digits에서
- LOWspell-number에서
- LOWpi-digits에서
- LOWnumber-facts에서
- LOWspell-number에서
- LOWconvert-numeral에서
- LOWgcf-lcm에서
- LOWnumber-lists에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"math-tools": {
"url": "https://math.tools/mcp/math-tools"
}
}
}원격 엔드포인트
https://math.tools/mcp/math-toolsstreamable-http할 수 있는 일
도구 목록
도구 (10)
⚪pi-digits(from, to)
Returns a slice of the digits of pi. Requires a math.tools API token (numbers:* ability).
입력 스키마
{
"type": "object",
"properties": {
"from": {
"description": "Start offset into the digits of pi. Defaults to 0.",
"type": [
"integer",
"null"
]
},
"to": {
"description": "End offset into the digits of pi. Defaults to 100. Must be >= from.",
"type": [
"integer",
"null"
]
}
}
}🟢number-facts(action, number, min, max, total, ...)
Get a trivia fact about a specific number, a batch of random integers, or today's curated number of the day. Requires a math.tools API token (numbers:* ability).
입력 스키마
{
"type": "object",
"properties": {
"action": {
"description": "Which lookup to perform. 'fact' needs number; 'random' returns one or more random integers; 'number-of-the-day' returns today's curated pick.",
"enum": [
"fact",
"random",
"number-of-the-day"
],
"type": "string"
},
"number": {
"description": "Required when action is 'fact' — the number to look up.",
"type": [
"integer",
"null"
]
},
"min": {
"description": "For action 'random': minimum value, inclusive.",
"type": [
"integer",
"null"
]
},
"max": {
"description": "For action 'random': maximum value, inclusive.",
"type": [
"integer",
"null"
]
},
"total": {
"description": "For action 'random': how many numbers to return (capped server-side).",
"type": [
"integer",
"null"
]
},
"category": {
"description": "For action 'number-of-the-day': the category shortname. Defaults to the site's default category.",
"type": [
"string",
"null"
]
}
},
"required": [
"action"
]
}⚪spell-number(action, number, lang)
Spell a number out in words: cardinal (e.g. "seven"), ordinal (e.g. "7th"), or currency (e.g. "seven dollars"). Requires a math.tools API token (numbers:* ability).
입력 스키마
{
"type": "object",
"properties": {
"action": {
"description": "Which spelling to produce.",
"enum": [
"cardinal",
"ordinal",
"currency"
],
"type": "string"
},
"number": {
"description": "The number to spell out.",
"type": "integer"
},
"lang": {
"description": "Locale for cardinal/currency, e.g. 'en_US', 'fr_FR'. Not used for ordinal (English only). Defaults to the site default.",
"type": [
"string",
"null"
]
}
},
"required": [
"action",
"number"
]
}⚪convert-numeral(system, number)
Convert a base-10 number to another numeral system: Roman, Chinese, Egyptian, Babylonian (sexagesimal digits), or Mayan (vigesimal, real Unicode glyphs). Requires a math.tools API token (numbers:* ability).
입력 스키마
{
"type": "object",
"properties": {
"system": {
"description": "The target numeral system.",
"enum": [
"roman",
"chinese",
"egyptian",
"babylonian",
"mayan"
],
"type": "string"
},
"number": {
"description": "The base-10 number to convert.",
"type": "integer"
}
},
"required": [
"system",
"number"
]
}🟢gcf-lcm(op, numbers)
Compute the greatest common factor (GCF/GCD) or least common multiple (LCM) of two or more numbers. Requires a math.tools API token (numbers:* ability).
입력 스키마
{
"type": "object",
"properties": {
"op": {
"description": "Which operation to perform.",
"enum": [
"gcf",
"lcm"
],
"type": "string"
},
"numbers": {
"description": "Comma-separated list of integers, e.g. '12,18,24'. At least two values.",
"type": "string"
}
},
"required": [
"op",
"numbers"
]
}⚪number-lists(kind, count)
The first N prime numbers, composite numbers, or palindromic numbers. Requires a math.tools API token (numbers:* ability).
입력 스키마
{
"type": "object",
"properties": {
"kind": {
"description": "Which list to generate.",
"enum": [
"primes",
"composites",
"palindromes"
],
"type": "string"
},
"count": {
"description": "How many numbers to return. Capped server-side per kind; defaults to a sensible per-kind default.",
"type": [
"integer",
"null"
]
}
},
"required": [
"kind"
]
}⚪convert-base(number, to, from)
Convert a number from one base to another (2-64). Common shorthands: to=2 for binary, to=8 for octal, to=16 for hex. Requires a math.tools API token (numbers:* ability).
입력 스키마
{
"type": "object",
"properties": {
"number": {
"description": "The number to convert (read in the \"from\" base).",
"type": "integer"
},
"to": {
"description": "Target base, 2-64.",
"type": "integer"
},
"from": {
"description": "Source base, 2-64. Defaults to 10.",
"type": [
"integer",
"null"
]
}
},
"required": [
"number",
"to"
]
}🟢number-theory-check(check, number)
Run a primality/shape check on a number, or get its prime factorization. Requires a math.tools API token (numbers:* ability).
입력 스키마
{
"type": "object",
"properties": {
"check": {
"description": "Which check to run.",
"enum": [
"is-prime",
"is-composite",
"is-odd",
"is-even",
"prime-factors",
"is-palindrome",
"is-triangle",
"is-square",
"is-cube",
"is-perfect",
"is-mersenne-prime",
"is-fermat-prime",
"is-fibonacci-prime",
"is-pell-prime",
"is-partition-prime"
],
"type": "string"
},
"number": {
"description": "The number to check.",
"type": "integer"
}
},
"required": [
"check",
"number"
]
}⚪number-properties(property, number, a, b)
Divisor-related properties of a number: abundant/deficient/squarefree checks, Euler's totient, divisor count/sum, aliquot sum, or whether two numbers are coprime. Requires a math.tools API token (numbers:* ability).
입력 스키마
{
"type": "object",
"properties": {
"property": {
"description": "Which property to compute. 'coprime' needs a and b instead of number.",
"enum": [
"is-abundant",
"is-deficient",
"is-squarefree",
"totient",
"number-of-divisors",
"sum-of-divisors",
"aliquot-sum",
"coprime"
],
"type": "string"
},
"number": {
"description": "Required for every property except 'coprime'. Must be >= 1.",
"type": [
"integer",
"null"
]
},
"a": {
"description": "Required when property is 'coprime'.",
"type": [
"integer",
"null"
]
},
"b": {
"description": "Required when property is 'coprime'.",
"type": [
"integer",
"null"
]
}
},
"required": [
"property"
]
}⚪equation-image(equation, fontsize)
Render a math equation (compact LaTeX-like markup) as a PNG image. Requires a math.tools API token (equations:image ability).
입력 스키마
{
"type": "object",
"properties": {
"equation": {
"description": "The equation, using math.tools' compact LaTeX-like markup — e.g. 'x^2 - y^2 = (x-y)', 'sqrt{x^2+y^2}'.",
"type": "string"
},
"fontsize": {
"description": "Font size in points. Defaults to the site default; clamped to the supported min/max server-side.",
"type": [
"integer",
"null"
]
}
},
"required": [
"equation"
]
}커뮤니티
증거