math-mcp-learning-server

MCP serverDev tools

Adding this gives your AI 17 tools for math and statistics, plus the ability to turn results into visualizations. Work is kept in a persistent workspace, so calculations stay available between sessions. It is built as an educational resource, which makes it a good fit for learning and practicing concepts.

Use math-mcp-learning-server in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add math-mcp-learning-server and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the calc expression tool from math-mcp-learning-server

Details

Available today. Use it from your connected AI after setup.

After adding it, give your AI a math or statistics problem to solve and ask it to visualize the result. Its work stays in the persistent workspace, so you can return to earlier calculations in later sessions.

math-mcp-learning-serverStart free

What your AI can do with it

  • Solve math and statistics problems using 17 dedicated tools
  • Create visualizations of calculations and results
  • Keep work saved in a workspace that persists between sessions
  • Learn math and statistics concepts with tools designed for education

Install math-mcp-learning-server

The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user math-mcp-learning-server 'https://math-mcp.fastmcp.app/mcp'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://math-mcp.fastmcp.app/mcp

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=math-mcp-learning-server&config=eyJ1cmwiOiJodHRwczovL21hdGgtbWNwLmZhc3RtY3AuYXBwL21jcCJ9

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://math-mcp.fastmcp.app/mcp

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add math-mcp-learning-server --url 'https://math-mcp.fastmcp.app/mcp'

    Run it once, then sign in with codex mcp login math-mcp-learning-server if the server asks for an account.

From the project's README

As published by clouatre-labs/math-mcp-learning-server in README.md.

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

Available on the MCP Registry (io.github.clouatre-labs/math-mcp-learning-server) and PyPI.

Demo

See CONTRIBUTING.md for instructions to record your own demo.

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

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

For other installation options (basic, scientific-only, plotting-only), see CONTRIBUTING.md.

Tools

CategoryToolDescription
Workspaceworkspace_saveSave calculations to persistent storage
workspace_loadRetrieve previously saved calculations
Mathcalc_expressionSafely evaluate mathematical expressions
calc_statisticsStatistical analysis (mean, median, mode, std_dev, variance)
calc_interestCalculate compound interest for investments
calc_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
plot_histogramCreate statistical histograms
plot_line_chartCreate line charts
plot_scatterCreate 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://catalog/tools - Tool catalog with metadata and usage examples
  • math://variables - Active variables in the current workspace
  • 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

  • OpenSSF Best Practices Silver - Fewer than 1% of open source projects reach this level
  • REUSE/SPDX - License compliance for all files
  • Signed Commits - GPG-signed commits required
  • Dependency Scanning - Automated updates via Renovate
  • pip-audit CVE Scanning - Automated dependency vulnerability checks
  • gitleaks Secret Scanning - Detects secrets in code and history
  • zizmor GitHub Actions Security - Workflow security scanning
  • commitlint Enforcement - Conventional commit validation in CI
  • OpenSSF Scorecard - Continuous open source security assessment

The calc_expression 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.

Documentation

Tools it offers (17)

What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.

  • calc_expression
  • calc_statistics
  • calc_interest
  • calc_units
  • matrix_multiply
  • matrix_transpose
  • matrix_determinant
  • matrix_inverse
  • matrix_eigenvalues
  • workspace_save
  • workspace_load
  • plot_function
  • plot_histogram
  • plot_line_chart
  • plot_scatter
  • plot_box_plot
  • plot_financial_line

Signals

GitHub stars
5
Forks
4
Last commit
Sep 2026
Advanced
Delivery
math-mcp-learning-server MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
io-github-clouatre-labs-math-mcp-learning-server
Source
github.com/clouatre-labs/math-mcp-learning-server
Hosted endpoint
https://math-mcp.fastmcp.app/mcp