Skip to main content

Math calculation MCP server, providing basic arithmetic, mathematical functions, matrix calculation, statistical analysis, calculus, optimization, regression analysis and data visualization.

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.6.tar.gz (35.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

math_mcp-1.1.6-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

Details for the file math_mcp-1.1.6.tar.gz.

File metadata

  • Download URL: math_mcp-1.1.6.tar.gz
  • Upload date:
  • Size: 35.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.3

File hashes

Hashes for math_mcp-1.1.6.tar.gz
Algorithm Hash digest
SHA256 407a3e1a7a0a53de4536c10dacf742efc2f7cba1a0b47b9a3a70dfb9a0837111
MD5 a88c314deb0aac62ca5dce97cfbd88f0
BLAKE2b-256 544301db1728bde41dc1b8f059e19a97ffaa5c160184093441b8c26a81220e2f

See more details on using hashes here.

File details

Details for the file math_mcp-1.1.6-py3-none-any.whl.

File metadata

  • Download URL: math_mcp-1.1.6-py3-none-any.whl
  • Upload date:
  • Size: 41.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.3

File hashes

Hashes for math_mcp-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f9c09a226c36ef523c38a101d147e049c0f51c0477f2d5ea1d5af5609f46ba72
MD5 ee081673242214a02158d1b1cc128bb6
BLAKE2b-256 8a12860a70327b99bcfd818ba79048537a95fb70cc3d8116f5b5c593e28e0a14

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page