npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@iflow-mcp/nbiish-mcp-calc-tools

v1.0.2

Published

Genkit MCP Server Implementation

Downloads

270

Readme

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_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.