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
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Servers
modelcontextprotocolModel Context Protocol Servers
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Awesome Mlops
visengerA curated list of references for MLOps
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
コメント