Skip to content
MCP server

Matrix MCP

Multiply, invert and find the determinant of matrices with exact rational arithmetic…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.1
Listing updated
4 days ago

About Matrix MCP

Matrix MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Multiply, invert and find the determinant of matrices with exact rational arithmetic - fully local.

Install

Run in a terminal

claude mcp add matrix-mcp -- npx -y @mrfentmen/matrix-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "matrix-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/matrix-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "matrix-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/matrix-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "matrix-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/matrix-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "matrix-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/matrix-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "matrix-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/matrix-mcp"
      ]
    }
  }
}

Pricing

Open source

Matrix MCP FAQ

Is Matrix MCP free?

Yes. Matrix MCP is open source, so you can use and self-host it for free.

How do I add Matrix MCP to Claude Code?

Run this command in your terminal: claude mcp add matrix-mcp -- npx -y @mrfentmen/matrix-mcp