About mathjs-calculator
mathjs-calculator is an MCP server published by git+liangjs in the AI category: mCP server providing calculator functionality using mathjs.
Install
npx @liangjs/mathjs-calculator-mcpclaude mcp add mathjs-calculator-mcp -- npx -y @liangjs/mathjs-calculator-mcpnpx -y @liangjs/mathjs-calculator-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about mathjs-calculator
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
4 checks have not been run yet.
README
Mathjs Calculator MCP
A simple MCP (Model Context Protocol) server that evaluates math expressions, using mathjs as the calculator backend.
What it does
- Exposes an MCP tool named
calculator - Accepts a single input:
expression(string) - Returns a formatted text result
Quick Start with npx
You can run this MCP server directly without installation using npx:
npx @liangjs/mathjs-calculator-mcp
This is useful for quickly testing or using the calculator MCP in your MCP client configuration.
Install
yarn install
Run
yarn run start
The server runs over stdio, so it's meant to be launched by an MCP-capable client/host.
Configuration
To use this MCP server in your MCP client (e.g., Claude Desktop), add it to your configuration file:
{
"mcpServers": {
"calculator": {
"command": "npx",
"args": ["@liangjs/mathjs-calculator-mcp"]
}
}
}
Examples
Try expressions like:
1 + 2 * 3sqrt(2)sin(pi / 4)2 cm + 3 mm
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.