Symbolic Algebra MCP Server

by sdiehl

solve_nonlinear_system

Solve systems of nonlinear equations by specifying expression keys and variable names. Returns a LaTeX-formatted solution set or error message, supporting domains like complex, real, integers, and naturals.

Instructions

Solves a system of nonlinear equations using SymPy's nonlinsolve.

Args: expr_keys: The keys of the expressions (previously introduced) forming the system. var_names: The names of the variables to solve for. domain: The domain to solve in (Domain.COMPLEX, Domain.REAL, etc.). Defaults to Domain.COMPLEX. Returns: A LaTeX string representing the solution set. Returns an error message string if issues occur.

Input Schema

NameRequiredDescriptionDefault
domainNocomplex
expr_keysYes
var_namesYes

Input Schema (JSON Schema)

{ "$defs": { "Domain": { "enum": [ "complex", "real", "integers", "naturals" ], "title": "Domain", "type": "string" } }, "properties": { "domain": { "$ref": "#/$defs/Domain", "default": "complex" }, "expr_keys": { "items": { "type": "string" }, "title": "Expr Keys", "type": "array" }, "var_names": { "items": { "type": "string" }, "title": "Var Names", "type": "array" } }, "required": [ "expr_keys", "var_names" ], "title": "solve_nonlinear_systemArguments", "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