Numpy MCP server
An MCP server that exposes NumPy functionality
0 stars14 downloads/wk
Reviews
Write oneNobody has reviewed Numpy yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Numpy tools (72, 8 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
np_absCalculate the absolute value of array elements.
np_addElement-wise addition of two arrays.
np_arangewrite actionCreate an array with evenly spaced values within a given interval.
np_arccosInverse cosine, element-wise.
np_arcsinInverse sine, element-wise.
np_arctanInverse tangent, element-wise.
np_argmaxReturn the indices of the maximum values along an axis.
np_argminReturn the indices of the minimum values along an axis.
np_arraywrite actionCreate a NumPy array from a list.
np_concatenateJoin a sequence of arrays along an existing axis.
np_corrcoefReturn Pearson product-moment correlation coefficients.
np_correlateCross-correlation of two 1-dimensional sequences.
np_cosTrigonometric cosine, element-wise.
np_coshHyperbolic cosine, element-wise.
np_crossCompute the cross product of two arrays.
np_cumprodReturn the cumulative product of the array along a given axis.
np_cumsumReturn the cumulative sum of the array along a given axis.
np_detCompute the determinant of an array.
np_diagwrite actionCreate a diagonal array or extract the diagonal of an array.
np_diffCalculate the n-th discrete difference along the given axis.
np_divideElement-wise division of two arrays.
np_dotCompute the dot product of two arrays.
np_dtypeReturn the dtype of an array.
np_eigCompute the eigenvalues and eigenvectors of a square array.
np_expCalculate the exponential of all elements in the array.
np_eyeReturn a 2D identity array.
np_flattenReturn a flattened copy of the array.
np_fullwrite actionCreate an array filled with a constant value.
np_histogramCompute the histogram of a set of data.
np_invCompute the (multiplicative) inverse of a matrix.
np_linalg_normMatrix or vector norm.
np_linspacewrite actionCreate an array with evenly spaced numbers over a specified interval.
np_logNatural logarithm, element-wise.
np_log10Base-10 logarithm, element-wise.
np_matmulMatrix product of two arrays.
np_maxReturn the maximum of an array or maximum along an axis.
np_meanCompute the arithmetic mean along the specified axis.
np_minReturn the minimum of an array or minimum along an axis.
np_modElement-wise modulo of two arrays.
np_multiplyElement-wise multiplication of two arrays.
np_ndimReturn the number of dimensions of an array.
np_oneswrite actionCreate an array of ones.
np_percentileCompute the q-th percentile of the array elements.
np_powerElement-wise exponentiation of array elements.
np_quantileCompute the q-th quantile of the array elements.
np_randRandom values in a given shape.
np_randintReturn random integers from low (inclusive) to high (exclusive).
np_randnReturn a sample (or samples) from the "standard normal" distribution.
np_random_choiceGenerates a random sample from a given array.
np_repeatRepeat elements of an array.
np_reshapeGive a new shape to an array without changing its data.
np_shapeReturn the shape of an array.
np_shuffleModify a sequence in-place by shuffling its contents.
np_sinTrigonometric sine, element-wise.
np_sinhHyperbolic sine, element-wise.
np_sizeReturn the total number of elements in an array.
np_solveSolve a linear matrix equation, or system of linear equations.
np_splitSplit an array into multiple sub-arrays.
np_sqrtReturn the non-negative square root of an array element-wise.
np_squeezewrite actionRemove single-dimensional entries from the shape of an array.
np_stdCompute the standard deviation along the specified axis.
np_subtractElement-wise subtraction of two arrays.
np_sumSum of array elements over given axis(es).
np_svdSingular Value Decomposition.
np_tanTrigonometric tangent, element-wise.
np_tanhHyperbolic tangent, element-wise.
np_tileConstruct an array by repeating the input array the given number of times.
np_traceReturn the sum along the main diagonal of the array.
np_transposeReverse or permute the axes of an array.
np_varCompute the variance along the specified axis.
np_zeroswrite actionCreate an array of zeros.
npastypeCopy of the array, cast to a specified type.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 159 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Numpy compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 63% of 48,273 servers
- Tools
- 72
- the typical server has 7
- Tools that change things
- 11%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 14
- more than 4% of 11,915 servers with a package
What its tools let an agent do: 64 read · 8 change
Install Numpy in Claude Code, Cursor or VS Code
claude mcp add mcp-numpy -- uvx mcp-numpy
What the publisher says
From the Numpy repository's README, as published. We do not edit it. Read it on GitHub
mcp-numpy
An MCP server that exposes NumPy functionality
Install
pip install mcp-numpyUsage
As an MCP Server
To use with Claude Desktop or other MCP clients, add to your mcp.json:
{
"mcpServers": {
"mcp-numpy": {
"command": "mcp-numpy"
}
}
}Available Tools
The server exposes the following NumPy functionality as MCP tools:
Array Creation
- np_array - Create a NumPy array
- np_zeros - Create zeros array
- np_ones - Create ones array
- np_full - Create array filled with value
- np_arange - Create array with range
- np_linspace - Create evenly spaced array
- np_eye - Create identity matrix
- np_diag - Create diagonal array
Array Manipulation
- np_reshape - Reshape array
- np_transpose - Transpose array
- np_concatenate - Concatenate arrays
- np_split - Split array
- np_tile - Tile array
- np_repeat - Repeat elements
- np_squeeze - Remove single-dimensional entries
- np_flatten - Flatten array
Mathematical Operations
- npsum, npmean, npstd, npvar - Summary statistics
- npmin, npmax, npargmin, npargmax - Min/max operations
- npdot, npmatmul, np_cross - Matrix operations
- nptrace, npcumsum, npcumprod, npdiff - Array operations
Linear Algebra
- np_inv - Matrix inverse
- np_det - Matrix determinant
- np_eig - Eigenvalues and eigenvectors
- np_svd - Singular value decomposition
- np_solve - Solve linear system
- nplinalgnorm - Matrix/vector norm
Random
- np_rand - Random floats
- np_randn - Random normal
- np_randint - Random integers
- nprandomchoice - Random choice
- np_shuffle - Shuffle array
Statistics
- nppercentile, npquantile - Percentiles/quantiles
- np_histogram - Histogram
- npcorrelate, npcorrcoef - Correlation
Element-wise Math
- npadd, npsubtract, npmultiply, npdivide - Arithmetic
- nppower, npmod - Power and modulo
- npsqrt, npabs - Basic math
- npexp, nplog, np_log10 - Logarithms
- npsin, npcos, np_tan - Trigonometry
- nparcsin, nparccos, np_arctan - Inverse trig
- npsinh, npcosh, np_tanh - Hyperbolic
Array Properties
- npshape, npndim, npsize, npdtype - Properties
- npastype - Type conversion
Development
git clone https://github.com/daedalus/mcp-numpy.git
cd mcp-numpy
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/mcp-name: io.github.daedalus/mcp-numpy
Nothing above is checked by us. What we check is on the safety report.
Numpy: common questions
- Is Numpy MCP server safe?
- Mostly: it is graded B (82/100). Read the Numpy safety report
- How do I install Numpy?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Numpy need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Numpy maintained?
- The last commit was 195 days ago (2026-04-21). The latest release is v0.1.0.
- How does Numpy compare with other MCP servers?
- safety score 82/100 (higher than 63% of 48,273 servers); tools 72 (the typical server has 7); tools that change things 11% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.