MatrixCalculator.net
Exact matrix calculations with step-by-step results for six core matrix operations.
我该使用它吗
质量与安全性
发现(1)
- LOW在 matrix_subtract 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"matrixcalculator-mcp": {
"url": "https://mcp.matrixcalculator.net/mcp"
}
}
}远程端点
https://mcp.matrixcalculator.net/mcpstreamable-http它能做什么
工具清单
工具(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.
输入模式
{
"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.
输入模式
{
"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.
输入模式
{
"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.
输入模式
{
"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.
输入模式
{
"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.
输入模式
{
"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"
}社区
证据