jacobian
English · 简体中文
Jacobian — это MCP-сервер, предоставляющий ИИ-агентам доступный для поиска словарь типизированных математических операций. math.find находит операцию, а math.run выполняет ровно один ограниченный математический контракт и возвращает его типизированный результат. Та же математическая библиотека доступна и через CLI, и через нативный Python API.
Каждая операция устанавливает одно стабильное, переиспользуемое математическое постусловие, а не предписывает рабочий процесс или стратегию доказательства. Результаты точны там, где заявлено, и явно указывают на приближение, неполноту или неопределённость.
Гипотеза Jacobian заключается в том, что математические рассуждения выигрывают от исполняемого словаря семантически ограниченных операций. Вместо того чтобы предоставлять крупные доменные решатели или заранее составленные рабочие процессы, Jacobian предоставляет математические примитивы, которые агенты могут искать и компоновать в решения, выходящие за рамки того, для чего была предназначена каждая отдельная операция. Библиотека поставляет надёжные математические ходы; модель рассуждений решает, какие ходы делать, как комбинировать их результаты и когда остановиться. Сохранение операций семантически узкими и принадлежащими домену сохраняет это пространство поиска, а не встраивает одну стратегию доказательства или рабочий процесс в сами инструменты.
См. Исполняемый математический словарь о том, что означает семантическая атомарность и как растёт словарь операций.
Быстрый старт
Запустите каноническую команду Python MCP без глобальной установки Jacobian:
uvx --from jacobian jacobian-mcpЕсли MCP-хост требует команду npm, пакет npm является детерминированным носителем той же команды:
npx jacobian mcpДля постоянной установки:
python -m pip install jacobian
jacobian-mcpЭтот пакет включает в себя точно тот же поддерживаемый стек Python-бэкенда Jacobian: SymPy, NetworkX, Z3 и Python-FLINT. Обычная установка Python или npm, таким образом, предоставляет тот же встроенный портфель операций на Python. Проверенный контракт бинарной установки — CPython 3.12 или 3.13 на glibc Linux x86-64; шлюз релиза устанавливает собранный wheel и запускает Jacobian на обеих версиях Python. В других системах могут быть совместимые вышестоящие wheel-пакеты, но они пока не входят в проверенный контракт релиза. В частности, Alpine/musl не может установить полный обязательный стек из PyPI.
Дистрибутив Python содержит математическое ядро, CLI и MCP-сервер. Пакет npm детерминированно сопоставляет точную версию пакета с соответствующим вызовом uvx.
Related MCP server: math-logic-mcp
Вычислить один ограниченный результат
Обычная операция в первую очередь возвращает математику. Например, matrix.determinant.compute принимает одну точную рациональную матрицу и напрямую возвращает её определитель. Вызывающие компонуют результаты, передавая свои типизированные значения последующей операции.
Доступная математика
Встроенный портфель охватывает работу в следующих областях:
отображения многочленов и алгебра многочленов;
точная линейная алгебра;
графы, пути, раскраски и изоморфизм;
ограниченное решение SAT и SMT;
конечная алгебра, теория вероятностей, геометрия и топология; и
обработка исходного кода Lean.
Операции SAT и SMT напрямую используют поддерживаемую привязку Z3 для Python. Дополнительная операция lean.check выполняет один ограниченный фрагмент исходного кода в фиксированной среде службы Lean, используя временный каталог с областью действия запроса и возвращая типизированную диагностику. Используйте math.find для поиска операции, изучения незнакомой области и проверки операции перед однократным вызовом math.run.
См. библиотеку доменных операций для поддерживаемого портфеля операций и требования к бэкенду.
Статус
Jacobian 0.12.0 находится на предварительной стадии. Опубликованные пакеты и контракты операций описывают поддерживаемую поверхность; экспериментальные контракты операций могут меняться между выпусками.
Документация
Документация: учебные пособия, практические руководства, справочник и пояснения
Архитектура: структура выполнения и границы доверия
Модель продукта: контракты операций, владение и границы проекта
Справочник по инструментам: ресурсы MCP и контракты вызова
Требования к бэкенду: поддерживаемые Python-бэкенды и опциональный Lean
Удалённое развёртывание: HTTP-развёртывание и аутентификация
Участие
Jacobian использует Python 3.12, uv и небольшой Makefile:
make setup
make test-math
make checkПрочтите CONTRIBUTING.md перед изменением кода. В нём описаны целевые тестовые команды, правила проверки, размещение документации и ожидания от запросов на включение.
Лицензия
Available Tools
2 toolsmath.findSearch installed Jacobian math toolsARead-onlyIdempotent
Find or inspect public Jacobian MCP operations.
Forms:
query: describe one local mathematical need in ordinary language.namespace,limit,cursor, andsearch_modeare optional search controls. Preserve established mathematical names from the task, the supplied objects and constraints, the requested computation or decision, the full scalar, batch, or exhaustive scope, and whether the requested result is a value, witness, certificate, obstruction, profile, or complete enumeration. Do not replace a supplied named property only with its expanded definition, translate the need into catalog tags, or submit the surrounding proof goal.operation_id: pass one exact operation ID to receive its authoritative input and output schemas, operator-authored examples, and current optional backend availability. Matches expose staticruntime_requirements; inspection checks these runtimes in the server environment.
For matching, use namespace only when the primary operation-ID namespace is already
known with high confidence. Matching returns 10 candidates by default; request up to
20 when a wider first page is useful. Follow next_cursor with the same query, namespace, and search_mode
to continue; the limit may change. Ordered matches are deterministic retrieval candidates, not
applicability claims; inspect a promising operation before math.run. Read
operation://catalog only when the complete bulk catalog is genuinely needed.
An unknown operation ID returns kind: "error" with error.code: "UNKNOWN_OPERATION";
inspect kind even when MCP isError is false. Search with query to find an
installed operation, then inspect its exact ID. Zero matches is a successful search.
Examples:
{"query":"exact determinant of a rational matrix","namespace":"matrix","limit":3}{"operation_id":"polynomial.compute.gcd"}
Inputs: limit, query, cursor, namespace, +2 more. Returns: Closed discriminated output returned directly through MCP SDK 2.0.
math.runRun one installed Jacobian math toolARead-only
Run one installed math tool by ID with its typed payload. A successful call returns
the operation-owned canonical mathematical value in output; a later inspected
operation may accept that complete value unchanged. Read its fields to determine what
the calculation established. MCP reports malformed payloads, unknown IDs, and host
failures as tool errors, not as mathematical results. If the payload shape is unknown,
inspect the exact operation with math.find. When it publishes an examples item, copy
and adapt that item's input object as the payload; otherwise, form the payload from
the input schema and its field descriptions. Do not call math.run with an empty
payload merely to discover required fields; inspection is authoritative.
Timeout, incomplete search, and missing witnesses appear only in the concrete domain result that owns them; none is a mathematical conclusion by itself.
Examples:
{"operation_id":"integer.compute.extended_gcd","payload":{"left":"84","right":"30"}}
Inputs: payload (required), operation_id (required). Returns: The final transport envelope around one direct mathematical result.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
math.find is clearly for discovery and inspection of operations, while math.run is clearly for executing a chosen operation. Their purposes do not overlap and the descriptions consistently direct users to inspect before running.
Both tools follow the same math.<verb> pattern with lowercase snake_case verbs. The naming is predictable and consistent across the set.
Two tools are sufficient for a dispatcher-style math catalog: one to find/inspect operations and one to run them. It is slightly below the typical 3-15 range, but the minimal surface is justified by the server's purpose.
The set covers the core lifecycle: search, inspect schemas/examples, and execute an operation by ID. Minor gaps exist for batch execution, composition, or direct catalog listing, but these are workable through repeated calls.
Maintenance
Related MCP Connectors
Educational MCP server with 17 math/stats tools, visualizations, and persistent workspace
Math MCP server for primality, factorization, Java templates, and integer multiplication.
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
Deterministic physics runtime with a proof on every answer: 61 models, open and keyless over MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for step-by-step mathematical reasoning and planning, enabling AI agents to execute calculations and perform GUI actions like opening PowerPoint.1Apache 2.0
- AlicenseAqualityDmaintenanceMCP server that gives small LLMs verified symbolic-math & logic tools.62Apache 2.0
- AlicenseBqualityBmaintenanceMCP server for symbolic computation that enables AI agents to perform step-by-step derivations, transform formulas, and verify results with full provenance, combining natural language with formal mathematical operations.4113Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn MCP server for semantic search over 9.27 million mathematical statements from sources like arXiv and Stacks Project, offering 5 tools for filtered search, citation weighting, and dependency graph traversal.MIT