MatrixCalculator.net
Exact matrix calculations with step-by-step results for six core matrix operations.
Should I use this
Quality & Safety
Findings (1)
- LOWin matrix_subtract
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"matrixcalculator-mcp": {
"url": "https://mcp.matrixcalculator.net/mcp"
}
}
}Remote endpoints
https://mcp.matrixcalculator.net/mcpstreamable-httpWhat it can do
Tool inventory
Tools (6)
🟢matrix_add(matrixA, matrixB)
Add two matrices of the same dimensions entry by entry. Useful for exact matrix addition or explaining each entry step by step. Accepts integers, decimals, and fraction strings (for example 1/2); returns the exact sum matrix and a calculation for each position.
Input Schema
{
"type": "object",
"properties": {
"matrixA": {
"minItems": 1,
"type": "array",
"items": {
"minItems": 1,
"type": "array",
"items": {
"type": [
"string",
"number"
]
}
},
"description": "First matrix."
},
"matrixB": {
"minItems": 1,
"type": "array",
"items": {
"minItems": 1,
"type": "array",
"items": {
"type": [
"string",
"number"
]
}
},
"description": "Second matrix."
}
},
"required": [
"matrixA",
"matrixB"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢matrix_subtract(matrixA, matrixB)
Subtract matrix B from matrix A when both have the same dimensions. Useful for exact matrix subtraction, including negative values and step-by-step entry calculations. Accepts integers, decimals, and fraction strings; returns each exact difference and its calculation.
Input Schema
{
"type": "object",
"properties": {
"matrixA": {
"minItems": 1,
"type": "array",
"items": {
"minItems": 1,
"type": "array",
"items": {
"type": [
"string",
"number"
]
}
},
"description": "Matrix to subtract from."
},
"matrixB": {
"minItems": 1,
"type": "array",
"items": {
"minItems": 1,
"type": "array",
"items": {
"type": [
"string",
"number"
]
}
},
"description": "Matrix to subtract."
}
},
"required": [
"matrixA",
"matrixB"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢matrix_multiply(matrixA, matrixB)
Multiply A by B when A's column count equals B's row count, including non-square matrices. Useful for exact matrix multiplication and step-by-step row-by-column dot products. Returns exact results plus each factor pair, product, and entry calculation; accepts fractions and decimals.
Input Schema
{
"type": "object",
"properties": {
"matrixA": {
"minItems": 1,
"type": "array",
"items": {
"minItems": 1,
"type": "array",
"items": {
"type": [
"string",
"number"
]
}
},
"description": "Left matrix A."
},
"matrixB": {
"minItems": 1,
"type": "array",
"items": {
"minItems": 1,
"type": "array",
"items": {
"type": [
"string",
"number"
]
}
},
"description": "Right matrix B."
}
},
"required": [
"matrixA",
"matrixB"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢matrix_determinant(matrix)
Find the exact determinant of a square matrix using fraction-preserving elimination. Use for determinant questions requiring row swaps, elimination steps, pivot multipliers, sign changes, diagonal products, or singularity checks. Returns the determinant and detailed operation steps.
Input Schema
{
"type": "object",
"properties": {
"matrix": {
"minItems": 1,
"type": "array",
"items": {
"minItems": 1,
"type": "array",
"items": {
"type": [
"string",
"number"
]
}
},
"description": "Square matrix."
}
},
"required": [
"matrix"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢matrix_inverse(matrix)
Find an exact inverse of a square matrix with step-by-step Gauss-Jordan elimination. Use for inverse questions needing exact fractions, augmented matrices, row swaps, normalization, elimination, and verification that A times A-inverse is identity. Returns the inverse and verification, or null with singular=true if not invertible.
Input Schema
{
"type": "object",
"properties": {
"matrix": {
"minItems": 1,
"type": "array",
"items": {
"minItems": 1,
"type": "array",
"items": {
"type": [
"string",
"number"
]
}
},
"description": "Square matrix."
}
},
"required": [
"matrix"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢matrix_transpose(matrix)
Transpose a rectangular or square matrix by exchanging rows and columns. Useful for requests to show where each result entry originated. Preserves exact integer, decimal, and fraction inputs and returns the transposed matrix with source-to-result position mappings.
Input Schema
{
"type": "object",
"properties": {
"matrix": {
"minItems": 1,
"type": "array",
"items": {
"minItems": 1,
"type": "array",
"items": {
"type": [
"string",
"number"
]
}
},
"description": "Matrix to transpose."
}
},
"required": [
"matrix"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Evidence