MathCase Exact Checks + Pipeline
Check fractions, geometry, arithmetic, bounded integer claims and kit orders. Replay each result.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"mathcase-fractions": {
"url": "https://mathcase-mcp.onrender.com/mcp"
}
}
}원격 엔드포인트
https://mathcase-mcp.onrender.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (8)
🟢mathcase_check_fraction(n, denominators)
Test a supplied equality 4/n = 1/x + 1/y + 1/z using exact integer cross-products. Example: n="157", denominators=["40","2094","6575160"]. Supply positive decimal strings, n >= 2, and three distinct denominators. Return the verdict and the board_url unchanged.
입력 스키마
{
"type": "object",
"properties": {
"n": {
"description": "Denominator n in 4/n, written as a decimal string of up to 80 digits. Use n >= 2.",
"title": "N",
"type": "string"
},
"denominators": {
"description": "Three distinct denominators x, y, z in 1/x + 1/y + 1/z, in any order. Use positive decimal strings of up to 80 digits each.",
"items": {
"type": "string"
},
"title": "Denominators",
"type": "array"
}
},
"required": [
"n",
"denominators"
],
"title": "mathcase_check_fractionArguments"
}출력 스키마
{
"type": "object",
"$defs": {
"FractionCheck": {
"additionalProperties": true,
"properties": {
"verdict": {
"enum": [
"IDENTITY_VERIFIED",
"IDENTITY_FALSE"
],
"title": "Verdict",
"type": "string"
},
"statement": {
"title": "Statement",
"type": "string"
},
"cross_products": {
"additionalProperties": {
"type": "string"
},
"title": "Cross Products",
"type": "object"
},
"receipt": {
"additionalProperties": true,
"title": "Receipt",
"type": "object"
},
"board_url": {
"title": "Board Url",
"type": "string"
}
},
"required": [
"verdict",
"statement",
"cross_products",
"receipt",
"board_url"
],
"title": "FractionCheck",
"type": "object"
},
"Refusal": {
"additionalProperties": false,
"properties": {
"contract": {
"const": "mathcase-connect-v1",
"title": "Contract",
"type": "string"
},
"refused": {
"const": true,
"title": "Refused",
"type": "boolean"
},
"code": {
"title": "Code",
"type": "string"
},
"why": {
"title": "Why",
"type": "string"
}
},
"required": [
"contract",
"refused",
"code",
"why"
],
"title": "Refusal",
"type": "object"
},
"Success_FractionCheck_": {
"additionalProperties": true,
"properties": {
"contract": {
"const": "mathcase-connect-v1",
"title": "Contract",
"type": "string"
},
"sources": {
"items": {
"type": "string"
},
"title": "Sources",
"type": "array"
},
"data": {
"$ref": "#/$defs/FractionCheck"
}
},
"required": [
"contract",
"sources",
"data"
],
"title": "Success[FractionCheck]",
"type": "object"
}
},
"anyOf": [
{
"$ref": "#/$defs/Success_FractionCheck_"
},
{
"$ref": "#/$defs/Refusal"
}
],
"title": "Result[FractionCheck]"
}🟢mathcase_find_case(question)
Search supported checks. Omit question to list all case IDs. An empty match means unsupported.
입력 스키마
{
"type": "object",
"properties": {
"question": {
"default": "",
"description": "Search words or a question, up to 500 characters. Leave empty to list all cases.",
"title": "Question",
"type": "string"
}
},
"title": "mathcase_find_caseArguments"
}출력 스키마
{
"type": "object",
"$defs": {
"Matches": {
"additionalProperties": true,
"properties": {
"matches": {
"items": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"title": "Matches",
"type": "array"
}
},
"required": [
"matches"
],
"title": "Matches",
"type": "object"
},
"Refusal": {
"additionalProperties": false,
"properties": {
"contract": {
"const": "mathcase-connect-v1",
"title": "Contract",
"type": "string"
},
"refused": {
"const": true,
"title": "Refused",
"type": "boolean"
},
"code": {
"title": "Code",
"type": "string"
},
"why": {
"title": "Why",
"type": "string"
}
},
"required": [
"contract",
"refused",
"code",
"why"
],
"title": "Refusal",
"type": "object"
},
"Success_Matches_": {
"additionalProperties": true,
"properties": {
"contract": {
"const": "mathcase-connect-v1",
"title": "Contract",
"type": "string"
},
"sources": {
"items": {
"type": "string"
},
"title": "Sources",
"type": "array"
},
"data": {
"$ref": "#/$defs/Matches"
}
},
"required": [
"contract",
"sources",
"data"
],
"title": "Success[Matches]",
"type": "object"
}
},
"anyOf": [
{
"$ref": "#/$defs/Success_Matches_"
},
{
"$ref": "#/$defs/Refusal"
}
],
"title": "Result[Matches]"
}🟢mathcase_get_evidence(case_id)
Read a case's assumptions, source, evidence type and example_input before running it.
입력 스키마
{
"type": "object",
"properties": {
"case_id": {
"description": "Case ID returned by mathcase_find_case, for example egyptian-fractions.",
"title": "Case Id",
"type": "string"
}
},
"required": [
"case_id"
],
"title": "mathcase_get_evidenceArguments"
}출력 스키마
{
"type": "object",
"$defs": {
"Payload": {
"additionalProperties": true,
"properties": {},
"title": "Payload",
"type": "object"
},
"Refusal": {
"additionalProperties": false,
"properties": {
"contract": {
"const": "mathcase-connect-v1",
"title": "Contract",
"type": "string"
},
"refused": {
"const": true,
"title": "Refused",
"type": "boolean"
},
"code": {
"title": "Code",
"type": "string"
},
"why": {
"title": "Why",
"type": "string"
}
},
"required": [
"contract",
"refused",
"code",
"why"
],
"title": "Refusal",
"type": "object"
},
"Success_Payload_": {
"additionalProperties": true,
"properties": {
"contract": {
"const": "mathcase-connect-v1",
"title": "Contract",
"type": "string"
},
"sources": {
"items": {
"type": "string"
},
"title": "Sources",
"type": "array"
},
"data": {
"$ref": "#/$defs/Payload"
}
},
"required": [
"contract",
"sources",
"data"
],
"title": "Success[Payload]",
"type": "object"
}
},
"anyOf": [
{
"$ref": "#/$defs/Success_Payload_"
},
{
"$ref": "#/$defs/Refusal"
}
],
"title": "Result[Payload]"
}🟢mathcase_check_case(case_id, inputs)
Run one registered checker. Use the input shape from mathcase_get_evidence. Return the original receipt, counterexample or refusal and board_url when present.
입력 스키마
{
"type": "object",
"properties": {
"case_id": {
"description": "Case ID returned by mathcase_find_case, for example egyptian-fractions.",
"title": "Case Id",
"type": "string"
},
"inputs": {
"description": "JSON object containing the selected case's arguments. Follow data.example_input from mathcase_get_evidence.",
"title": "Inputs",
"type": "object"
}
},
"required": [
"case_id",
"inputs"
],
"title": "mathcase_check_caseArguments"
}출력 스키마
{
"type": "object",
"$defs": {
"Payload": {
"additionalProperties": true,
"properties": {},
"title": "Payload",
"type": "object"
},
"Refusal": {
"additionalProperties": false,
"properties": {
"contract": {
"const": "mathcase-connect-v1",
"title": "Contract",
"type": "string"
},
"refused": {
"const": true,
"title": "Refused",
"type": "boolean"
},
"code": {
"title": "Code",
"type": "string"
},
"why": {
"title": "Why",
"type": "string"
}
},
"required": [
"contract",
"refused",
"code",
"why"
],
"title": "Refusal",
"type": "object"
},
"Success_Payload_": {
"additionalProperties": true,
"properties": {
"contract": {
"const": "mathcase-connect-v1",
"title": "Contract",
"type": "string"
},
"sources": {
"items": {
"type": "string"
},
"title": "Sources",
"type": "array"
},
"data": {
"$ref": "#/$defs/Payload"
}
},
"required": [
"contract",
"sources",
"data"
],
"title": "Success[Payload]",
"type": "object"
}
},
"anyOf": [
{
"$ref": "#/$defs/Success_Payload_"
},
{
"$ref": "#/$defs/Refusal"
}
],
"title": "Result[Payload]"
}🟢mathcase_replay(packet)
Recompute a saved MathCase receipt or exact-case packet with its registered checker.
입력 스키마
{
"type": "object",
"properties": {
"packet": {
"description": "Complete saved receipt or exact-case packet as a JSON object, including its schema and digest.",
"title": "Packet",
"type": "object"
}
},
"required": [
"packet"
],
"title": "mathcase_replayArguments"
}출력 스키마
{
"type": "object",
"$defs": {
"Payload": {
"additionalProperties": true,
"properties": {},
"title": "Payload",
"type": "object"
},
"Refusal": {
"additionalProperties": false,
"properties": {
"contract": {
"const": "mathcase-connect-v1",
"title": "Contract",
"type": "string"
},
"refused": {
"const": true,
"title": "Refused",
"type": "boolean"
},
"code": {
"title": "Code",
"type": "string"
},
"why": {
"title": "Why",
"type": "string"
}
},
"required": [
"contract",
"refused",
"code",
"why"
],
"title": "Refusal",
"type": "object"
},
"Success_Payload_": {
"additionalProperties": true,
"properties": {
"contract": {
"const": "mathcase-connect-v1",
"title": "Contract",
"type": "string"
},
"sources": {
"items": {
"type": "string"
},
"title": "Sources",
"type": "array"
},
"data": {
"$ref": "#/$defs/Payload"
}
},
"required": [
"contract",
"sources",
"data"
],
"title": "Success[Payload]",
"type": "object"
}
},
"anyOf": [
{
"$ref": "#/$defs/Success_Payload_"
},
{
"$ref": "#/$defs/Refusal"
}
],
"title": "Result[Payload]"
}🟡mathcase_start_pipeline(claim, title)
Turn a plain-text claim into a candidate Lean target or questions for human review. Example: claim="What is 2 + 2?". Save data.checkpoint to resume from another client or after a restart. The result records a deterministic pre-check; this tool does not run Lean.
입력 스키마
{
"type": "object",
"properties": {
"claim": {
"description": "Mathematical claim or question in plain text, up to 4,000 characters.",
"title": "Claim",
"type": "string"
},
"title": {
"default": "",
"description": "Optional display name for this run, up to 200 characters.",
"title": "Title",
"type": "string"
}
},
"required": [
"claim"
],
"title": "mathcase_start_pipelineArguments"
}출력 스키마
{
"type": "object",
"$defs": {
"PipelineState": {
"additionalProperties": true,
"properties": {
"pipeline": {
"additionalProperties": true,
"title": "Pipeline",
"type": "object"
},
"checkpoint": {
"additionalProperties": true,
"title": "Checkpoint",
"type": "object"
},
"next_actions": {
"items": {
"type": "string"
},
"title": "Next Actions",
"type": "array"
},
"cost_policy": {
"additionalProperties": true,
"title": "Cost Policy",
"type": "object"
},
"board_url": {
"title": "Board Url",
"type": "string"
}
},
"required": [
"pipeline",
"checkpoint",
"next_actions",
"cost_policy",
"board_url"
],
"title": "PipelineState",
"type": "object"
},
"Refusal": {
"additionalProperties": false,
"properties": {
"contract": {
"const": "mathcase-connect-v1",
"title": "Contract",
"type": "string"
},
"refused": {
"const": true,
"title": "Refused",
"type": "boolean"
},
"code": {
"title": "Code",
"type": "string"
},
"why": {
"title": "Why",
"type": "string"
}
},
"required": [
"contract",
"refused",
"code",
"why"
],
"title": "Refusal",
"type": "object"
},
"Success_PipelineState_": {
"additionalProperties": true,
"properties": {
"contract": {
"const": "mathcase-connect-v1",
"title": "Contract",
"type": "string"
},
"sources": {
"items": {
"type": "string"
},
"title": "Sources",
"type": "array"
},
"data": {
"$ref": "#/$defs/PipelineState"
}
},
"required": [
"contract",
"sources",
"data"
],
"title": "Success[PipelineState]",
"type": "object"
}
},
"anyOf": [
{
"$ref": "#/$defs/Success_PipelineState_"
},
{
"$ref": "#/$defs/Refusal"
}
],
"title": "Result[PipelineState]"
}🟡mathcase_continue_pipeline(pipeline_id, action, note, revision, checkpoint)
Continue from data.checkpoint on any server, or from pipeline_id in the same server process. Example: action="request_explanation". Use note for add_result/report_issue, revision for revise_claim. A result supplied by a caller is recorded as their observation.
입력 스키마
{
"type": "object",
"properties": {
"pipeline_id": {
"default": "",
"description": "ID from data.pipeline.pipeline_id for a run in this server process. You can omit it when supplying checkpoint.",
"title": "Pipeline Id",
"type": "string"
},
"action": {
"default": "",
"description": "Choose an action from data.next_actions in the last pipeline response, for example request_explanation.",
"title": "Action",
"type": "string"
},
"note": {
"default": "",
"description": "Text to record for add_result or report_issue, up to 4,000 characters.",
"title": "Note",
"type": "string"
},
"revision": {
"default": "",
"description": "Replacement claim text for revise_claim, up to 4,000 characters.",
"title": "Revision",
"type": "string"
},
"checkpoint": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Complete data.checkpoint object from the previous pipeline response. Supply it unchanged to resume on a different client or after a restart.",
"title": "Checkpoint"
}
},
"title": "mathcase_continue_pipelineArguments"
}출력 스키마
{
"type": "object",
"$defs": {
"PipelineState": {
"additionalProperties": true,
"properties": {
"pipeline": {
"additionalProperties": true,
"title": "Pipeline",
"type": "object"
},
"checkpoint": {
"additionalProperties": true,
"title": "Checkpoint",
"type": "object"
},
"next_actions": {
"items": {
"type": "string"
},
"title": "Next Actions",
"type": "array"
},
"cost_policy": {
"additionalProperties": true,
"title": "Cost Policy",
"type": "object"
},
"board_url": {
"title": "Board Url",
"type": "string"
}
},
"required": [
"pipeline",
"checkpoint",
"next_actions",
"cost_policy",
"board_url"
],
"title": "PipelineState",
"type": "object"
},
"Refusal": {
"additionalProperties": false,
"properties": {
"contract": {
"const": "mathcase-connect-v1",
"title": "Contract",
"type": "string"
},
"refused": {
"const": true,
"title": "Refused",
"type": "boolean"
},
"code": {
"title": "Code",
"type": "string"
},
"why": {
"title": "Why",
"type": "string"
}
},
"required": [
"contract",
"refused",
"code",
"why"
],
"title": "Refusal",
"type": "object"
},
"Success_PipelineState_": {
"additionalProperties": true,
"properties": {
"contract": {
"const": "mathcase-connect-v1",
"title": "Contract",
"type": "string"
},
"sources": {
"items": {
"type": "string"
},
"title": "Sources",
"type": "array"
},
"data": {
"$ref": "#/$defs/PipelineState"
}
},
"required": [
"contract",
"sources",
"data"
],
"title": "Success[PipelineState]",
"type": "object"
}
},
"anyOf": [
{
"$ref": "#/$defs/Success_PipelineState_"
},
{
"$ref": "#/$defs/Refusal"
}
],
"title": "Result[PipelineState]"
}🟢mathcase_pipeline_status(pipeline_id, checkpoint)
Replay data.checkpoint to recover its status and events, or read a live pipeline_id.
입력 스키마
{
"type": "object",
"properties": {
"pipeline_id": {
"default": "",
"description": "ID from data.pipeline.pipeline_id for a run in this server process. You can omit it when supplying checkpoint.",
"title": "Pipeline Id",
"type": "string"
},
"checkpoint": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Complete data.checkpoint object from the previous pipeline response. Supply it unchanged to resume on a different client or after a restart.",
"title": "Checkpoint"
}
},
"title": "mathcase_pipeline_statusArguments"
}출력 스키마
{
"type": "object",
"$defs": {
"PipelineState": {
"additionalProperties": true,
"properties": {
"pipeline": {
"additionalProperties": true,
"title": "Pipeline",
"type": "object"
},
"checkpoint": {
"additionalProperties": true,
"title": "Checkpoint",
"type": "object"
},
"next_actions": {
"items": {
"type": "string"
},
"title": "Next Actions",
"type": "array"
},
"cost_policy": {
"additionalProperties": true,
"title": "Cost Policy",
"type": "object"
},
"board_url": {
"title": "Board Url",
"type": "string"
}
},
"required": [
"pipeline",
"checkpoint",
"next_actions",
"cost_policy",
"board_url"
],
"title": "PipelineState",
"type": "object"
},
"Refusal": {
"additionalProperties": false,
"properties": {
"contract": {
"const": "mathcase-connect-v1",
"title": "Contract",
"type": "string"
},
"refused": {
"const": true,
"title": "Refused",
"type": "boolean"
},
"code": {
"title": "Code",
"type": "string"
},
"why": {
"title": "Why",
"type": "string"
}
},
"required": [
"contract",
"refused",
"code",
"why"
],
"title": "Refusal",
"type": "object"
},
"Success_PipelineState_": {
"additionalProperties": true,
"properties": {
"contract": {
"const": "mathcase-connect-v1",
"title": "Contract",
"type": "string"
},
"sources": {
"items": {
"type": "string"
},
"title": "Sources",
"type": "array"
},
"data": {
"$ref": "#/$defs/PipelineState"
}
},
"required": [
"contract",
"sources",
"data"
],
"title": "Success[PipelineState]",
"type": "object"
}
},
"anyOf": [
{
"$ref": "#/$defs/Success_PipelineState_"
},
{
"$ref": "#/$defs/Refusal"
}
],
"title": "Result[PipelineState]"
}커뮤니티
증거