Sympy MCP server
MCP server that exposes SymPy's symbolic mathematics functionality
0 stars36 downloads/wk
Reviews
Write oneNobody has reviewed Sympy yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Sympy tools (100, 14 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
sympy_absAbsolute value.
sympy_acosArc cosine.
sympy_apartPerform partial fraction decomposition.
sympy_argsGet arguments of expression.
sympy_asinArc sine.
sympy_atanArc tangent.
sympy_atomsGet atoms (atomic components) of expression.
sympy_binomialBinomial coefficient.
sympy_cancelwrite actionCancel common factors in rational expression.
sympy_catalanCatalan number.
sympy_cbrtCube root.
sympy_ceilingCeiling function.
sympy_coeffGet coefficient.
sympy_complementCompute complement of set1 in set2.
sympy_cosCosine function.
sympy_coshHyperbolic cosine.
sympy_degreeDegree of polynomial.
sympy_derivativewrite actionCreate a Derivative object (unevaluated).
sympy_diagwrite actionCreate a diagonal matrix (comma-separated).
sympy_diffDifferentiate an expression.
sympy_dirichlet_etaDirichlet eta function.
sympy_divisorsReturn divisors of n.
sympy_eqwrite actionCreate equality.
sympy_erfError function.
sympy_evalfEvaluate expression to floating point.
sympy_evaluateToggle evaluation globally.
sympy_expExponential function.
sympy_expandExpand an expression.
sympy_expand_logExpand logarithmic expressions.
sympy_expand_trigExpand trigonometric expressions.
sympy_expr_typeGet type of expression.
sympy_eyewrite actionCreate an identity matrix.
sympy_factorFactor an expression.
sympy_factorialFactorial.
sympy_factorintInteger factorization.
sympy_fibonacciFibonacci number.
sympy_finite_setwrite actionCreate a finite set (comma-separated).
sympy_floorFloor function.
sympy_free_symbolsGet free symbols in expression.
sympy_funcGet head function of expression.
sympy_gammaGamma function.
sympy_gcdGreatest common divisor.
sympy_integralwrite actionCreate an Integral object (unevaluated).
sympy_integrateIntegrate an expression.
sympy_intersectionCompute intersection of two sets.
sympy_intervalwrite actionCreate an interval.
sympy_isprimeCheck if n is prime.
sympy_latexConvert expression to LaTeX.
sympy_lcmLeast common multiple.
sympy_limitCompute a limit.
sympy_logNatural logarithm.
sympy_log_baseLogarithm with specified base.
sympy_lucasLucas number.
sympy_mathmlConvert expression to MathML.
sympy_matrixwrite actionCreate a matrix from rows (e.g., "1,2; 3,4").
sympy_matrix_addAdd two matrices.
sympy_matrix_determinantCompute matrix determinant.
sympy_matrix_eigenvalsCompute eigenvalues of a matrix.
sympy_matrix_eigenvectsCompute eigenvectors of a matrix.
sympy_matrix_inverseCompute matrix inverse.
sympy_matrix_multiplyMultiply two matrices.
sympy_matrix_transposeTranspose a matrix.
sympy_nEvaluate expression numerically.
sympy_nextprimeReturn the next prime after n.
sympy_nsolveNumerically solve an equation.
sympy_oneswrite actionCreate a matrix of ones.
sympy_polywrite actionCreate a polynomial.
sympy_polylogPolylogarithm.
sympy_powsimpSimplify powers in an expression.
sympy_prevprimeReturn the previous prime before n.
sympy_primeReturn the n-th prime.
sympy_productCompute a product.
sympy_product_exprCompute an unevaluated product (Product object).
sympy_python_codeConvert expression to Python code.
sympy_ratsimpSimplify rational expressions.
sympy_repr_exprGet repr of expression.
sympy_rootN-th root.
sympy_rootsFind roots of polynomial.
sympy_seriesCompute series expansion.
sympy_simplifySimplify an expression.
sympy_sinSine function.
sympy_sinhHyperbolic sine.
sympy_solveSolve an equation or system of equations.
sympy_solvesetSolve an equation using solveset.
sympy_sqrtSquare root.
sympy_strConvert expression to string.
sympy_subsSubstitute in expression (format: "old:new,old2:new2").
sympy_sumCompute a sum.
sympy_summationCompute an unevaluated sum (Sum object).
sympy_symbolwrite actionCreate a single symbolic variable.
sympy_symbolswrite actionCreate symbolic variables.
sympy_sympifyConvert a string to a SymPy expression.
sympy_tanTangent function.
sympy_tanhHyperbolic tangent.
sympy_togetherCombine terms into a single fraction.
sympy_totientEuler's totient function.
sympy_trigsimpSimplify trigonometric expressions.
sympy_unionCompute union of two sets.
sympy_zeroswrite actionCreate a zero matrix.
sympy_zetaRiemann zeta function.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 159 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Sympy compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 63% of 48,273 servers
- Tools
- 100
- the typical server has 7
- Tools that change things
- 14%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 36
- more than 28% of 11,915 servers with a package
What its tools let an agent do: 86 read · 14 change
Install Sympy in Claude Code, Cursor or VS Code
claude mcp add mcp-sympy -- uvx mcp-sympy
What the publisher says
From the Sympy repository's README, as published. We do not edit it. Read it on GitHub
mcp-sympy
MCP server that exposes SymPy's symbolic mathematics functionality
Install
pip install mcp-sympyMCP Server
mcp-name: io.github.daedalus/mcp-sympy
Usage
As MCP Server
Configure in your MCP client:
{
"mcpServers": {
"mcp-sympy": {
"command": "mcp-sympy",
"env": {}
}
}
}Python API
from mcp_sympy import tools
# Simplify expressions
result = tools.sympy_simplify("sin(x)**2 + cos(x)**2")
print(result) # "1"
# Solve equations
result = tools.sympy_solve("x**2 - 4", "x")
print(result) # "[2, -2]"
# Differentiate
result = tools.sympy_diff("x**2", "x")
print(result) # "2*x"
# Integrate
result = tools.sympy_integrate("x**2", "x")
print(result) # "x**3/3"
# Create matrices
result = tools.sympy_matrix("1,2; 3,4")
print(result) # "Matrix([[1, 2], [3, 4]])"
# Number theory
result = tools.sympy_isprime("7")
print(result) # "True"Available Tools
The MCP server exposes comprehensive SymPy functionality including:
- Symbolic Expressions: symbols, sympify, simplify, expand, factor
- Calculus: diff, integrate, limit, series, Derivative, Integral
- Solving: solve, solveset, nsolve, diophantine, dsolve
- Matrices: Matrix operations, inverse, determinant, eigenvalues
- Trigonometry: sin, cos, tan, and their inverses
- Special Functions: gamma, zeta, erf, fibonacci, etc.
- Number Theory: isprime, prime, gcd, lcm, totient
- Sets: FiniteSet, Interval, Union, Intersection
- Logic: And, Or, Not, Xor
- Printing: LaTeX, MathML, Python code
Development
git clone https://github.com/daedalus/mcp-sympy.git
cd mcp-sympy
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/License
MIT License - see LICENSE file.
Nothing above is checked by us. What we check is on the safety report.
Sympy: common questions
- Is Sympy MCP server safe?
- Mostly: it is graded B (82/100). Read the Sympy safety report
- How do I install Sympy?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Sympy need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Sympy maintained?
- The last commit was 195 days ago (2026-04-21). The latest release is v0.1.0.
- How does Sympy compare with other MCP servers?
- safety score 82/100 (higher than 63% of 48,273 servers); tools 100 (the typical server has 7); tools that change things 14% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.