The MCP Calc Tools server provides advanced mathematical and financial calculation capabilities through a standardized interface:
Symbolic Calculus: Calculate derivatives, integrals, limits, and solve equations
Numerical Methods: Compute Riemann sums, Darboux sums, areas under curves, and volumes of revolution
Mathematical Transforms: Perform Laplace, Fourier, and Z-transforms
Financial Tools: Calculate compound interest, present value, NPV, Black-Scholes option prices, and option Greeks
Utility Functions: Evaluate logarithms with any base and exponential functions
Provides the runtime environment for the MCP server, required as version 14 or higher to run the mathematical and financial calculation tools.
Used for package management and script execution to install dependencies and start the MCP server.
Alternative package manager that can be used to install dependencies and manage the MCP Calc Tools project.
MCP Calc Tools
Advanced calculus, linear algebra, probability, and finance tools for AI agents, exposed via the Model Context Protocol (MCP).
Features
Calculus: Symbolic derivatives/integrals, numerical Riemann sums, limits, volumes of revolution.
Linear Algebra: Matrix multiplication, inversion, determinants, eigenvalues.
Finance: Black-Scholes pricing, Option Greeks, Sharpe Ratio, Value at Risk (VaR), Cashflow schedules.
Probability: Normal, Binomial, and Poisson distributions.
Engineering: Numerical Laplace and Fourier transforms.
Optimization: Newton-method root finding.
Meta-Tools:
describe_available_toolsfor agent discovery.
Related MCP server: Calculator MCP Server
Installation
For AI Agents (Claude Code, Cursor, Cline, Roo Code)
Add the following to your MCP configuration:
Usage Examples for Agents
Calculus
"Calculate the derivative of x^2 + sin(x)"
"Find the area under x^3 from 0 to 2 using 1000 trapezoids"
Finance
"Price a European call option with S=100, K=105, T=0.5, r=0.03, sigma=0.2"
"Generate a monthly cashflow schedule for a $10,000 loan at 5% interest for 1 year"
Linear Algebra
"Find the eigenvalues of the matrix [[1, 2], [3, 4]]"
Security & Reliability
Safe Evaluation: Uses
mathjsfor expression parsing, avoiding dangerouseval().Input Validation: All parameters are strictly validated via Zod.
Safety Caps: Numerical methods have hard caps on iterations and subintervals to prevent DoS.
CVE Fixes: Dependencies updated to address known vulnerabilities (e.g.,
qs).
Development
Citation
License
Copyright © 2025 ᓂᐲᔥ ᐙᐸᓂᒥᑮ-ᑭᓇᐙᐸᑭᓯ (Nbiish Waabanimikii-Kinawaabakizi), also known legally as JUSTIN PAUL KENWABIKISE, professionally documented as Nbiish-Justin Paul Kenwabikise, Anishinaabek Dodem (Anishinaabe Clan): Animikii (Thunder), a descendant of Chief ᑭᓇᐙᐸᑭᓯ (Kinwaabakizi) of the Beaver Island Band, and an enrolled member of the sovereign Grand Traverse Band of Ottawa and Chippewa Indians. This work embodies Traditional Knowledge and Traditional Cultural Expressions. All rights reserved.