Math MCP Server — symbolic computation, calculus, linear algebra, number theory, statistics, and unit conversion via MCP
Project description
Symath-MCP
English
Symath MCP Server — symbolic computation, calculus, linear algebra, number theory, statistics, and unit conversion via the Model Context Protocol.
Quick Start
stdio (Claude Desktop / Claude Code)
pip install symath-mcp
Add to your MCP client configuration:
{
"mcpServers": {
"math": {
"command": "symath-mcp"
}
}
}
Streamable HTTP (server mode)
pip install symath-mcp
symath-mcp --transport streamable-http
Or with Docker:
docker compose up -d
The server listens on http://127.0.0.1:5109/mcp by default.
Tools
| Tool | Description |
|---|---|
math_eval |
Evaluate mathematical expressions with arbitrary precision |
math_solve |
Solve equations and systems (algebraic, differential) |
math_calculus |
Integration, differentiation, limits, series |
math_matrix |
Eigenvalues, SVD, LU/QR decomposition, linear solve |
math_manipulate |
Simplify, expand, factor, partial fractions |
math_number_theory |
Prime factorization, GCD/LCM, Fibonacci, CRT |
math_statistics |
Descriptive stats, regression, probability distributions |
math_convert |
Unit conversion and physical constants |
Environment Variables
| Variable | Default | Description |
|---|---|---|
HOST |
127.0.0.1 |
Bind address (streamable-http mode) |
PORT |
5109 |
Listen port (streamable-http mode) |
License
MIT
中文
Symath MCP 服务器 — 通过 Model Context Protocol 提供符号计算、微积分、线性代数、数论、统计和单位换算。
快速开始
stdio 模式(Claude Desktop / Claude Code)
pip install symath-mcp
在 MCP 客户端配置中添加:
{
"mcpServers": {
"math": {
"command": "symath-mcp"
}
}
}
Streamable HTTP 模式(服务器)
pip install symath-mcp
symath-mcp --transport streamable-http
或使用 Docker:
docker compose up -d
默认监听 http://127.0.0.1:5109/mcp。
工具列表
| 工具 | 说明 |
|---|---|
math_eval |
计算数学表达式,支持任意精度 |
math_solve |
求解方程/方程组(代数、微分) |
math_calculus |
积分、求导、极限、级数展开 |
math_matrix |
特征值、SVD、LU/QR 分解、线性方程组 |
math_manipulate |
化简、展开、因式分解、部分分式 |
math_number_theory |
质因数分解、GCD/LCM、斐波那契、中国剩余定理 |
math_statistics |
描述性统计、回归、概率分布 |
math_convert |
单位换算与物理常数查询 |
环境变量
| 变量 | 默认值 | 说明 |
|---|---|---|
HOST |
127.0.0.1 |
绑定地址(streamable-http 模式) |
PORT |
5109 |
监听端口(streamable-http 模式) |
许可证
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file symath_mcp-0.1.0.tar.gz.
File metadata
- Download URL: symath_mcp-0.1.0.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c924b29cd714b610e1d628093539638821ad77e5128b4e73bf92c33de86a1c84
|
|
| MD5 |
0bb7254d17d3bc0471c83b46dcb24f7c
|
|
| BLAKE2b-256 |
35695cba27290b64ac513cee838571ff0fc949e3ae28eb1888e1fcdb972e7535
|
Provenance
The following attestation bundles were made for symath_mcp-0.1.0.tar.gz:
Publisher:
cd.yml on 3aKHP/math-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
symath_mcp-0.1.0.tar.gz -
Subject digest:
c924b29cd714b610e1d628093539638821ad77e5128b4e73bf92c33de86a1c84 - Sigstore transparency entry: 1595370246
- Sigstore integration time:
-
Permalink:
3aKHP/math-mcp@ddc141ea717b58bafc2829c6c43fbf3673bbdc7d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/3aKHP
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@ddc141ea717b58bafc2829c6c43fbf3673bbdc7d -
Trigger Event:
push
-
Statement type:
File details
Details for the file symath_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: symath_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efb9813260f24c6a491a39853c77aa7dab0f1a70524c8959fc6aac2e1ec114c0
|
|
| MD5 |
89167c2df5d6ba88f4c0b88ef9b43f37
|
|
| BLAKE2b-256 |
4df7dcbaaf9f0313873cbae3f55267fd4ef76ca5afb9c525946b0a2017286854
|
Provenance
The following attestation bundles were made for symath_mcp-0.1.0-py3-none-any.whl:
Publisher:
cd.yml on 3aKHP/math-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
symath_mcp-0.1.0-py3-none-any.whl -
Subject digest:
efb9813260f24c6a491a39853c77aa7dab0f1a70524c8959fc6aac2e1ec114c0 - Sigstore transparency entry: 1595370384
- Sigstore integration time:
-
Permalink:
3aKHP/math-mcp@ddc141ea717b58bafc2829c6c43fbf3673bbdc7d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/3aKHP
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@ddc141ea717b58bafc2829c6c43fbf3673bbdc7d -
Trigger Event:
push
-
Statement type: