math-to-code-mcp
Math MCP server for primality, factorization, Java templates, and integer multiplication.
사용해야 할까요
품질 및 안전성
A
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
~307토큰 (도구 정의)
~698 B일반적인 응답 크기
최소한의 주의 영향 (128k 컨텍스트의 0.24%)
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"math-to-code-mcp": {
"url": "https://math-to-code-mcp-production.up.railway.app/mcp"
}
}
}원격 엔드포인트
https://math-to-code-mcp-production.up.railway.app/mcpstreamable-http할 수 있는 일
도구 목록
도구 (3)
🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
⚪generate_java_algorithm(algorithm)
Generate a Java implementation of a supported mathematical algorithm. This returns fixed, reviewed templates and does not execute generated code.
입력 스키마
{
"type": "object",
"properties": {
"algorithm": {
"type": "string",
"description": "Algorithm identifier: gcd, is_prime, or factorial"
}
},
"required": [
"algorithm"
],
"additionalProperties": false
}🟢prime_analyze(number)
Check whether an integer is prime and return its prime factorization. Supports integers from -10^12 through 10^12; prime status is defined only for n >= 2.
입력 스키마
{
"type": "object",
"properties": {
"number": {
"type": "integer",
"description": "Integer to analyze, from -1000000000000 to 1000000000000"
}
},
"required": [
"number"
],
"additionalProperties": false
}⚪common_base_multiply(x, y, base)
Multiply two integers using the Common-Base Multiplication Method: x=N+a, y=N+b, xy=N^2+N(a+b)+ab. Returns the chosen base, offsets, terms, and exact result.
입력 스키마
{
"type": "object",
"properties": {
"x": {
"type": "integer",
"description": "First integer"
},
"y": {
"type": "integer",
"description": "Second integer"
},
"base": {
"type": "integer",
"description": "Common base N. If omitted by a client, use a convenient nearby base such as a multiple of 10."
}
},
"required": [
"x",
"y",
"base"
],
"additionalProperties": false
}커뮤니티
증거
최근 관측
검증됨버전이 기록되지 않음도구 3개