Sublinear Time Solver
MCP server by ruvnet Verified · npm:sublinear-time-solver
Solves sparse linear systems and computes PageRank through an MCP server, CLI and JavaScript or Rust libraries. Suited to developers working with large systems or graphs where each variable depends on only a few others.
Install Sublinear Time Solver
Built from the published package, never by AI.
claude mcp add sublinear-time-solver -- npx -y sublinear-time-solverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"sublinear-time-solver": {
"args": [
"-y",
"sublinear-time-solver"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Sublinear Time Solver in Claude Desktop
{
"mcpServers": {
"sublinear-time-solver": {
"args": [
"-y",
"sublinear-time-solver"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"sublinear-time-solver": {
"args": [
"-y",
"sublinear-time-solver"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add sublinear-time-solver -- npx -y sublinear-time-solver{
"mcpServers": {
"sublinear-time-solver": {
"args": [
"-y",
"sublinear-time-solver"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Sublinear Time Solver in Antigravity CLI
gemini mcp add sublinear-time-solver npx -y sublinear-time-solverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the sublinear-time-solver block.
About
Sublinear Time Solver is an MCP server, command line tool and library for sparse linear solvers, PageRank, personalized PageRank and local push methods. The MCP server exposes solve, estimateEntry and pageRank tools. The dependency-free core ships separately as @ruvnet/sublinear-core for JavaScript, and a Rust crate is also available.
A sparse matrix stores only the relationships that exist, so a local solve can answer a question by visiting a small neighborhood instead of the whole system. The solver supports Neumann, Jacobi, Gauss-Seidel and conjugate gradient methods. It is aimed at developers who work with large systems of equations or graphs where each variable depends on only a few others.
Written from the project's README and checked against it.
Tools it gives your assistant
solveSolves a sparse system of equations from a COO matrix and vector.estimateEntryEstimates one entry of the solution, for a single value rather than the full vector.pageRankRanks the nodes of a graph by importance.
What you need
- Node.js and npm
- An MCP client that supports stdio servers
Try asking
- Solve this sparse matrix system with the sublinear solver and report the result.
- Estimate one entry of the solution for this matrix using estimateEntry.
- Run pageRank on this graph of edges and list the top-ranked nodes.
Good to know
- Full-vector solves cost time linear in the number of nonzero entries per iteration, so they are not sublinear.
- Jacobi, Neumann and Gauss-Seidel need diagonal dominance, and conjugate gradient needs a symmetric positive definite matrix.
- Forward push keeps the top-ranked nodes accurate, but small scores can be inaccurate.
- The benchmark machine was shared, so the reported timings are indicative only.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Sublinear Time Solver
All alternatives →World Monitor is a real-time global intelligence dashboard covering conflict, markets, energy, trade, shipping and cyber. Its MCP server gives AI assistants access to that data, and it is aimed at analysts, agents and scripts.
Lets AI agents create and change Power BI semantic models through a local MCP server. Built for developers who want natural language modeling in Power BI Desktop, Fabric workspaces and PBIP files.
Seal Open Data serves French public datasets from data.gouv.fr to AI assistants. It covers topics such as territories, companies, housing and population. It is aimed at users who want to query French open data from clients like Claude.
OpenMetadata MCP server lets MCP-compatible assistants search metadata, inspect lineage, and manage data quality tests. It is for data teams and AI agents that need governed context about enterprise data.
Compiles, validates and renders semantic chart specs for AI assistants through the Model Context Protocol. It is for agents that need reliable, good-looking and interactive charts across several chart libraries.
Query PostHog analytics, manage feature flags and experiments, and investigate errors from your AI assistant. It suits product teams and developers who already use PostHog for analytics, replays, and error tracking.
Compare with World Monitor, Power BI Authoring MCP Server (Local) or Seal Open Data
Sublinear Time Solver: common questions
What does estimateEntry return?
It estimates one entry of x by random walks and returns a standard error. After a one-time check per matrix, its cost does not depend on the size of the system.
Which method does solve use by default?
The default 'auto' method uses conjugate gradient for symmetric matrices with a positive diagonal and Gauss-Seidel otherwise.
Does the MCP server print logs to stdout?
No. All diagnostics go to stderr, so stdout carries only JSON-RPC messages.
How do I install Sublinear Time Solver?
In Claude Code run claude mcp add sublinear-time-solver -- npx -y sublinear-time-solver. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Sublinear Time Solver the official server?
Sublinear Time Solver is published by npm:sublinear-time-solver from its verified domain in the official MCP Registry.
Is Sublinear Time Solver free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Sublinear Time Solver safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Sublinear Time Solver?
Similar MCP servers: World Monitor, Power BI Authoring MCP Server (Local), Seal Open Data, OpenMetadata.
Does Sublinear Time Solver work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
