Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Exact symbolic math for LLMs: integrals, equations, matrices, and claim verification via Giac/Xcas
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"axiom-math": {
"command": "npx",
"args": [
"-y",
"axiom-math"
]
}
}
}ターミナルでこれを実行します
claude mcp add axiom-math -- npx -y axiom-mathプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"axiom-math": {
"command": "npx",
"args": [
"-y",
"axiom-math"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"axiom-math": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"axiom-math"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント tufantunc で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(1.0.5)がレジストリに届いたのは3 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Exact symbolic and numerical mathematics for LLMs — a real computer algebra system (Giac/Xcas) behind the Model Context Protocol, and behind a shell command. Published as `axiom-math`.
As a CLI, straight away:
npx -y axiom-math compute 'integrate(sin(x)^3,x)' # -cos(x)+cos(x)^3/3
npx -y axiom-math verify 'diff(x^3,x) = 3*x^2' # exit 0 — it holds
As an MCP server, in any client's config:
{ "command": "npx", "args": ["-y", "axiom-math"] }
As an agent skill — drop in skills/axiom-math/SKILL.md, which teaches an agent the three commands and their exit codes.
LLMs often make calculation errors, especially with symbolic math, exact fractions, and multi-step problems. Axiom provides verified, exact results through two layers:
| Dataset | Baseline | +MCP | Delta |
|---|---|---|---|
| GSM8K (100) | 96.0% | 98.0% | +2.0% |
| MATH L3 (50) | 70.0% | 80.0% | +10.0% |
| MATH L4 (50) | 50.0% | 62.0% | +12.0% |
| MATH L5 (50) | 38.0% | 52.0% | +14.0% |
| CAS-quick (60) | 55.0% | 70.0% | +15.0% |
| Omni-MATH ≥7 (50) | 0.0% | 0–4% | (ceiling) |
Key insights:
Full results: benchmark/results/ and docs/superpowers/specs/ (per-phase analysis)
Axiom exposes 3 MCP tools. Almost everything flows through compute, a single gateway that parses a CAS-style problem string and routes it to the right internal engine — so callers learn one tool, not dozens.
| Tool | Purpose |
|---|---|
compute | Solve any math problem. Pass a CAS-style string (solve(...), diff(...), det([[...]]), C(10,3), 2+3*sin(pi/4)) or any Giac/Xcas expression. |
verify | Independently check a mathematical claim (identity, solution, or computation) via symbolic and/or numeric methods. |
plot | Render a 2D function graph as an SVG image. |
compute coverscompute recognizes CAS-style verbs and dispatches across these domains. Anything it doesn't recognize falls through to raw Giac/Xcas evaluation.
| Domain | Verbs / examples |
|---|---|
| Arithmetic & units | 2+3*sin(pi/4), 100 km/h to m/s |
| Equation solving | solve(x^2-4=0, x), csolve(...) (complex), solve_system([x+y=5, x-y=1], [x,y]) |
| Calculus | diff, int, limit, taylor, desolve (ODEs of any order, and linear constant-coefficient systems) |
| Multivariable calculus | gradient, hessian, jacobian, divergence, curl, partial, iint/iiint (multiple integrals), critical_points, lagrange, tangent_plane, directional_derivative |
| Algebra | factor, simplify, expand, partfrac |
| Linear algebra | det, inv, eigenvals, eigenvects, rref, rank, tran, ker, qr, lu, cholesky, svd, norm, cond |
| Number theory | ifactor, isprime, euler, analyze |
| Combinatorics | C(n,k), P(n,k), stirling, bell, catalan, derangements, multinomial |
| Probability | binomial, normal, poisson, geometric, hypergeometric, chi_square, student_t, f_distribution, beta, exponential |
| Hypothesis testing | t_test (one/two/paired), anova, chi_square_test |
| Numerical methods | newton, bisection, secant, romberg, simpson |
| 2D geometry | distance, midpoint, slope, area_*, perimeter, circumference, line_intersection, point_line_distance, angle_between_lines |
| 3D geometry | distance3d, midpoint3d, dot, cross, vector_norm, angle_vectors, plane_from_points, point_plane_distance, line_plane_intersection, plane_plane_angle, line_line_distance, volume_tetrahedron, volume_sphere, volume_parallelepiped |
| Transforms & series | laplace, ilaplace, fourier/fft/ifft, sum, product |
| Exact values | to_exact, to_decimal, simplify_fraction |
| Regression & sequences | linear_regression/fit, polynomial_regression, sequence (pattern identification) |
The package is axiom-math on npm. Nothing to install for normal use — npx fetches and caches it:
npx -y axiom-math compute '2+2'
Or install it so the axiom-math command is on your PATH:
npm install -g axiom-math
Node.js >= 20 required. The first run downloads about 3.8 MB (the CAS engine compiled to WebAssembly) and takes a few seconds; later runs come from the npx cache.
For contributors, or to run a modified build:
git clone https://github.com/tufantunc/axiom-advanced-math-mcp.git
cd axiom-advanced-math-mcp npm install npm run build
# Build and run
docker-compose -f docker/docker-compose.yml up -d
docker-compose -f docker/docker-compose.yml logs -f
docker-compose -f docker/docker-compose.yml down
# Run with stdio transport (default)
npm start
npm run dev
Claude Desktop integration:
// ~/Library/Application Support/Claude/claude_desktop_config.json
{ "mcpServers": [ { "name": "axiom-math", "command": "npx", "args": ["-y", "axiom-math"] } ] }
Running from a local checkout instead of npm — point args at the built entry point:
"args": ["/path/to/axiom-advanced-math-mcp/dist/cli.js"]
The same binary works as a one-shot CLI, so agents can use it as a skill with no MCP configuration. With no arguments it is the MCP server; with a subcommand it runs one computation and exits.
npx -y axiom-math compute 'integrate(sin(x)^3,x)'
npx -y axiom-math compute -q 'solve(x^2-4=0,x)' # {-2, 2} npx -y axiom-math verify 'sin(x)^2+cos(x)^2 = 1' # exit 0 if true npx -y axiom-math plot 'sin(x)' -o wave.svg echo 'diff(x^3,x)' | npx -y axiom-math compute -q # 3*x^2
| Flag | Meaning |
|---|---|
-q | print one value only, for scripting |
--json | structured output |
--latex | LaTeX-focused text (compute only) |
-h, --help | usage, or usage for a subcommand |
Exit codes: 0 success · 1 tool or usage error · 2 verify checked the claim and it is false.
2 is a mathematical verdict, so a claim that never got checked does not use it: one that fails to parse, that the CAS cannot evaluate, or that has a superscript with more than one reading, exits 1 with nothing on stdout. axiom-math verify '...' && ... therefore never reads a syntax error as a disproof.
A ready-to-use agent skill is in skills/axiom-math/SKILL.md.
# Start HTTP server (default: http://127.0.0.1:3000)
npm run start:http
npm run dev:http
The HTTP transport is stateless: every POST /mcp is handled independently, no Mcp-Session-Id is issued, and no session state is kept between requests. This server sends no server-initiated notifications, so nothing is lost — and it scales horizontally with no shared state.
| Method | Path | Behaviour |
|---|---|---|
| POST | /mcp | Handles a JSON-RPC message |
| GET | /mcp | 405 — no SSE stream is offered |
| DELETE | /mcp | 405 — there are no sessions to terminate |
| GET | /health | 200 when ready, 503 when the CAS engine is not |
Security: there is no authentication and no rate limiting. The default
bind address is
127.0.0.1, butdocker/docker-compose.ymlsets
MCP_HOST=0.0.0.0. If you expose the port, put it behind a reverse proxy that
authenticates and rate-limits —
docker/reverse-proxy/
is a working, tested one (nginx + basic auth + per-client concurrency cap,
with the app publishing no port of its own).
SECURITY.md documents the full posture — what is protected,
what is not, and how to report a vulnerability.
POST /mcpalso validates theHostheader against an
冒頭だけを表示しています。続きはリポジトリで読めます