Finance Tools MCP

MIT License
16
  • Apple

calculate

Solve mathematical expressions using Python and NumPy syntax directly within the Finance Tools MCP. Process calculations like sin, sqrt, mean, and more for precise results.

Instructions

Calculate the result of a mathematical expression. Support python math syntax and numpy. > calculate("2 * 3 + 4") {'result': 10} > calculate("sin(pi/2)") {'result': 1.0} > calculate("sqrt(16)") {'result': 4.0} > calculate("np.mean([1, 2, 3])") {'result': 2.0}

Input Schema

NameRequiredDescriptionDefault
expressionYes

Input Schema (JSON Schema)

{ "properties": { "expression": { "title": "Expression", "type": "string" } }, "required": [ "expression" ], "title": "calculateArguments", "type": "object" }

You must be authenticated.

Other Tools from Finance Tools MCP

Related Tools

ID: o7bclp5ave