Math Learning

Math Learning

clouatre-labs

Educational server that provides mathematical calculations, statistical analysis, and data visualization with the ability to save work to a persistent workspace.

Educational server for mathematical operations, statistics, and data visualization with persistent workspace

3322 views2Remote

What it does

  • Calculate mathematical expressions with basic operations and functions
  • Perform statistical calculations (mean, median, mode, standard deviation)
  • Calculate compound interest for investments
  • Convert between different units of measurement
  • Save and load calculation results to persistent workspace
  • Generate plots for mathematical functions and statistical data

Best for

Students learning mathematics and statisticsEducators creating mathematical demonstrationsAnalysts performing quick statistical calculationsAnyone needing mathematical computations with data persistence
Persistent workspace survives restartsRemote cloud hosting available17 mathematical and visualization tools

About Math Learning

Math Learning is a community-built MCP server published by clouatre-labs that provides AI assistants with tools and capabilities via the Model Context Protocol. Math Learning: hands-on math server for calculations, statistics, and data visualization with a persistent workspace for It is categorized under analytics data, developer tools. This server exposes 17 tools that AI clients can invoke during conversations and coding sessions.

How to install

You can install Math Learning in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server supports remote connections over HTTP, so no local installation is required.

License

Math Learning is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Tools (17)

calculate

Safely evaluate mathematical expressions with support for basic operations and math functions. Supported operations: +, -, *, /, **, () Supported functions: sin, cos, tan, log, sqrt, abs, pow Examples: - "2 + 3 * 4" → 14 - "sqrt(16)" → 4.0 - "sin(3.14159/2)" → 1.0

statistics

Perform statistical calculations on a list of numbers. Available operations: mean, median, mode, std_dev, variance

compound_interest

Calculate compound interest for investments. Formula: A = P(1 + r/n)^(nt) Where: - P = principal amount - r = annual interest rate (as decimal) - n = number of times interest compounds per year - t = time in years

convert_units

Convert between different units of measurement. Supported unit types: - length: mm, cm, m, km, in, ft, yd, mi - weight: g, kg, oz, lb - temperature: c, f, k (Celsius, Fahrenheit, Kelvin)

save_calculation

Save calculation to persistent workspace (survives restarts). Args: name: Variable name to save under expression: The mathematical expression result: The calculated result Examples: save_calculation("portfolio_return", "10000 * 1.07^5", 14025.52) save_calculation("circle_area", "pi * 5^2", 78.54)

Math MCP Learning Server

PyPI version Python License: MIT Ruff

Educational MCP server with 17 tools, persistent workspace, and cloud hosting. Built with FastMCP and the official Model Context Protocol Python SDK.

Available on:

Requirements

Requires an MCP client:

  • Claude Desktop - Anthropic's desktop app
  • Claude Code - Command-line MCP client
  • Goose - Open-source AI agent framework
  • OpenCode - Open-source MCP client by SST
  • Kiro - AWS's AI assistant
  • Gemini CLI - Google's command-line tool
  • Any MCP-compatible client

Quick Start

Cloud (No Installation)

Connect your MCP client to the hosted server:

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "math-cloud": {
      "transport": "http",
      "url": "https://math-mcp.fastmcp.app/mcp"
    }
  }
}

Local Installation

Automatic with uvx (recommended):

{
  "mcpServers": {
    "math": {
      "command": "uvx",
      "args": ["math-mcp-learning-server"]
    }
  }
}

Manual installation:

# Basic installation
uvx math-mcp-learning-server

# With matrix operations support
uvx --from 'math-mcp-learning-server[scientific]' math-mcp-learning-server

# With visualization support
uvx --from 'math-mcp-learning-server[plotting]' math-mcp-learning-server

# All features
uvx --from 'math-mcp-learning-server[scientific,plotting]' math-mcp-learning-server

Tools

CategoryToolDescription
Workspacesave_calculationSave calculations to persistent storage
load_variableRetrieve previously saved calculations
MathcalculateSafely evaluate mathematical expressions
statisticsStatistical analysis (mean, median, mode, std_dev, variance)
compound_interestCalculate compound interest for investments
convert_unitsConvert between units (length, weight, temperature)
Matrixmatrix_multiplyMultiply two matrices
matrix_transposeTranspose a matrix
matrix_determinantCalculate matrix determinant
matrix_inverseCalculate matrix inverse
matrix_eigenvaluesCalculate eigenvalues
Visualizationplot_functionPlot mathematical functions
create_histogramCreate statistical histograms
plot_line_chartCreate line charts
plot_scatter_chartCreate scatter plots
plot_box_plotCreate box plots
plot_financial_lineCreate financial line charts

Resources

  • math://workspace - Persistent calculation workspace summary
  • math://history - Chronological calculation history
  • math://functions - Available mathematical functions reference
  • math://constants/{constant} - Mathematical constants (pi, e, golden_ratio, etc.)
  • math://test - Server health check

Prompts

  • math_tutor - Structured tutoring prompts (configurable difficulty)
  • formula_explainer - Formula explanation with step-by-step breakdowns

See Usage Examples for detailed examples.

Development

See CONTRIBUTING.md for development setup, testing, and contribution guidelines.

Security

The calculate tool uses restricted eval() with a whitelist of allowed characters and functions, restricted global scope (only math module and abs), and no access to dangerous built-ins or imports. All tool inputs are validated with Pydantic models. File operations are restricted to the designated workspace directory. Complete type hints and validation are enforced for all operations.

Links

Alternatives

Related Skills

Browse all skills
data-scientist

Expert data scientist for advanced analytics, machine learning, and statistical modeling. Handles complex data analysis, predictive modeling, and business intelligence. Use PROACTIVELY for data analysis tasks, ML modeling, statistical analysis, and data-driven insights.

13
scvi-tools

Deep learning for single-cell analysis using scvi-tools. This skill should be used when users need (1) data integration and batch correction with scVI/scANVI, (2) ATAC-seq analysis with PeakVI, (3) CITE-seq multi-modal analysis with totalVI, (4) multiome RNA+ATAC analysis with MultiVI, (5) spatial transcriptomics deconvolution with DestVI, (6) label transfer and reference mapping with scANVI/scArches, (7) RNA velocity with veloVI, or (8) any deep learning-based single-cell method. Triggers include mentions of scVI, scANVI, totalVI, PeakVI, MultiVI, DestVI, veloVI, sysVI, scArches, variational autoencoder, VAE, batch correction, data integration, multi-modal, CITE-seq, multiome, reference mapping, latent space.

6
tooluniverse

Use this skill when working with scientific research tools and workflows across bioinformatics, cheminformatics, genomics, structural biology, proteomics, and drug discovery. This skill provides access to 600+ scientific tools including machine learning models, datasets, APIs, and analysis packages. Use when searching for scientific tools, executing computational biology workflows, composing multi-step research pipelines, accessing databases like OpenTargets/PubChem/UniProt/PDB/ChEMBL, performing tool discovery for research tasks, or integrating scientific computational resources into LLM workflows.

1
usage-export

Export OpenClaw usage data to CSV for analytics tools like Power BI. Hourly aggregates by activity type, model, and channel.

1
mcp-developer

Use when building MCP servers or clients that connect AI systems with external tools and data sources. Invoke for MCP protocol compliance, TypeScript/Python SDKs, resource providers, tool functions.

1
sam-cell-seg

Guidance for SAM-based cell segmentation and mask conversion tasks involving MobileSAM, mask-to-polygon conversion, CSV processing, and command-line interface design. This skill applies when working with Segment Anything Model (SAM) for biological image segmentation, converting binary masks to polygon coordinates, processing microscopy data, or building CLI tools that interface with deep learning models. (project)

1