
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
mathjs-mcp-server
Advanced tools
An MCP server for parsing and calculating mathematical expressions using mathjs
An MCP server implementation that provides mathematical calculation capabilities using the MathJS library.
Evaluates mathematical expressions and returns the result.
Inputs:
expression (string): The mathematical expression to evaluateCalculates the derivative of a mathematical expression with respect to a variable.
Inputs:
expression (string): The mathematical expression to differentiatevariable (string): The variable to differentiate with respect toThe MathJS Calculator tool is designed for:
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"mathjs-calculator": {
"command": "npx",
"args": [
"-y",
"mathjs-mcp-server"
]
}
}
}
To build the project:
npm install
npm run build
To test the server with the MCP Inspector:
npm run inspector
Connect to the server at http://localhost:5173 (default port)
Test the available tools:
// Calculate expression
{
"expression": "2 * (3 + 4)"
}
// Result: 14
// Calculate derivative
{
"expression": "x^2 + 2*x",
"variable": "x"
}
// Result: The derivative of x^2 + 2*x with respect to x is: 2*x + 2
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
FAQs
An MCP server for parsing and calculating mathematical expressions using mathjs
The npm package mathjs-mcp-server receives a total of 268 weekly downloads. As such, mathjs-mcp-server popularity was classified as not popular.
We found that mathjs-mcp-server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.