cybersora9 avatar

Pycodemath

cybersora9/pycodemath

Checks the math in your code and gives AI agents an exact math engine (SymPy + NumPy).

GitHub stars
8
tools
8
transport
STDIO
last updated
Nov 14, 2026

Tools

8 tools

Public tool metadata for what this MCP can expose to an agent.

math_evalAnswers the same commands as the REPL and returns a structured response with text, solve, quadrature, and error fields.

Answers the same commands as the REPL and returns a structured response with text, solve, quadrature, and error fields.

No parameter schema in public metadata yet.

math_verifyChecks an identity, a derivation, or an engine answer instead of computing it.

Checks an identity, a derivation, or an engine answer instead of computing it.

No parameter schema in public metadata yet.

math_check_codeReads and proves a function's source code; by default the code is not run, and execute=true is needed to run it.

Reads and proves a function's source code; by default the code is not run, and execute=true is needed to run it.

No parameter schema in public metadata yet.

math_iterationsAnalyzes iteration behavior of source code, with the same execute=false default as math_check_code.

Analyzes iteration behavior of source code, with the same execute=false default as math_check_code.

No parameter schema in public metadata yet.

math_lintLints source code, with the same execute=false default as math_check_code.

Lints source code, with the same execute=false default as math_check_code.

No parameter schema in public metadata yet.

math_stabilityChecks numerical stability over a dict of variable ranges.

Checks numerical stability over a dict of variable ranges.

No parameter schema in public metadata yet.

math_rangesChecks code over a dict of variable ranges.

Checks code over a dict of variable ranges.

No parameter schema in public metadata yet.

math_recheckRe-runs any certificate.

Re-runs any certificate.

No parameter schema in public metadata yet.

Sponsors

Readme

pycodemath

Your code looks right. Is the math?

PyPI License: MIT Python 3.11 to 3.14 3084 tests passing mypy: clean CI

Pycodemath checks the math in your Python code. Give it a function and the formula it should compute. You get a proof that they match, or the exact input that breaks the function. No guessing, no random samples.


View the full README on GitHub

Details

Repository
github.com/cybersora9/pycodemath
Website
cybersora.pl
Package
pycodemath
Transport
STDIO
Registry
MCP registry, active