# Jacobian [Health: Active]

**Category:** 🧮 Data Science Tools  
**Repository:** https://github.com/morluto/jacobian  
**GitHub Stars:** 375  
**npm Downloads (last month):** 723  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/jacobian

## Description
Executable mathematics and independent verification for AI agents.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "jacobian": {
    "command": "npx",
    "args": ["-y","jacobian@latest"]
  }
}
```

## Documentation

## What the Jacobian MCP server does

The Jacobian MCP server gives AI agents access to narrowly scoped mathematical operations with typed inputs, outputs, and stated postconditions. An agent can search the operation vocabulary for a needed result, inspect the exact contract, and then execute the selected operation. The returned value is intended to be used as a typed input to another operation, allowing a reasoning model to compose calculations without requiring Jacobian to prescribe the overall proof or workflow.

The built-in portfolio includes polynomial maps and polynomial algebra, exact linear algebra, graph paths and colorings, graph isomorphism, bounded SAT and SMT solving, finite algebra, probability, geometry, and topology. Results are exact when the operation claims exactness; approximation, incompleteness, and uncertainty are represented explicitly where relevant.

## How it works

The MCP interface provides two primary mathematical tools:

- `math.find` searches for an operation by mathematical need or inspects one known operation's contract.
- `math.run` invokes an operation with its structured payload and returns the typed result.

A typical agent workflow is to call `math.find`, inspect a suitable contract, and then call `math.run` once the input shape and expected result are clear. For example, an integer extended-gcd operation can accept two values and return the greatest common divisor with Bézout coefficients. A later operation can consume those typed values.

The same mathematical library is available outside MCP through the command-line interface and a native Python API. The Python distribution includes the kernel, CLI, MCP server, and maintained backend stack based on SymPy, NetworkX, Z3, and Python-FLINT.

## Setup and configuration

The Jacobian MCP server can be launched without a global install using `uvx --python 3.12 --from jacobian jacobian-mcp`. Hosts that require an npm command can use `npx jacobian mcp`; the npm package maps its package version to the corresponding `uvx` invocation. A persistent installation is available with `python -m pip install jacobian`, followed by `jacobian-mcp`.

The setup helper is `npx jacobian@latest setup`. It detects supported agents, lets the user review changes, and writes registrations only after confirmation. It requires Node.js 20.17+, 22.13+, or 23.5+, plus `uvx` on `PATH`; it does not install Node.js, Python, `uv`, or an agent. Existing registrations can be refreshed with `npx jacobian@latest upgrade`.

The tested binary-install contract is CPython 3.12 or 3.13 on glibc Linux x86-64. Other systems may work if upstream wheels are available, but they are outside the tested release contract. Alpine/musl cannot install the complete mandatory stack from PyPI.

## Tools and capabilities

The server's mathematical operations are designed as reusable primitives rather than large domain-specific solvers. Z3-backed SAT and SMT operations use the maintained Python binding directly. The operation library also supports exact computations in several algebraic, combinatorial, geometric, and topological domains. The CLI provides corresponding inspection and execution flows for local terminal use.

## Limitations and notes

Jacobian is pre-stable, so experimental operation contracts may change between releases. Singular and QEPCAD are optional system runtimes needed by a small subset of operations; the Python installation does not provision them. Ordinary operations do not require Docker. Backend availability can be checked through the Python API or MCP inspection.

The Jacobian MCP server supplies mathematical moves, not a complete reasoning strategy. The calling model remains responsible for selecting operations, composing results, and deciding when its reasoning is complete. The project is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/jacobian/readme_

