MCP.so
登录

NumPy MCP Server

@colesmcintosh

基本信息

分类

其他

传输方式

stdio

作者

colesmcintosh

关于 NumPy MCP Server

A Model Context Protocol (MCP) server for numerical computations with NumPy

NumPy MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "numpy-mcp": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

NumPy MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is NumPy MCP Server?

NumPy MCP Server is a Model Context Protocol (MCP) server that exposes mathematical calculations and operations using NumPy. It provides basic arithmetic, linear algebra, statistical analysis, and polynomial fitting through a standardized MCP interface for use with Claude or other MCP-compatible LLMs.

How to use NumPy MCP Server?

Install the server in Claude Desktop with mcp install server.py --name "NumPy Calculator", or clone the repository and set up manually using UV. Once installed, ask Claude to perform operations like "Calculate the eigenvalues of matrix [[1, 2], [3, 4]]" or "Find the mean and standard deviation of [1, 2, 3, 4, 5]". For development testing, use mcp dev server.py.

Key features of NumPy MCP Server

  • Basic arithmetic: addition of two integers
  • Linear algebra: matrix multiplication and eigendecomposition
  • Statistical analysis: mean, median, standard deviation, min, max
  • Polynomial fitting of specified degree to data points
  • Exposes functions through a standardized MCP interface

Use cases of NumPy MCP Server

  • Compute eigenvalues and eigenvectors of a square matrix
  • Calculate mean and standard deviation for a dataset
  • Multiply two matrices and get the result
  • Fit a polynomial curve to given x, y data points
  • Add two integers via an LLM conversation

常见问题

1

What mathematical functions does it provide?

It offers addition, matrix multiplication, eigendecomposition, statistical analysis (mean, median, std, min, max), and polynomial fitting.

2

What are the dependencies?

The server requires NumPy for numerical computations and FastMCP for the MCP server implementation.

3

How do I install NumPy MCP Server in Claude Desktop?

Run `mcp install server.py --name "NumPy Calculator"` in your terminal. The server will then appear in Claude Desktop under "NumPy Calculator".

4

Is this project open source?

Yes, it is licensed under the MIT License.

5

What kind of data does the server accept?

It accepts numerical data: integers for addition, lists of floats for statistics, and nested lists for matrix operations.

评论

其他 分类下的更多 MCP 服务器