Jacobian
Lets your AI agent find and run exact mathematical operations such as linear algebra, graphs, SAT and SMT solving.
355 stars on GitHubby morlutoLicense MITUpdated 21 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add jacobian -- npx -y jacobian mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Compute the determinant of this exact rational matrix.
Find the gcd of 84 and 30 with Bezout coefficients.
What it is
Jacobian gives AI agents a searchable set of small, typed math operations. The agent finds an operation that matches its need, then runs it and gets an exact, typed result. Results state clearly when something is approximate or incomplete.
What it can do
math.find: match a math need or inspect one operation's contractmath.run: run an operation and return its result- Polynomial algebra
- Exact linear algebra
- Graphs, paths and colorings
- Bounded SAT and SMT solving
- Finite algebra, probability, geometry and topology
When to use
- βΊWhen you want your agent to compute exact results instead of guessing.
- βΊWhen you need an independent check of a math step.
- βΊWhen you want to chain small math operations into a larger solution.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
sympyHelps your agent perform exact symbolic mathematics. It's useful for algebra, calculus, and solving equations, generating precise results.sympyLets your agent perform exact mathematical calculations using symbols. It doesn't use approximate numbers, ensuring precision. Useful for complex math problems.math-olympiadSolves olympiad math problems such as IMO and Putnam questions, then checks the proof with a separate verifier before answering.Frequently asked questions
Is it free?
Yes. It is MIT licensed.
How do I set it up?
Run npx jacobian@latest setup, choose your agents and review the changes before they are written.
What systems are tested?
The tested contract is CPython 3.12 or 3.13 on glibc Linux x86-64. Other systems may work but are not tested.
Does it need Docker?
No. Ordinary operations do not. Singular and QEPCAD are optional system programs for a few operations.
Can I use it without an agent?
Yes. There is also a command-line tool and a Python API.
Is it stable?
The readme calls version 0.23.0 pre-stable; experimental operation contracts may change between releases.
If it does not work
- βΊCheck that Node.js is 20.17 or newer and that uvx is on your PATH.
- βΊPreview changes first with npx jacobian@latest setup --codex --dry-run.
- βΊAlpine or musl Linux cannot install the full Python stack from PyPI.
5 new skills a week. 1 minute to read.