Math calculation MCP server, providing matrix calculation, statistical analysis, calculus, linear algebra, etc.
Project description
Math MCP Server
这是一个数学计算MCP(Model Context Protocol)服务器,提供了一些数学计算工具集和绘图工具
功能特性
- 矩阵计算: 基本运算、矩阵分解、特征值、SVD等
- 统计分析: 描述性统计、假设检验、分布分析等
- 微积分: 导数、积分、极限、泰勒级数等
- 优化算法: 函数优化、线性规划、约束优化等
- 回归分析: 线性回归、多项式回归、正则化回归等
- 数据可视化: 统计图表、函数绘图等
使用uvx运行
uvx math-mcp
项目结构
math_mcp/
├── __init__.py # 包初始化文件
├── __main__.py # CLI入口点
├── math_server.py # 主服务器文件(MCP工具注册)
├── matrix_calculator.py # 矩阵计算模块
├── statistics_calculator.py # 统计分析模块
├── calculus_calculator.py # 微积分计算模块
├── optimization_calculator.py # 优化算法模块
├── regression_calculator.py # 回归分析模块
└── plotting_calculator.py # 统计绘图模块
在Claude Desktop中配置
将以下配置添加到Claude Desktop配置文件中:
{
"mcpServers": {
"math-calculator": {
"command": "uvx",
"args": ["math-mcp"],
"env": {
"OUTPUT_PATH": "path/to/plot_output",
"FONT_PATH": "path/to/plot_font"
}
}
}
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
math_mcp-1.1.0.tar.gz
(34.7 kB
view details)
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
math_mcp-1.1.0-py3-none-any.whl
(41.1 kB
view details)
File details
Details for the file math_mcp-1.1.0.tar.gz.
File metadata
- Download URL: math_mcp-1.1.0.tar.gz
- Upload date:
- Size: 34.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
693ec4948d48e7f71b90827aef92945cb908b3f55d07a4886aa6e4b0ab14fac0
|
|
| MD5 |
57fc702248fa2b5e33393d9647c06344
|
|
| BLAKE2b-256 |
dcde4df51cdf7e60c8d68152b3db502559f00de62a2590159f2f381b675a45c8
|
File details
Details for the file math_mcp-1.1.0-py3-none-any.whl.
File metadata
- Download URL: math_mcp-1.1.0-py3-none-any.whl
- Upload date:
- Size: 41.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38a2a0bf1e005ae72964ccf68dd1d1335b58c70f7948e257a5c7de5a876df131
|
|
| MD5 |
661bf45a71bb876e753be508218fccf7
|
|
| BLAKE2b-256 |
163e3882ae3b189506ac33d3a9f2aeb0a3a8911826d12859205bbdaca25d50d4
|