Symbolic Algebra MCP Server

by sdiehl

simplify_expression

Reduce complex mathematical expressions to their simplest form using SymPy's simplification engine. Automate symbolic algebra tasks efficiently with MCP server integration.

Instructions

Simplifies a mathematical expression using SymPy's simplify function.

Args: expr_key: The key of the expression (previously introduced) to simplify. Example: # Introduce variables intro("x", [Assumption.REAL], []) intro("y", [Assumption.REAL], []) # Create an expression to simplify: sin(x)^2 + cos(x)^2 expr_key = introduce_expression("sin(x)**2 + cos(x)**2") # Simplify the expression simplified = simplify_expression(expr_key) # Returns 1 Returns: A key for the simplified expression.

Input Schema

NameRequiredDescriptionDefault
expr_keyYes

Input Schema (JSON Schema)

{ "properties": { "expr_key": { "title": "Expr Key", "type": "string" } }, "required": [ "expr_key" ], "title": "simplify_expressionArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sdiehl/sympy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server