Development · MODEL CONTEXT PROTOCOL

nbiish mcp calc tools

nbiish mcp calc tools is a community-listed Model Context Protocol server. Review the source repository before installation.

WHAT IT CONNECTS

What nbiish mcp calc tools gives an AI Agent

  • **Symbolic Calculus**
  • `derivative`: Calculate symbolic derivatives of expressions
  • `integral`: Compute symbolic integrals
  • `limit`: Evaluate limits as variables approach specified values
  • `solve`: Solve equations for specific variables
  • `riemann_sum`: Calculate definite integrals using Riemann sums with multiple methods (left, right, midpoint, trapezoid)
  • `darboux_sum`: Calculate upper and lower Darboux sums for integral approximation
  • `area`: Calculate the area under a curve between two points
  • `volume`: Calculate volume of revolution around x-axis
  • `laplace_transform`: Calculate Laplace transforms of functions
  • `fourier_transform`: Calculate Fourier transforms of functions
  • `z_transform`: Calculate Z-transforms of discrete-time functions
  • `compound_interest`: Calculate compound interest with customizable compounding periods
  • `present_value`: Calculate present value of future cash flows
  • `npv`: Calculate Net Present Value of cash flow series
  • `black_scholes`: Calculate option prices using the Black-Scholes model
  • `option_greeks`: Calculate option Greeks (delta, gamma, vega, theta, rho)
  • `logarithm`: Calculate logarithm with any base
  • `exponential`: Calculate exponential function (e^x)
  • Configure your AI assistant (Cline/Roo Code) to use the MCP server
  • Set the server URL to your running instance
  • The AI assistant will now have access to all the mathematical tools
  • Node.js v14 or higher
  • Required packages:
  • genkit (^1.0.5)
  • genkitx-mcp (^1.0.5)
  • mathjs (^12.0.0)
  • index.js: Main server implementation with all tool definitions
  • package.json: Project dependencies and script definitions

SECURITY

An MCP listing is not a security review

An MCP server may receive model context, credentials, local files, or permission to call external systems. Review its code, requested environment variables, network behavior, package provenance, and maintenance status before connecting it to an agent.

README

Repository documentation

MCP Calc Tools


Support This Project

Stripe
Scan to donate

Donate via Stripe

Buy me a coffee

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_tools for agent discovery.

Installation

For AI Agents (Claude Code, Cursor, Cline, Roo Code)

Add the following to your MCP configuration:

{
  "mcpServers": {
    "calc-tools": {
      "command": "node",
      "args": ["/path/to/mcp-calc-tools/index.js"],
      "env": {}
    }
  }
}

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 mathjs for expression parsing, avoiding dangerous eval().
  • 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

pnpm install
pnpm start

Citation

@misc{mcp-calc-tools<|2025|>,
  author/creator/steward = {ᓂᐲᔥ ᐙᐸᓂᒥᑮ-ᑭᓇᐙᐸᑭᓯ (Nbiish Waabanimikii-Kinawaabakizi), also known legally as JUSTIN PAUL KENWABIKISE, professionally documented as Nbiish-Justin Paul Kenwabikise, Anishinaabek Dodem (Anishinaabe Clan): Animikii (Thunder), descendant of Chief ᑭᓇᐙᐸᑭᓯ (Kinwaabakizi) of the Beaver Island Band and enrolled member of the sovereign Grand Traverse Band of Ottawa and Chippewa Indians},
  title/description = {mcp-calc-tools},
  type_of_work = {Indigenous digital creation/software incorporating traditional knowledge and cultural expressions},
  year = {2025},
  publisher/source/event = {GitHub repository under tribal sovereignty protections},
  howpublished = {\url{https://github.com/nbiish/mcp-calc-tools}},
  note = {Authored and stewarded by ᓂᐲᔥ ᐙᐸᓂᒥᑮ-ᑭᓇᐙᐸᑭᓯ (Nbiish Waabanimikii-Kinawaabakizi), also known legally as JUSTIN PAUL KENWABIKISE, professionally documented as Nbiish-Justin Paul Kenwabikise, Anishinaabek Dodem (Anishinaabe Clan): Animikii (Thunder), descendant of Chief ᑭᓇᐙᐸᑭᓯ (Kinwaabakizi) of the Beaver Island Band and enrolled member of the sovereign Grand Traverse Band of Ottawa and Chippewa Indians. This work embodies Indigenous intellectual property, traditional knowledge systems (TK), traditional cultural expressions (TCEs), and associated data protected under tribal law, federal Indian law, treaty rights, Indigenous Data Sovereignty principles, and international indigenous rights frameworks including UNDRIP. All usage, benefit-sharing, and data governance are governed by the COMPREHENSIVE RESTRICTED USE LICENSE FOR INDIGENOUS CREATIONS WITH TRIBAL SOVEREIGNTY, DATA SOVEREIGNTY, AND WEALTH RECLAMATION PROTECTIONS.}
}

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.

View README on GitHub

COMMUNITY

Save, rate, and discuss

Loading community data…