Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

This MCP server enables users to perform scientific computations regarding linear algebra and vect…

README.md

![MseeP.ai Security Assessment Badge](https://mseep.ai/app/aman-amith-shastry-scientific-computation-mcp)

Scientific Computation MCP

![smithery badge](https://smithery.ai/server/@Aman-Amith-Shastry/scientific_computation_mcp)

![Verified on MseeP](https://mseep.ai/app/5927ad38-70f6-4f5b-9778-e61ec902d735)

![MCP Badge](https://lobehub.com/mcp/aman-amith-shastry-scientific_computation_mcp)

Installation Guide

Claude Desktop

Open Claude Desktop's configuration file (claude_desktop_config.json) and add the following:

  • Mac/Linux:
{
  "mcpServers": {
    "numpy_mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli@latest",
        "run",
        "@Aman-Amith-Shastry/scientific_computation_mcp",
        "--key",
        "<YOUR_SMITHERY_API_KEY>"
      ]
    }
  }
}
  • Windows:
{
  "mcpServers": {
    "numpy_mcp": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "-y",
        "@smithery/cli@latest",
        "run",
        "@Aman-Amith-Shastry/scientific_computation_mcp",
        "--key",
        "<YOUR_SMITHERY_API_KEY>"
      ]
    }
  }
}

Or alternatively, run the following command: ``commandline npx -y @smithery/cli@latest install @Aman-Amith-Shastry/scientific_computation_mcp --client claude --key <YOUR_SMITHERY_API_KEY> ``

Restart Claude to load the server properly

Cursor

If you prefer to access the server through Cursor instead, then run the following command: ``commandline npx -y @smithery/cli@latest install @Aman-Amith-Shastry/scientific_computation_mcp --client cursor --key <YOUR_SMITHERY_API_KEY> ``

Components of the Server

Tools

Tensor storage

  • ``create_tensor``: Creates a new tensor based on a given name, shape, and values, and adds it to the tensor store. For the purposes of this server, tensors are vectors and matrices.
  • ``view_tensor``: Display the contents of a tensor from the store .
  • ``delete_tensor``: Deletes a tensor based on its name in the tensor store.

Linear Algebra

  • ``add_matrices``: Adds two matrices with the provided names, if compatible.
  • ``subtract_matrices``: Subtracts two matrices with the provided names, if compatible.
  • ``multiply_matrices``: Multiplies two matrices with the provided names, if compatible.
  • ``scale_matrix``: Scales a matrix of the provided name by a certain factor, in-place by default.
  • ``matrix_inverse``: Computes the inverse of the matrix with the provided name.
  • ``transpose``: Computes the transpose of the inverse of the matrix of the provided name.
  • ``determinant``: Computes the determinant of the matrix of the provided name.
  • ``rank``: Computes the rank (number of pivots) of the matrix of the provided name.
  • ``compute_eigen``: Calculates the eigenvectors and eigenvalues of the matrix of the provided name.
  • ``qr_decompose``: Computes the QR factorization of the matrix of the provided name. The columns of Q are an orthonormal basis for the image of the matrix, and R is upper triangular.
  • ``svd_decompose``: Computes the Singular Value Decomposition of the matrix of the provided name.
  • ``find_orthonormal_basis``: Finds an orthonormal basis for the matrix of the provided name. The vectors returned are all pair-wise orthogonal and are of unit length.
  • ``change_basis``: Computes the matrix of the provided name in the new basis.

Vector Calculus

  • ``vector_project``: Projects a vector in the tensor store to the specified vector in the same vector space
  • ``vector_dot_product``: Computes the dot product of two vectors in the tensor stores based on their provided names.
  • ``vector_cross_product``: Computes the cross product of two vectors in the tensor stores based on their provided names.
  • ``gradient`: Computes the gradient of a multivariable function based on the input function. Example call: `gradient("x^2 + 2xyz + zy^3")`. Do NOT include the function name (like f(x, y, z) = ...).
  • ``curl`: Computes the curl of a vector field based on the input vector field. The input string must be formatted as a python list. Example call: `curl("[3xy, 2z^4, 2y]"")``.
  • ``divergence`Computes the divergence of a vector field based on the input vector field. The input string must be formatted as a python list. Example call: `divergence("[3xy, 2z^4, 2y]"")``.
  • ``laplacian`Computes the laplacian of a scalar function (as the divergence of the gradient) or a vector field (where a component-wise laplacian is computed). If a scalar function is the input, it must be input in the same format as in the `gradient` tool. If the input is a vector field, it must be input in the same manner as the `curl/divergence`` tools.
  • ``directional_deriv`: Computes the directional derivative of a function in a given direction `u` By default, the tool normalizes `u` before computing the directional derivative, as specified by the `unit`` parameter.

Visualization

  • ``plot_vector_field``: Plots a vector field (specified in the same format as in the curl/divergence functions). Currently, only 3d vector fields are supported. A 2d png perspective image of the vector field is returned. By default, the bounds of the graph are from -1 to 1 on each axis.
  • ``plot_function`: Plots a function in 2d or 3d (based on the input variables), specified in the same format as in the `gradient`` tool. Only the variables x and y can be used.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Developer Tools servers.