
Math Learning
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
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
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)
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
Perform statistical calculations on a list of numbers. Available operations: mean, median, mode, std_dev, variance
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 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 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
Educational MCP server with 17 tools, persistent workspace, and cloud hosting. Built with FastMCP and the official Model Context Protocol Python SDK.
Available on:
- Official MCP Registry -
io.github.clouatre-labs/math-mcp-learning-server - PyPI -
math-mcp-learning-server
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
| Category | Tool | Description |
|---|---|---|
| Workspace | save_calculation | Save calculations to persistent storage |
load_variable | Retrieve previously saved calculations | |
| Math | calculate | Safely evaluate mathematical expressions |
statistics | Statistical analysis (mean, median, mode, std_dev, variance) | |
compound_interest | Calculate compound interest for investments | |
convert_units | Convert between units (length, weight, temperature) | |
| Matrix | matrix_multiply | Multiply two matrices |
matrix_transpose | Transpose a matrix | |
matrix_determinant | Calculate matrix determinant | |
matrix_inverse | Calculate matrix inverse | |
matrix_eigenvalues | Calculate eigenvalues | |
| Visualization | plot_function | Plot mathematical functions |
create_histogram | Create statistical histograms | |
plot_line_chart | Create line charts | |
plot_scatter_chart | Create scatter plots | |
plot_box_plot | Create box plots | |
plot_financial_line | Create financial line charts |
Resources
math://workspace- Persistent calculation workspace summarymath://history- Chronological calculation historymath://functions- Available mathematical functions referencemath://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 skillsExpert 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.
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.
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.
Export OpenClaw usage data to CSV for analytics tools like Power BI. Hourly aggregates by activity type, model, and channel.
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.
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)