math-mcp-learning-server
MCP serverDev toolsAdding 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
No key or account is asked for. Not verified by us yet: Ahel has not run a call through it.
Details
Available today. Use it from your connected AI after setup.
No key or account is asked for. Not verified by us yet: Ahel has not run a call through it.
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.
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/mcpAdd 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=eyJ1cmwiOiJodHRwczovL21hdGgtbWNwLmZhc3RtY3AuYXBwL21jcCJ9Open the link and Cursor adds the server at that address.
ChatGPT
https://math-mcp.fastmcp.app/mcpIn 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
| Category | Tool | Description |
|---|---|---|
| Workspace | workspace_save | Save calculations to persistent storage |
workspace_load | Retrieve previously saved calculations | |
| Math | calc_expression | Safely evaluate mathematical expressions |
calc_statistics | Statistical analysis (mean, median, mode, std_dev, variance) | |
calc_interest | Calculate compound interest for investments | |
calc_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 |
plot_histogram | Create statistical histograms | |
plot_line_chart | Create line charts | |
plot_scatter | 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://catalog/tools- Tool catalog with metadata and usage examplesmath://variables- Active variables in the current workspacemath://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_expressioncalc_statisticscalc_interestcalc_unitsmatrix_multiplymatrix_transposematrix_determinantmatrix_inversematrix_eigenvaluesworkspace_saveworkspace_loadplot_functionplot_histogramplot_line_chartplot_scatterplot_box_plotplot_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
github.com/clouatre-labs/math-mcp-learning-server