Back to Home
clouatre-labs icon

math-mcp-learning-server

Verified Safe

by clouatre-labs

Overview

An educational Model Context Protocol (MCP) server providing persistent mathematical calculations, statistical analysis, unit conversions, and data visualizations, primarily for learning and agent interaction.

Installation

Run Command
uvx math-mcp-learning-server

Environment Variables

  • MATH_TIMEOUT
  • MCP_RATE_LIMIT_PER_MINUTE
  • MAX_EXPRESSION_LENGTH
  • MAX_STRING_PARAM_LENGTH
  • MAX_ARRAY_SIZE
  • MAX_GROUPS_COUNT
  • MAX_GROUP_SIZE
  • MAX_VARIABLE_NAME_LENGTH
  • MAX_DAYS_FINANCIAL

Security Notes

The server employs 'eval()' for mathematical expressions but does so within a heavily sandboxed environment. This includes whitelisting allowed characters and math functions, blocking dangerous keywords ('import', 'exec', 'eval', 'open', 'file'), and restricting the 'eval' global scope. Comprehensive input validation using Pydantic, DoS prevention via length/size limits (expressions, arrays, matrices), and rate limiting are implemented. File system operations are confined to a user-specific workspace directory. 'SECURITY.md' provides clear documentation on these measures.

Similar Servers

Stats

Interest Score28
Security Score8
Cost ClassHigh
Avg Tokens200
Stars2
Forks1
Last Update2026-01-07

Tags

mathmcpfastmcpeducationvisualizationpersistencestatisticslinear algebra