Math MCP Learning is an MCP server published by io.github.clouatre-labs, hosted at math-mcp.fastmcp.app. When last checked on 2026-11-21 it was working: it answers and lists its tools. It declares 17 tools, including calc_expression, calc_statistics, calc_interest, calc_units, matrix_multiply.
Educational MCP server with 17 math/stats tools, visualizations, and persistent workspace
44 connections through 5 shared values. Tap any node.
Safely evaluate mathematical expressions with support for basic operations and math functions. Supported operations: +, -, *, /, **, () Supported functions: sin, cos, tan, log, sqrt, abs, pow
| Parameter | Type | Description |
|---|---|---|
| expression * | string | Mathematical expression to evaluate. Supports +, -, *, /, **, and math functions (sin, cos, sqrt, log, etc.). Example: '2 * sin(pi/4) + sqrt(16)' |
{
"name": "calc_expression",
"title": "Mathematical Calculator",
"description": "Safely evaluate mathematical expressions with support for basic operations and math functions.\n\nSupported operations: +, -, *, /, **, ()\nSupported functions: sin, cos, tan, log, sqrt, abs, pow",
"inputSchema": {
"type": "object",
"required": [
"expression"
],
"properties": {
"expression": {
"type": "string",
"maxLength": 500,
"description": "Mathematical expression to evaluate. Supports +, -, *, /, **, and math functions (sin, cos, sqrt, log, etc.). Example: '2 * sin(pi/4) + sqrt(16)'"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"expression",
"result",
"difficulty",
"topic"
],
"properties": {
"topic": {
"type": "string"
},
"result": {
"type": "number"
},
"difficulty": {
"type": "string"
},
"expression": {
"type": "string"
}
},
"description": "Result of a mathematical expression evaluation."
},
"annotations": {
"title": "Mathematical Calculator",
"readOnlyHint": true,
"idempotentHint": true
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Perform statistical calculations on a list of numbers. Available operations: mean, median, mode, std_dev, variance
| Parameter | Type | Description |
|---|---|---|
| numbers * | array | List of numbers to compute descriptive statistics on. Example: [1.0, 2.5, 3.0, 4.5, 5.0] |
| operation * | string | Statistical operation to perform. Allowed values: mean, median, mode, std_dev, variance |
{
"name": "calc_statistics",
"title": "Statistical Analysis",
"description": "Perform statistical calculations on a list of numbers.\n\nAvailable operations: mean, median, mode, std_dev, variance",
"inputSchema": {
"type": "object",
"required": [
"numbers",
"operation"
],
"properties": {
"numbers": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 10000,
"description": "List of numbers to compute descriptive statistics on. Example: [1.0, 2.5, 3.0, 4.5, 5.0]"
},
"operation": {
"type": "string",
"examples": [
"mean",
"median",
"mode",
"std_dev",
"variance"
],
"description": "Statistical operation to perform. Allowed values: mean, median, mode, std_dev, variance"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"operation",
"result",
"sample_size",
"difficulty",
"topic"
],
"properties": {
"topic": {
"type": "string"
},
"result": {
"type": "number"
},
"operation": {
"type": "string"
},
"difficulty": {
"type": "string"
},
"sample_size": {
"type": "integer"
}
},
"description": "Result of statistical calculation."
},
"annotations": {
"title": "Statistical Analysis",
"readOnlyHint": true,
"idempotentHint": true
}
}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
| Parameter | Type | Description |
|---|---|---|
| rate * | number | Annual interest rate as decimal 0.0-1.0 (e.g. 0.05 = 5%). If entering a percentage, divide by 100 first. |
| time * | number | Investment time in years (must be > 0), e.g. 10.0 |
| principal * | number | Initial investment amount in dollars (must be > 0), e.g. 1000.0 |
| compounds_per_year | integer | Compounding frequency per year (must be > 0): 12=monthly, 365=daily |
{
"name": "calc_interest",
"title": "Compound Interest Calculator",
"description": "Calculate compound interest for investments.\n\nFormula: A = P(1 + r/n)^(nt)\nWhere:\n- P = principal amount\n- r = annual interest rate (as decimal)\n- n = number of times interest compounds per year\n- t = time in years",
"inputSchema": {
"type": "object",
"required": [
"principal",
"rate",
"time"
],
"properties": {
"rate": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Annual interest rate as decimal 0.0-1.0 (e.g. 0.05 = 5%). If entering a percentage, divide by 100 first."
},
"time": {
"type": "number",
"description": "Investment time in years (must be > 0), e.g. 10.0",
"exclusiveMinimum": 0
},
"principal": {
"type": "number",
"description": "Initial investment amount in dollars (must be > 0), e.g. 1000.0",
"exclusiveMinimum": 0
},
"compounds_per_year": {
"type": "integer",
"default": 12,
"description": "Compounding frequency per year (must be > 0): 12=monthly, 365=daily",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"principal",
"final_amount",
"total_interest",
"rate",
"time",
"compounds_per_year",
"difficulty",
"topic",
"formula"
],
"properties": {
"rate": {
"type": "number"
},
"time": {
"type": "number"
},
"topic": {
"type": "string"
},
"formula": {
"type": "string"
},
"principal": {
"type": "number"
},
"difficulty": {
"type": "string"
},
"final_amount": {
"type": "number"
},
"total_interest": {
"type": "number"
},
"compounds_per_year": {
"type": "integer"
}
},
"description": "Result of compound interest calculation."
},
"annotations": {
"title": "Compound Interest Calculator",
"readOnlyHint": true,
"idempotentHint": true
}
}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)
| Parameter | Type | Description |
|---|---|---|
| value * | number | Numeric value to convert, e.g., 100.0 |
| to_unit * | string | Target unit abbreviation. Valid units depend on unit_type: length (mm, cm, m, km, in, ft, yd, mi), weight (g, kg, oz, lb), temperature (c, f, k) |
| from_unit * | string | Source unit abbreviation. Valid units depend on unit_type: length (mm, cm, m, km, in, ft, yd, mi), weight (g, kg, oz, lb), temperature (c, f, k) |
| unit_type * | string | Unit category: length, weight, or temperature |
{
"name": "calc_units",
"title": "Unit Converter",
"description": "Convert between different units of measurement.\n\nSupported unit types:\n- length: mm, cm, m, km, in, ft, yd, mi\n- weight: g, kg, oz, lb\n- temperature: c, f, k (Celsius, Fahrenheit, Kelvin)",
"inputSchema": {
"type": "object",
"required": [
"value",
"from_unit",
"to_unit",
"unit_type"
],
"properties": {
"value": {
"type": "number",
"description": "Numeric value to convert, e.g., 100.0"
},
"to_unit": {
"type": "string",
"examples": [
"ft",
"lb",
"f"
],
"description": "Target unit abbreviation. Valid units depend on unit_type: length (mm, cm, m, km, in, ft, yd, mi), weight (g, kg, oz, lb), temperature (c, f, k)"
},
"from_unit": {
"type": "string",
"examples": [
"m",
"kg",
"c"
],
"description": "Source unit abbreviation. Valid units depend on unit_type: length (mm, cm, m, km, in, ft, yd, mi), weight (g, kg, oz, lb), temperature (c, f, k)"
},
"unit_type": {
"type": "string",
"examples": [
"length",
"weight",
"temperature"
],
"description": "Unit category: length, weight, or temperature"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"value",
"from_unit",
"to_unit",
"converted_value",
"unit_type",
"difficulty",
"topic"
],
"properties": {
"topic": {
"type": "string"
},
"value": {
"type": "number"
},
"to_unit": {
"type": "string"
},
"from_unit": {
"type": "string"
},
"unit_type": {
"type": "string"
},
"difficulty": {
"type": "string"
},
"converted_value": {
"type": "number"
}
},
"description": "Result of unit conversion."
},
"annotations": {
"title": "Unit Converter",
"readOnlyHint": true,
"idempotentHint": true
}
}Multiply two matrices (A × B).
| Parameter | Type | Description |
|---|---|---|
| matrix_a * | array | 2D list of numbers representing the first matrix. Each inner list is a row. Example: [[1, 2], [3, 4]] |
| matrix_b * | array | 2D list of numbers representing the second matrix. Each inner list is a row. Example: [[5, 6], [7, 8]] |
{
"name": "matrix_multiply",
"title": "Matrix Multiplication",
"description": "Multiply two matrices (A × B).",
"inputSchema": {
"type": "object",
"required": [
"matrix_a",
"matrix_b"
],
"properties": {
"matrix_a": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
},
"maxItems": 10000,
"description": "2D list of numbers representing the first matrix. Each inner list is a row. Example: [[1, 2], [3, 4]]"
},
"matrix_b": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
},
"maxItems": 10000,
"description": "2D list of numbers representing the second matrix. Each inner list is a row. Example: [[5, 6], [7, 8]]"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"rows_a",
"cols_a",
"rows_b",
"cols_b",
"result_matrix",
"difficulty",
"topic"
],
"properties": {
"topic": {
"type": "string"
},
"cols_a": {
"type": "integer"
},
"cols_b": {
"type": "integer"
},
"rows_a": {
"type": "integer"
},
"rows_b": {
"type": "integer"
},
"difficulty": {
"type": "string"
},
"result_matrix": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
}
}
},
"description": "Result of matrix multiplication operation."
},
"annotations": {
"title": "Matrix Multiplication",
"readOnlyHint": true,
"idempotentHint": true
}
}Transpose a matrix (swap rows and columns).
| Parameter | Type | Description |
|---|---|---|
| matrix * | array | 2D list of numbers representing the matrix. Each inner list is a row. Example: [[1, 2, 3], [4, 5, 6]] |
{
"name": "matrix_transpose",
"title": "Matrix Transpose",
"description": "Transpose a matrix (swap rows and columns).",
"inputSchema": {
"type": "object",
"required": [
"matrix"
],
"properties": {
"matrix": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
},
"maxItems": 10000,
"description": "2D list of numbers representing the matrix. Each inner list is a row. Example: [[1, 2, 3], [4, 5, 6]]"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"original_rows",
"original_cols",
"result_matrix",
"difficulty",
"topic"
],
"properties": {
"topic": {
"type": "string"
},
"difficulty": {
"type": "string"
},
"original_cols": {
"type": "integer"
},
"original_rows": {
"type": "integer"
},
"result_matrix": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
}
}
},
"description": "Result of matrix transpose operation."
},
"annotations": {
"title": "Matrix Transpose",
"readOnlyHint": true,
"idempotentHint": true
}
}Calculate the determinant of a square matrix.
| Parameter | Type | Description |
|---|---|---|
| matrix * | array | 2D list of numbers representing a square matrix. Each inner list is a row. Example: [[1, 2], [3, 4]] |
{
"name": "matrix_determinant",
"title": "Matrix Determinant",
"description": "Calculate the determinant of a square matrix.",
"inputSchema": {
"type": "object",
"required": [
"matrix"
],
"properties": {
"matrix": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
},
"maxItems": 10000,
"description": "2D list of numbers representing a square matrix. Each inner list is a row. Example: [[1, 2], [3, 4]]"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"size",
"determinant",
"difficulty",
"topic"
],
"properties": {
"size": {
"type": "integer"
},
"topic": {
"type": "string"
},
"difficulty": {
"type": "string"
},
"determinant": {
"type": "number"
}
},
"description": "Result of matrix determinant calculation."
},
"annotations": {
"title": "Matrix Determinant",
"readOnlyHint": true,
"idempotentHint": true
}
}Calculate the inverse of a square matrix.
| Parameter | Type | Description |
|---|---|---|
| matrix * | array | 2D list of numbers representing a square matrix. Each inner list is a row. Example: [[1, 2], [3, 4]] |
{
"name": "matrix_inverse",
"title": "Matrix Inverse",
"description": "Calculate the inverse of a square matrix.",
"inputSchema": {
"type": "object",
"required": [
"matrix"
],
"properties": {
"matrix": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
},
"maxItems": 10000,
"description": "2D list of numbers representing a square matrix. Each inner list is a row. Example: [[1, 2], [3, 4]]"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"size",
"success",
"difficulty",
"topic"
],
"properties": {
"size": {
"type": "integer"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"topic": {
"type": "string"
},
"success": {
"type": "boolean"
},
"difficulty": {
"type": "string"
},
"result_matrix": {
"anyOf": [
{
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
}
},
{
"type": "null"
}
],
"default": null
}
},
"description": "Result of matrix inverse calculation."
},
"annotations": {
"title": "Matrix Inverse",
"readOnlyHint": true,
"idempotentHint": true
}
}Calculate the eigenvalues of a square matrix.
| Parameter | Type | Description |
|---|---|---|
| matrix * | array | 2D list of numbers representing a square matrix. Each inner list is a row. Example: [[4, 2], [1, 3]] |
{
"name": "matrix_eigenvalues",
"title": "Matrix Eigenvalues",
"description": "Calculate the eigenvalues of a square matrix.",
"inputSchema": {
"type": "object",
"required": [
"matrix"
],
"properties": {
"matrix": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
},
"maxItems": 10000,
"description": "2D list of numbers representing a square matrix. Each inner list is a row. Example: [[4, 2], [1, 3]]"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"size",
"success",
"difficulty",
"topic"
],
"properties": {
"size": {
"type": "integer"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"topic": {
"type": "string"
},
"success": {
"type": "boolean"
},
"difficulty": {
"type": "string"
},
"eigenvalues": {
"anyOf": [
{
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
],
"default": null
},
"eigenvectors": {
"anyOf": [
{
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
}
},
{
"type": "null"
}
],
"default": null
},
"complex_values": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"default": null
},
"complex_eigenvalues_warning": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"description": "Result of matrix eigenvalues calculation."
},
"annotations": {
"title": "Matrix Eigenvalues",
"readOnlyHint": true,
"idempotentHint": true
}
}Save calculation to persistent workspace (survives restarts).
| Parameter | Type | Description |
|---|---|---|
| name * | string | Variable name for the saved calculation. Used to retrieve it later. Example: 'circle_area' |
| result * | number | Numeric result of evaluating the expression, e.g., 78.54 |
| expression * | string | The mathematical expression that was evaluated. Example: 'pi * r**2' |
{
"name": "workspace_save",
"title": "Save Calculation to Workspace",
"description": "Save calculation to persistent workspace (survives restarts).",
"inputSchema": {
"type": "object",
"required": [
"name",
"expression",
"result"
],
"properties": {
"name": {
"type": "string",
"maxLength": 50,
"description": "Variable name for the saved calculation. Used to retrieve it later. Example: 'circle_area'"
},
"result": {
"type": "number",
"description": "Numeric result of evaluating the expression, e.g., 78.54"
},
"expression": {
"type": "string",
"maxLength": 500,
"description": "The mathematical expression that was evaluated. Example: 'pi * r**2'"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"name",
"expression",
"result",
"success",
"is_new",
"total_variables",
"difficulty",
"topic"
],
"properties": {
"name": {
"type": "string"
},
"topic": {
"type": "string"
},
"action": {
"type": "string",
"default": "save_calculation"
},
"is_new": {
"type": "boolean"
},
"result": {
"type": "number"
},
"success": {
"type": "boolean"
},
"difficulty": {
"type": "string"
},
"expression": {
"type": "string"
},
"session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"total_variables": {
"type": "integer"
}
},
"description": "Result of saving a calculation to the workspace."
},
"annotations": {
"title": "Save Calculation to Workspace",
"readOnlyHint": false,
"idempotentHint": false
}
}Load previously saved calculation result from workspace.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the variable to load from workspace, e.g., 'circle_area' |
{
"name": "workspace_load",
"title": "Load Variable",
"description": "Load previously saved calculation result from workspace.",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the variable to load from workspace, e.g., 'circle_area'"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"success",
"name",
"action"
],
"properties": {
"name": {
"type": "string"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"topic": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"action": {
"type": "string"
},
"result": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"success": {
"type": "boolean"
},
"timestamp": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"difficulty": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"available_variables": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"default": null
}
},
"description": "Result of loading a variable from the workspace."
},
"annotations": {
"title": "Load Variable",
"readOnlyHint": true,
"idempotentHint": true
}
}Generate mathematical function plots (requires matplotlib).
| Parameter | Type | Description |
|---|---|---|
| x_range * | array | X-axis range as (min, max), e.g., (-5.0, 5.0) |
| expression * | string | Mathematical expression to plot, e.g., "x**2" or "sin(x)". Must be <= MAX_EXPRESSION_LENGTH characters. Example: "x**2" |
| num_points | integer | Number of sample points to plot along x_range, e.g., 100 |
{
"name": "plot_function",
"title": "Function Plotter",
"description": "Generate mathematical function plots (requires matplotlib).",
"inputSchema": {
"type": "object",
"required": [
"expression",
"x_range"
],
"properties": {
"x_range": {
"type": "array",
"maxItems": 2,
"minItems": 2,
"description": "X-axis range as (min, max), e.g., (-5.0, 5.0)",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
]
},
"expression": {
"type": "string",
"maxLength": 500,
"description": "Mathematical expression to plot, e.g., \"x**2\" or \"sin(x)\". Must be <= MAX_EXPRESSION_LENGTH characters. Example: \"x**2\""
},
"num_points": {
"type": "integer",
"default": 100,
"maximum": 10000,
"minimum": 2,
"description": "Number of sample points to plot along x_range, e.g., 100"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Function Plotter",
"readOnlyHint": true,
"idempotentHint": true
}
}Create statistical histograms (requires matplotlib).
| Parameter | Type | Description |
|---|---|---|
| bins | integer | Number of histogram bins, e.g., 20 |
| data * | array | List of numeric values to bin, e.g., [1.0, 2.0, 2.5, 3.0] |
| title | string | Chart title string, e.g., 'Data Distribution' |
{
"name": "plot_histogram",
"title": "Statistical Histogram",
"description": "Create statistical histograms (requires matplotlib).",
"inputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"bins": {
"type": "integer",
"default": 20,
"description": "Number of histogram bins, e.g., 20"
},
"data": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 10000,
"description": "List of numeric values to bin, e.g., [1.0, 2.0, 2.5, 3.0]"
},
"title": {
"type": "string",
"default": "Data Distribution",
"maxLength": 100,
"description": "Chart title string, e.g., 'Data Distribution'"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Statistical Histogram",
"readOnlyHint": true,
"idempotentHint": true
}
}Create a line chart from data points (requires matplotlib).
| Parameter | Type | Description |
|---|---|---|
| color | any | Line color (name or hex code, e.g., 'blue', '#2E86AB') |
| title | string | Chart title string, e.g., 'Squares' |
| x_data * | array | X-axis data points, e.g., [1, 2, 3, 4] |
| y_data * | array | Y-axis data points, e.g., [1, 4, 9, 16] |
| x_label | string | X-axis label, e.g., 'Time' |
| y_label | string | Y-axis label, e.g., 'Distance' |
| show_grid | boolean | Whether to display grid lines |
{
"name": "plot_line_chart",
"title": "Line Chart",
"description": "Create a line chart from data points (requires matplotlib).",
"inputSchema": {
"type": "object",
"required": [
"x_data",
"y_data"
],
"properties": {
"color": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
],
"default": null,
"description": "Line color (name or hex code, e.g., 'blue', '#2E86AB')"
},
"title": {
"type": "string",
"default": "Line Chart",
"maxLength": 100,
"description": "Chart title string, e.g., 'Squares'"
},
"x_data": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 10000,
"description": "X-axis data points, e.g., [1, 2, 3, 4]"
},
"y_data": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 10000,
"description": "Y-axis data points, e.g., [1, 4, 9, 16]"
},
"x_label": {
"type": "string",
"default": "X",
"maxLength": 100,
"description": "X-axis label, e.g., 'Time'"
},
"y_label": {
"type": "string",
"default": "Y",
"maxLength": 100,
"description": "Y-axis label, e.g., 'Distance'"
},
"show_grid": {
"type": "boolean",
"default": true,
"description": "Whether to display grid lines"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Line Chart",
"readOnlyHint": true,
"idempotentHint": true
}
}Create a scatter plot from data points (requires matplotlib).
| Parameter | Type | Description |
|---|---|---|
| color | any | Point color (name or hex code, e.g., 'blue', '#2E86AB') |
| title | string | Chart title string, e.g., 'Correlation Study' |
| x_data * | array | X-axis data points, e.g., [1, 2, 3, 4] |
| y_data * | array | Y-axis data points, e.g., [1, 4, 9, 16] |
| x_label | string | X-axis label, e.g., 'Variable X' |
| y_label | string | Y-axis label, e.g., 'Variable Y' |
| point_size | integer | Scatter point size in points^2, e.g., 50 |
{
"name": "plot_scatter",
"title": "Scatter Plot",
"description": "Create a scatter plot from data points (requires matplotlib).",
"inputSchema": {
"type": "object",
"required": [
"x_data",
"y_data"
],
"properties": {
"color": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
],
"default": null,
"description": "Point color (name or hex code, e.g., 'blue', '#2E86AB')"
},
"title": {
"type": "string",
"default": "Scatter Plot",
"maxLength": 100,
"description": "Chart title string, e.g., 'Correlation Study'"
},
"x_data": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 10000,
"description": "X-axis data points, e.g., [1, 2, 3, 4]"
},
"y_data": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 10000,
"description": "Y-axis data points, e.g., [1, 4, 9, 16]"
},
"x_label": {
"type": "string",
"default": "X",
"maxLength": 100,
"description": "X-axis label, e.g., 'Variable X'"
},
"y_label": {
"type": "string",
"default": "Y",
"maxLength": 100,
"description": "Y-axis label, e.g., 'Variable Y'"
},
"point_size": {
"type": "integer",
"default": 50,
"description": "Scatter point size in points^2, e.g., 50"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Scatter Plot",
"readOnlyHint": true,
"idempotentHint": true
}
}Create a box plot for comparing distributions (requires matplotlib).
| Parameter | Type | Description |
|---|---|---|
| color | any | Box color (name or hex code, e.g., 'blue', '#2E86AB') |
| title | string | Chart title string, e.g., 'Distribution Comparison' |
| y_label | string | Y-axis label, e.g., 'Values' |
| data_groups * | array | List of data groups to compare, e.g., [[1, 2, 3], [4, 5, 6]] |
| group_labels | any | Labels for each group, e.g., ['Group A', 'Group B'] |
{
"name": "plot_box_plot",
"title": "Box Plot",
"description": "Create a box plot for comparing distributions (requires matplotlib).",
"inputSchema": {
"type": "object",
"required": [
"data_groups"
],
"properties": {
"color": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
],
"default": null,
"description": "Box color (name or hex code, e.g., 'blue', '#2E86AB')"
},
"title": {
"type": "string",
"default": "Box Plot",
"maxLength": 100,
"description": "Chart title string, e.g., 'Distribution Comparison'"
},
"y_label": {
"type": "string",
"default": "Values",
"maxLength": 100,
"description": "Y-axis label, e.g., 'Values'"
},
"data_groups": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
},
"maxItems": 100,
"description": "List of data groups to compare, e.g., [[1, 2, 3], [4, 5, 6]]"
},
"group_labels": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100
},
{
"type": "null"
}
],
"default": null,
"description": "Labels for each group, e.g., ['Group A', 'Group B']"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Box Plot",
"readOnlyHint": true,
"idempotentHint": true
}
}Generate and plot synthetic financial price data (requires matplotlib). Creates realistic price movement patterns for educational purposes. Does not use real market data.
| Parameter | Type | Description |
|---|---|---|
| days | integer | Number of days to generate, e.g., 30 |
| color | any | Line color (name or hex code, e.g., 'blue', '#2E86AB') |
| trend | string | Market trend direction |
| start_price | number | Starting price value, e.g., 100.0 |
{
"name": "plot_financial_line",
"title": "Financial Line Chart",
"description": "Generate and plot synthetic financial price data (requires matplotlib).\n\nCreates realistic price movement patterns for educational purposes.\nDoes not use real market data.",
"inputSchema": {
"type": "object",
"properties": {
"days": {
"type": "integer",
"default": 30,
"maximum": 1000,
"minimum": 2,
"description": "Number of days to generate, e.g., 30"
},
"color": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
],
"default": null,
"description": "Line color (name or hex code, e.g., 'blue', '#2E86AB')"
},
"trend": {
"type": "string",
"default": "bullish",
"examples": [
"bullish",
"bearish",
"volatile"
],
"description": "Market trend direction"
},
"start_price": {
"type": "number",
"default": 100,
"description": "Starting price value, e.g., 100.0"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Financial Line Chart",
"readOnlyHint": true,
"idempotentHint": true
}
}Math Learning Server - use these tools for mathematical computation: CALCULATE: Use `calculate` for arithmetic/algebra, `statistics` for lists, `compound_interest` for finance (rate as decimal: 0.05 = 5%), `convert_units` for unit conversion (length/weight/temperature). MATRIX: Use `matrix_multiply`, `matrix_determinant`, `matrix_inverse`, `matrix_transpose`, `matrix_eigenvalues` for linear algebra. VISUALIZE: Use `plot_function`, `plot_histogram`, `plot_scatter`, `plot_line_chart`, `plot_box_plot`, `plot_financial_line` for charts. WORKSPACE: Use `save_calculation` to persist results, `load_variable` to retrieve. Results survive server restarts. View all via math://workspace resource. RESOURCES: math://functions (syntax reference), math://constants/{name} (pi/e/golden_ratio/euler_gamma/sqrt2/sqrt3), math://catalog/tools (tool index).
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.