daedalus/mcp-numpy
An MCP server that exposes NumPy functionality
Platform-specific configuration:
{
"mcpServers": {
"mcp-numpy": {
"command": "npx",
"args": [
"-y",
"mcp-numpy"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
> An MCP server that exposes NumPy functionality
[](https://pypi.org/project/mcp-numpy/) [](https://pypi.org/project/mcp-numpy/) [](https://codecov.io/gh/daedalus/mcp-numpy) [](https://github.com/astral-sh/ruff)
pip install mcp-numpyTo use with Claude Desktop or other MCP clients, add to your mcp.json:
{
"mcpServers": {
"mcp-numpy": {
"command": "mcp-numpy"
}
}
}The server exposes the following NumPy functionality as MCP tools:
np_array - Create a NumPy arraynp_zeros - Create zeros arraynp_ones - Create ones arraynp_full - Create array filled with valuenp_arange - Create array with rangenp_linspace - Create evenly spaced arraynp_eye - Create identity matrixnp_diag - Create diagonal arraynp_reshape - Reshape arraynp_transpose - Transpose arraynp_concatenate - Concatenate arraysnp_split - Split arraynp_tile - Tile arraynp_repeat - Repeat elementsnp_squeeze - Remove single-dimensional entriesnp_flatten - Flatten arraynp_sum, np_mean, np_std, np_var - Summary statisticsnp_min, np_max, np_argmin, np_argmax - Min/max operationsnp_dot, np_matmul, np_cross - Matrix operationsnp_trace, np_cumsum, np_cumprod, np_diff - Array operationsnp_inv - Matrix inversenp_det - Matrix determinantnp_eig - Eigenvalues and eigenvectorsnp_svd - Singular value decompositionnp_solve - Solve linear systemLoading reviews...