Sympy MCP Server

Sympy-MCP is a Model Context Protocol server for allowing LLMs to autonomously perform symbolic mathematics and computer algebra. It exposes numerous

Local serverstdioPython

What is the Sympy MCP Server?

Sympy-MCP is a Model Context Protocol server for allowing LLMs to autonomously perform symbolic mathematics and computer algebra. It exposes numerous tools from SymPy's core functionality to MCP clients for manipulating mathematical expressions and equations.

Practical notes

  • Maintained by sdiehl, written in Python.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
Simplifiersimplify_expression
Substitutionsubstitute_expression
Integrationintegrate_expression
Differentiationdifferentiate_expression
Coordinatescreate_coordinate_system
Curlcalculate_curl
Divergencecalculate_divergence
Gradientcalculate_gradient
Determinantmatrix_determinant
Eigenvaluesmatrix_eigenvalues
Eigenvectorsmatrix_eigenvectors
PropertyValue
commutativetrue
complextrue
finitetrue
infinitefalse

How to install the Sympy MCP Server

{
  "mcpServers": {
    "sympy-mcp": {
      "command": "/opt/homebrew/bin/uv",
      "args": [
        "run",
        "--with",
        "einsteinpy",
        "--with",
        "mcp[cli]",
        "--with",
        "pydantic",
        "--with",
        "sympy",
        "mcp",
        "run",
        "/ABSOLUTE_PATH_TO_SYMPY_MCP/server.py"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Sympy MCP to Homebrew.”
  • “Use Sympy MCP to Curl.”
  • “Use Sympy MCP to Simplifier.”

Frequently asked questions

Sympy-MCP is a Model Context Protocol server for allowing LLMs to autonomously perform symbolic mathematics and computer algebra. It exposes numerous tools from Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.