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.7.tar.gz (35.8 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.7-py3-none-any.whl (42.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for math_mcp-1.1.7.tar.gz
Algorithm Hash digest
SHA256 37ee5d755996dad8da7b5178abbb6076da13220343d965a5ee9634dfa37126aa
MD5 cc2349e014b2b9f197399c20a0912a5a
BLAKE2b-256 605c7bf194b73d9806f92189cf28983a552c4b3c31e4f1ad839eb409a2a3ed91

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for math_mcp-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2839dafa204b15fa6119c0af14d4f1c9d17210aec0b9b867a38d48a7a43d282b
MD5 d90c67fd4d4ba8d5f5cb3821d7adaeb7
BLAKE2b-256 7ca8c0b058bf52063e9f96c76b4fd69a99cac2f7f3b35aaa8f7abc7235fcd806

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