MathCase Exact Checks + Pipeline
Check fractions, geometry, arithmetic, bounded integer claims and kit orders. Replay each result.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"mathcase-fractions": {
"url": "https://mathcase-mcp.onrender.com/mcp"
}
}
}Remote-Endpunkte
https://mathcase-mcp.onrender.com/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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.
Eingabe-Schema
{
"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"
}Ausgabe-Schema
{
"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.
Eingabe-Schema
{
"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"
}Ausgabe-Schema
{
"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.
Eingabe-Schema
{
"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"
}Ausgabe-Schema
{
"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.
Eingabe-Schema
{
"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"
}Ausgabe-Schema
{
"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.
Eingabe-Schema
{
"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"
}Ausgabe-Schema
{
"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.
Eingabe-Schema
{
"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"
}Ausgabe-Schema
{
"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.
Eingabe-Schema
{
"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"
}Ausgabe-Schema
{
"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.
Eingabe-Schema
{
"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"
}Ausgabe-Schema
{
"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]"
}Community
Nachweis