NumPy MCP Server
@colesmcintosh
关于 NumPy MCP Server
A Model Context Protocol (MCP) server for numerical computations with NumPy
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"numpy-mcp": {
"command": "uv",
"args": [
"venv"
]
}
}
}工具
未检测到工具
工具是从 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
FAQ from NumPy MCP Server
What mathematical functions does it provide?
It offers addition, matrix multiplication, eigendecomposition, statistical analysis (mean, median, std, min, max), and polynomial fitting.
What are the dependencies?
The server requires NumPy for numerical computations and FastMCP for the MCP server implementation.
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".
Is this project open source?
Yes, it is licensed under the MIT License.
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 服务器
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Awesome Mlops
visengerA curated list of references for MLOps
Nginx UI
0xJackyYet another WebUI for Nginx
评论