advanced-math-mcp MCP Server

MCP (Model Context Protocol) server for advanced mathematics — linear algebra, vector math, symbolic computation, and calculus. Designed for use with Claude and other MCP-compatible LLMs.

Local serverstdioMIT

What is the advanced-math-mcp Server?

advanced-math-mcp is an MCP project maintained in the psywhat/advanced-math-mcp repository. The maintainer describes its purpose as “MCP (Model Context Protocol) server for advanced mathematics — linear algebra, vector math, symbolic computation, and calculus. Designed for use with Claude and other MCP-compatible…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using advanced-math-mcp. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

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
evaluateUniversal expression evaluator with natural math syntax. Supports matrices, vectors, scalars, decompositions, and custom functions.
set_variableDefine a named variable (matrix, vector, or scalar) for use in evaluate
get_variableRetrieve a variable's value
list_variablesList all defined variables and their types
clear_variablesReset all variables
matrix_createCreate a matrix from a 2D array of strings
matrix_identityCreate an n×n identity matrix
matrix_zerosCreate an m×n matrix of zeros
matrix_diagonalCreate a diagonal matrix from a vector of values
symbolic_simplifySimplify algebraic expressions
symbolic_expandExpand factored expressions
symbolic_substituteSubstitute variables with values or expressions
symbolic_derivativeCompute ordinary derivatives (single-variable)
symbolic_partial_derivativeCompute partial derivatives (multivariable)
symbolic_integrateCompute indefinite integrals (antiderivatives)
symbolic_definite_integralCompute definite integrals with bounds
symbolic_limitCompute limits of expressions

How to install the advanced-math-mcp Server

{
  "mcpServers": {
    "advanced-math-mcp": {
      "command": "advanced-math-mcp",
      "args": [],
      "alwaysAllow": [
        "evaluate",
        "set_variable",
        "get_variable",
        "list_variables",
        "clear_variables",
        "matrix_create",
        "matrix_identity",
        "matrix_zeros",
        "matrix_diagonal",
        "symbolic_simplify",
        "symbolic_substitute",
        "symbolic_derivative",
        "symbolic_expand",
        "symbolic_integrate",
        "symbolic_definite_integral",
        "symbolic_limit",
        "symbolic_partial_derivative"
      ]
    }
  }
}

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