# Sublinear Time Solver MCP Server

> An MCP solver for sparse systems and graph ranking

- **URL**: https://followmcp.com/en/servers/sublinear-time-solver
- **Category**: Dev Tools
- **Origin**: Community
- **Stars**: 102
- **FMRS Score**: 63/100 (Grade C)
- **Source**: https://github.com/ruvnet/sublinear-time-solver
- **Transports**: stdio (local process)
- **Runtimes**: Node.js
- **Auth**: No credential needed

## Overview
Sublinear Time Solver is an MCP server for sparse linear systems, single-entry estimates, and graph ranking. It is also available through a CLI, JavaScript API, and Rust crate. It offers iterative solvers, random-walk estimates, and local PageRank push; full-vector solves and full PageRank still scale linearly with the number of nonzeros per iteration. The README also lists experimental research tools whose outputs are simulations, not validated scientific measurements.

## Best for
- Scientific computing and graph workflows using sparse, diagonally dominant matrices.
- Tasks that need an estimate of one solution entry or a local PageRank result.
- Developers who want to call solver tools through an MCP client.

## Not for
- Workloads that require every algorithm to run in sublinear time; full-vector solves and full PageRank scale linearly with nonzeros per iteration.
- Treating experimental research tool outputs as validated scientific measurements.
- Use cases requiring authentication, access controls, or HTTP MCP transports not described in the README.

## Required permissions
- The server communicates with the client over standard input and output; the README specifies no additional operating-system permissions.
- saveVectorToFile can write to a state directory and restricts filenames to basenames.

## Risks
- Some iterative methods require specific matrix properties: Jacobi, Neumann, and Gauss-Seidel need diagonal dominance; conjugate gradient needs a symmetric positive definite matrix.
- Local algorithm cost and results depend on neighborhood size and requested accuracy; local push may have larger errors for small scores.
- Experimental research tools produce simulations, not validated scientific measurements.
- The README marks solveTrueSublinear as deprecated. Neumann solves and some push methods in 1.7.x could return incorrect results or report convergence inaccurately.

## Client config (JSON)
```json
{"mcpServers":{"sublinear-solver":{"command":"npx","args":["-y","sublinear-time-solver","serve"]}}}
```

## Tools (14)
- `solve`: Solve a sparse linear system with verified iterative solvers.
- `estimateEntry`: Estimate one solution entry using random walks and return a standard error.
- `analyzeMatrix`: Analyze a matrix.
- `pageRank`: Compute PageRank scores for graph nodes.
- `verifySparseSolution`: Verify a sparse-system solution.
- `coherenceScore`: Compute a coherence score.
- `closureIndices`: Compute closure indices.
- `solveOnChangeSublinear`: Solve over a change-related closure, supporting local updates.
- `contrastiveSolveOnChangeSublinear`: Compare solve results before and after a change.
- `estimateComplexityClass`: Estimate a complexity class.
- `generateTestVector`: Generate a test vector.
- `saveVectorToFile`: Save a vector in a state directory; the filename is restricted to a basename.
- `solveTrueSublinear`: Deprecated; since 1.10.0 it uses the same sparse solver as solve while retaining its old output shape.
- `analyzeTrueSublinearMatrix`: Deprecated matrix analysis tool.
