MCP Server Studio

Matrix Compute MCP MCP server

P2P GPU matrix multiply, exact cosine search, and PCA/SVD verified via Freivalds' algorithm.

Registry name: com.matrix-compute/matrix-compute-mcp

Publisher
matrix-compute.com
Runs
Local or hosted
Package
PyPI
Version
0.1.4
Category
Search & knowledge
Updated
2026-11-15

Source code on GitHub

Set up Matrix Compute MCP (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "matrix-compute-mcp": {
      "command": "uvx",
      "args": [
        "matrix-compute-mcp==0.1.4"
      ],
      "env": {
        "MATRIX_NOSTR_RELAYS": "<MATRIX_NOSTR_RELAYS>",
        "MATRIX_SETTLEMENT_API_URL": "<MATRIX_SETTLEMENT_API_URL>",
        "MATRIX_NWC_URI": "<MATRIX_NWC_URI>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add matrix-compute-mcp -e MATRIX_NOSTR_RELAYS='<MATRIX_NOSTR_RELAYS>' -e MATRIX_SETTLEMENT_API_URL='<MATRIX_SETTLEMENT_API_URL>' -e MATRIX_NWC_URI='<MATRIX_NWC_URI>' -- uvx matrix-compute-mcp==0.1.4

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "matrix-compute-mcp": {
      "command": "uvx",
      "args": [
        "matrix-compute-mcp==0.1.4"
      ],
      "env": {
        "MATRIX_NOSTR_RELAYS": "<MATRIX_NOSTR_RELAYS>",
        "MATRIX_SETTLEMENT_API_URL": "<MATRIX_SETTLEMENT_API_URL>",
        "MATRIX_NWC_URI": "<MATRIX_NWC_URI>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "matrix-compute-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "matrix-compute-mcp==0.1.4"
      ],
      "env": {
        "MATRIX_NOSTR_RELAYS": "<MATRIX_NOSTR_RELAYS>",
        "MATRIX_SETTLEMENT_API_URL": "<MATRIX_SETTLEMENT_API_URL>",
        "MATRIX_NWC_URI": "<MATRIX_NWC_URI>"
      }
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "matrix-compute-mcp": {
      "command": "uvx",
      "args": [
        "matrix-compute-mcp==0.1.4"
      ],
      "env": {
        "MATRIX_NOSTR_RELAYS": "<MATRIX_NOSTR_RELAYS>",
        "MATRIX_SETTLEMENT_API_URL": "<MATRIX_SETTLEMENT_API_URL>",
        "MATRIX_NWC_URI": "<MATRIX_NWC_URI>"
      }
    }
  }
}

Set up Matrix Compute MCP (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "matrix-compute-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.matrix-compute.net/mcp"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add --transport http matrix-compute-mcp https://mcp.matrix-compute.net/mcp

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "matrix-compute-mcp": {
      "url": "https://mcp.matrix-compute.net/mcp"
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "matrix-compute-mcp": {
      "type": "http",
      "url": "https://mcp.matrix-compute.net/mcp"
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "matrix-compute-mcp": {
      "serverUrl": "https://mcp.matrix-compute.net/mcp"
    }
  }
}

Settings

NameRequiredWhat it is
MATRIX_NOSTR_RELAYSNoNostr discovery relay WebSocket URL (default: wss://relay.matrix-compute.net)
MATRIX_SETTLEMENT_API_URLNoLightning L402 settlement service URL (default: https://settlement.matrix-compute.net)
MATRIX_NWC_URINoOptional Nostr Wallet Connect (nostr+walletconnect://) URI for mainnet jobs

More search & knowledge MCP servers