Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

SymPy MCP server

by sdiehl/sympy-mcpApache-2.0 licenceAudited 7 Oct 2026 · source 94c8d79b8512

PyPI sympy-mcpstreamable-http★ 85
!CAUTIONGrade B · 89/100 · 7 Oct 2026 · 94c8d79
85GitHub stars

Is it safe? With care — CAUTION, grade B (89/100). It exposes 32 tools: 26 read, 5 write and 1 destructive. The audit recorded 6 findings (0 critical, 0 high, 4 medium, 0 low). Maintainer's description: A MCP server for symbolic manipulation of mathematical expressions

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “SymPy MCP server (sdiehl/sympy-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/sdiehl/sympy

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score89/100!CAUTION B
0 critical0 high4 medium0 low2 info

6 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared2 observations
  • NetworkDeclared4 observations
  • ShellNone observedNothing seen in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 1 finding
L1 Static sourceSecrets, path traversal, supply chainWARN 2 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourceWARN 2 findings
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner sdiehlUser accountAccount type recorded when we read the repository.
  • PackagePublished on PyPIsympy-mcp, no version recorded
  • LicenceApache-2.0From the repository, as read at the audited commit.
  • Last push2 days agoActivity of the repository when we read it.
  • Source commit read94c8d79b8512The audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory32 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (6)

Sorted by severity

MEDIUMFilesystem / pathfs.system_paths · Dockerfile:15
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
ENV PATH="/root/.local/bin/:$PATH"
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · server.py:97
F-04 Network egressCWE-200 · CWE-319Layer L1
url = f"http://127.0.0.1:{mcp_port}/mcp"
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
reset_state
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
MEDIUMAuth / authzmcp.remote_no_auth
F-10 Auth / authzCWE-287 · CWE-862Layer L3
streamable-http
Why
a network transport with no auth environment variable found
Fix
require a token
INFOInventory / provenanceinv.oversize · .github/logo.png
F-13 Inventory / provenanceCWE-1104Layer L0
.github/logo.png
Why
1217866 bytes not read
Fix
—
INFOSupply chainprompt.pipe_to_shell · README.md:30
F-08 Supply chainCWE-829 · CWE-1357Layer L2
- **Curl** : `curl -LsSf https://astral.sh/uv/install.sh | sh`
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

32 declared in source · 1 destructive

26 read5 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
reset_statedestructiveResets the state of the SymPy MCP server.
create_coordinate_systemwriteCreates a 3D coordinate system for vector calculus operations.
create_custom_metricwriteCreates a custom metric tensor from provided components and symbols.
create_matrixwriteCreates a SymPy matrix from the provided data.
create_predefined_metricwriteCreates a predefined spacetime metric from einsteinpy.symbolic.predefined.
create_vector_fieldwriteCreates a vector field in the specified coordinate system.
calculate_curlreadCalculates the curl of a vector field using SymPy
calculate_divergencereadCalculates the divergence of a vector field using SymPy
calculate_gradientreadCalculates the gradient of a scalar field using SymPy
calculate_tensorreadCalculates a tensor from a metric using einsteinpy.symbolic.
convert_to_unitsreadConverts a quantity to the given target units using sympy.physics.units.convert_to.
differentiate_expressionreadDifferentiates an expression with respect to a variable using SymPy
dsolve_odereadSolves an ordinary differential equation using SymPy
integrate_expressionreadIntegrates an expression with respect to a variable using SymPy
introreadIntroduces a sympy variable with specified assumptions and stores it.
intro_manyreadIntroduces multiple sympy variables with specified assumptions and stores them.
introduce_expressionreadParses a sympy expression string using available local variables and stores it. Assigns it to either a temporary name (expr_0, expr_1, etc.) or a user-specified global name.
introduce_functionreadIntroduces a SymPy function variable and stores it.
matrix_determinantreadCalculates the determinant of a matrix using SymPy
matrix_eigenvaluesreadCalculates the eigenvalues of a matrix using SymPy
matrix_eigenvectorsreadCalculates the eigenvectors of a matrix using SymPy
matrix_inversereadCalculates the inverse of a matrix using SymPy
pdsolve_pdereadSolves a partial differential equation using SymPy
print_latex_expressionreadPrints a stored expression in LaTeX format, along with variable assumptions.
print_latex_tensorreadPrints a stored tensor expression in LaTeX format.
quantity_simplify_unitsreadSimplifies a quantity with units using sympy
search_predefined_metricsreadSearches for predefined metrics in einsteinpy.symbolic.predefined.
simplify_expressionreadSimplifies a mathematical expression using SymPy
solve_algebraicallyreadSolves an equation (expression = 0) algebraically for a given variable.
solve_linear_systemreadSolves a system of linear equations using SymPy
solve_nonlinear_systemreadSolves a system of nonlinear equations using SymPy
substitute_expressionreadSubstitutes a variable in an expression with another expression using SymPy

Install

audited commit 94c8d79

Read the findings first. The most severe is Filesystem / path (medium) at Dockerfile.

One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit 94c8d79 only.

claude mcp add sympy-mcp -- uvx sympy-mcp

The command does not pin a version; the audit covers commit 94c8d79b8512. Transport: streamable-http. No environment variables required.

Audit history

  1. !CAUTION B 89 / 100

    First audit · 94c8d79b8512

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/sdiehl/sympy/badge.svg)](https://modelsatlas.com/mcp/sdiehl/sympy/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about SymPy MCP server

What is the SymPy MCP server?
A MCP server for symbolic manipulation of mathematical expressions
What tools does SymPy expose?
32 in total: 26 read-only, 5 that write, and 1 that can delete or overwrite (reset_state). Every one is listed on this page with its risk.
Is SymPy safe to connect to an agent?
With care. The audit graded it B (89/100) and found 6 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does SymPy need?
No credential environment variables were found in its source, so it appears to need none.
How does SymPy run?
It speaks streamable-http, so it runs as a service you connect to over the network. It is published on PyPI as sympy-mcp.
How current is this page?
The grade is for one exact copy of the source (94c8d79b8512), read on 2026-10-07. The repository is watched and re-audited when it changes.

Sources

  • sdiehl/sympy-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit 94c8d79b8512Observed · 7 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.