MatrixCalculator.net

io.github.gamestarryPublished by GitHub account gamestarryv0.1.0Updated Oct 24, 2026

Exact matrix calculations with step-by-step results for six core matrix operations.

The publisher's own server: Calculator Tools MCP

VerifiedStreamable HTTPWeb executableData & Analytics

Overview

AI-generated overview

Remote MCP server that performs six exact matrix operations and returns step-by-step calculations an assistant can show or expand.

What you can do
  • Add and subtract matrices of equal dimensions, with one calculation per entry
  • Multiply compatible matrices using row-by-column dot products
  • Compute determinants of square matrices with elimination steps and singularity checks
  • Compute inverses via Gauss-Jordan elimination with identity verification
  • Transpose rectangular or square matrices with source-to-result position mappings
  • Preserve exact integers, decimals and fraction strings such as 1/2 instead of rounding to decimals
When to use it
Useful when an assistant needs reliable, exact linear algebra answers rather than approximations, and when the user wants to see the working: entry-level sums, elimination steps, or an inverse verified against the identity.
Requirements
A remote Streamable HTTP endpoint; no API key is required for the current public V1 endpoint. Local development of the server itself needs Node.js, npm and Cloudflare Wrangler.
Before you install
Matrices are sent to a third-party hosted service at matrixcalculator.net. The endpoint is public and unauthenticated, so there is no per-user access control or rate guarantee stated. The README notes the project is maintained separately from the main website and its billing system.

Installation

In SourceWeft

  1. Open MatrixCalculator.net in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.gamestarry%2Fmatrixcalculator-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "matrixcalculator-net": {
      "type": "http",
      "url": "https://mcp.matrixcalculator.net/mcp"
    }
  }
}

README

MatrixCalculator.net MCP

A remote Model Context Protocol (MCP) server for exact, step-by-step matrix calculations powered by MatrixCalculator.net.

Remote MCP endpoint

text
https://mcp.matrixcalculator.net/mcp

Official MCP Registry name

text
io.github.gamestarry/matrixcalculator-mcp

Current version: 0.1.0

What it does

MatrixCalculator.net MCP gives MCP-compatible AI clients access to six core matrix operations. Results preserve exact fractions and include structured calculation steps that an AI client can present as a short answer or expand into a detailed solution.

ToolDescription
matrix_addAdd two matrices with identical dimensions, with one step per entry.
matrix_subtractSubtract the second matrix from the first, with one step per entry.
matrix_multiplyMultiply compatible matrices using row-by-column steps.
matrix_determinantCalculate a determinant with row swaps, elimination steps, diagonal entries, and singularity information.
matrix_inverseCalculate an inverse with Gauss-Jordan row operations, singularity detection, and verification.
matrix_transposeTranspose a matrix and return the source position for every result entry.

Exact values

Inputs may be integers, decimals, or fraction strings:

text
20.5-31/2-7/4

Calculations use exact fraction arithmetic where possible. For example:

text
1/2 + 1/3 = 5/6

rather than converting the result to an approximate decimal.

Example requests

An MCP-compatible AI client can use the server for requests such as:

text
Add [[1/2, 2], [3, 4]] and [[1/3, 5], [-1, 6]] and show the steps.
text
Multiply [[1, 2], [3, 4]] by [[5, 6], [7, 8]].
text
Find the determinant of [[0, 1/2, 1], [2, 1, 3], [1, 4, 5]] step by step.
text
Find the inverse of [[0, 2, 1], [1, 1, 0], [2, 3, 4]] and verify the result.

The MCP server returns structured result data and detailed steps. The connected AI client decides how much of that detail to display to the user.

Tool inputs

matrix_add

json
{  "matrixA": [["1/2", "2"], ["3", "4"]],  "matrixB": [["1/3", "5"], ["-1", "6"]]}

matrix_subtract

json
{  "matrixA": [["5/6", "7"], ["2", "10"]],  "matrixB": [["1/3", "2"], ["-1", "4"]]}

matrix_multiply

json
{  "matrixA": [["1/2", "2"], ["3", "4"]],  "matrixB": [["3", "1"], ["4", "2"]]}

matrix_determinant

json
{  "matrix": [["0", "1/2", "1"], ["2", "1", "3"], ["1", "4", "5"]]}

matrix_inverse

json
{  "matrix": [["0", "2", "1"], ["1", "1", "0"], ["2", "3", "4"]]}

matrix_transpose

json
{  "matrix": [["1/2", "2", "3"], ["4", "-1", "5"]]}

Connect

Use the following Streamable HTTP endpoint in any MCP client that supports remote MCP servers:

text
https://mcp.matrixcalculator.net/mcp

No API key is required for the current public V1 endpoint.

Health check

text
https://mcp.matrixcalculator.net/health

Local development

Requirements:

  • Node.js
  • npm
  • Cloudflare Wrangler

Clone and install:

bash
git clone https://github.com/gamestarry/matrixcalculator-mcp.gitcd matrixcalculator-mcpnpm install

Run type checking:

bash
npm run typecheck

Start the local Worker:

bash
npm run dev

The local MCP endpoint is normally:

text
http://127.0.0.1:8787/mcp

Deployment

The production server runs on Cloudflare Workers.

bash
npm run deploy

Production MCP endpoint:

text
https://mcp.matrixcalculator.net/mcp

MCP Registry

This server is published in the official MCP Registry as:

text
io.github.gamestarry/matrixcalculator-mcp

Registry metadata is stored in server.json.

Project structure

text
src/├─ index.ts├─ lib/│  └─ matrix-values.ts└─ tools/   ├─ matrix-add.ts   ├─ matrix-subtract.ts   ├─ matrix-multiply.ts   ├─ matrix-determinant.ts   ├─ matrix-inverse.ts   └─ matrix-transpose.ts

About MatrixCalculator.net

MatrixCalculator.net provides matrix calculators, learning tools, and step-by-step matrix operations on the web.

This MCP project is maintained separately from the main website so MCP development and deployment do not affect the production calculator or its billing system.

Source: README.md at commit c4f641b

Tools

6

matrix_add

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.

ParametersmatrixArequiredmatrixBrequired

matrix_subtract

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.

ParametersmatrixArequiredmatrixBrequired

matrix_multiply

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.

ParametersmatrixArequiredmatrixBrequired

matrix_determinant

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.

Parametersmatrixrequired

matrix_inverse

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.

Parametersmatrixrequired

matrix_transpose

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.

Parametersmatrixrequired

Version history

1
  1. v0.1.0LatestOct 15, 2026

Score

90% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.

Other Calculator integrations