← Back to directory
S

Sublinear Time Solver MCP Server

Community
An MCP solver for sparse systems and graph ranking
Category
Dev Tools #34 of 751
Stars
★ 102 Popular
Transport
stdio (local process)
Runtime
Node.js
Credentials
No credential needed
License
MIT
Last commit
Tools
14
63FMRS · C

The README provides a stdio MCP configuration example, tool list, and input validation details. The server fits sparse solving and graph ranking workflows, but experimental tools are not scientifically validated; deprecated tools and algorithm assumptions and accuracy limits should be considered.

Strongest · Documentation 15/20 Weakest · Reliability 10/20

Reliability
10/20
Security and permissions
13/20
Maintenance
11/20
Documentation
15/20
Setup experience
14/20
Why each score
Reliability 10/20
The README names tools such as `solve`, `estimateEntry`, and `pageRank` and gives a reproducible input example. It also discloses prior algorithm errors and non-convergence behavior. However, the manifest is unavailable, so the actual tool schemas, initialization handshake, error paths, and dependency behavior cannot be checked. There is no reviewable CI or test evidence for key server paths, so the static calibration caps this score at 12.
Security and permissions 13/20
The README says matrix inputs are checked for valid indices, finite values, and resource limits, and that `saveVectorToFile` accepts only a basename confined to a state directory; it also says stdio logs go to stderr. Without the source or manifest, these boundaries, file-write details, dependency behavior, and network data flows cannot be verified. No red-line behavior is evidenced, so this is not scored as a red line, but the missing evidence limits the score.
Maintenance 11/20
The repository is listed as unarchived, uses an MIT license, and links to a changelog, upgrade notes, and security policy. Evidence is missing for release cadence, commit activity, issue response, maintainer accountability, and dependency updates. Stars and open issue counts do not add maintenance points.
Documentation 15/20
The README includes a quick start, MCP client configuration, tool list, algorithm suitability guidance, benchmark setup, and limitations; it says experimental tool outputs are not validated scientific measurements. Deductions reflect the missing manifest and parameter definitions, absent authentication and data-flow details, limited troubleshooting evidence, and the fact that key behavior is asserted in the README but cannot be checked against source.
Setup experience 14/20
The README states the Node.js/npm prerequisite and gives a short npx-based MCP configuration, including examples for Claude Code and Codex. Deductions reflect the unavailable manifest and source, which prevent verification of the entry point, runtime compatibility, and initialization flow, and the lack of CI and tests for key server paths. Static calibration caps setup at 15.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessWrites / deletes local files

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 and side effects

  • 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.

Setup

Before you start

Runtime:Node.js

Add the provided JSON configuration to an MCP client that supports stdio. It starts the server with npx -y sublinear-time-solver serve. The README gives configuration examples for Claude Code and Codex.

.mcp.json
{"mcpServers":{"sublinear-solver":{"command":"npx","args":["-y","sublinear-time-solver","serve"]}}}

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "sublinear-solver": {
      "command": "npx",
      "args": [
        "-y",
        "sublinear-time-solver",
        "serve"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.sublinear-solver]
command = "npx"
args = ["-y", "sublinear-time-solver", "serve"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add sublinear-solver -- npx -y sublinear-time-solver serve

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm `solve` and `pageRank` appear in your client's tool list, then call `solve` with the matrix and vector from the README quick start.

Troubleshooting

  1. Confirm the client launches npx -y sublinear-time-solver serve and uses stdio.
  2. Check that matrix indices are in-range integers, values are finite, and dimensions and dense allocations are within limits.
  3. If a solve does not converge, check that the matrix meets the selected method's requirements and inspect the true residual.
  4. Diagnostics go to stderr; set SUBLINEAR_DEBUG=1 for solver diagnostics.

Things to try

Once connected, you can ask your AI assistant things like:

  • Solve the linear system for the COO matrix [4,-1,-1,4] and vector [3,3].
  • Analyze this sparse matrix and estimate the first entry of its solution.
  • Compute PageRank for this graph and verify a sparse solution.

Tools 14

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

Use cases

Solve sparse linear systems and check residuals.
Estimate an individual solution entry.
Compute graph PageRank or perform local push from seed nodes.
Analyze matrices and inspect solver complexity.

Supported clients

Claude Code
Codex

Listed from the project's documentation, not tested by this site.

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.

Similar servers

Source revision b945e269ea1a Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/sublinear-time-solver.svg)](https://followmcp.com/en/servers/sublinear-time-solver)