Symbolic Algebra MCP Server

by sdiehl

solve_algebraically

Solve equations algebraically for a specified variable with support for complex, real, integer, or natural domains. Returns solutions as LaTeX strings.

Instructions

Solves an equation (expression = 0) algebraically for a given variable.

Args: expr_key: The key of the expression (previously introduced) to be solved. solve_for_var_name: The name of the variable (previously introduced) to solve for. domain: The domain to solve in: Domain.COMPLEX, Domain.REAL, Domain.INTEGERS, or Domain.NATURALS. Defaults to Domain.COMPLEX. Returns: A LaTeX string representing the set of solutions. Returns an error message string if issues occur.

Input Schema

NameRequiredDescriptionDefault
domainNocomplex
expr_keyYes
solve_for_var_nameYes

Input Schema (JSON Schema)

{ "$defs": { "Domain": { "enum": [ "complex", "real", "integers", "naturals" ], "title": "Domain", "type": "string" } }, "properties": { "domain": { "$ref": "#/$defs/Domain", "default": "complex" }, "expr_key": { "title": "Expr Key", "type": "string" }, "solve_for_var_name": { "title": "Solve For Var Name", "type": "string" } }, "required": [ "expr_key", "solve_for_var_name" ], "title": "solve_algebraicallyArguments", "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