Math-MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| addB | Adds two numbers together |
| subtractA | Subtracts the second number from the first number |
| multiplyA | Multiplies two numbers together |
| divisionB | Divides the first number by the second number |
| sumB | Adds any number of numbers together |
| moduloA | Divides two numbers and returns the remainder |
| meanA | Calculates the arithmetic mean of a list of numbers |
| medianB | Calculates the median of a list of numbers |
| modeA | Finds the most common number in a list of numbers |
| minA | Finds the minimum value from a list of numbers |
| maxB | Finds the maximum value from a list of numbers |
| floorA | Rounds a number down to the nearest integer |
| ceilingA | Rounds a number up to the nearest integer |
| roundB | Rounds a number to the nearest integer |
| sinA | Calculates the sine of a number in radians |
| arcsinA | Calculates the arcsine (in radians) of a number |
| cosA | Calculates the cosine of a number in radians |
| arccosB | Calculates the arccosine (in radians) of a number |
| tanB | Calculates the tangent of a number in radians |
| arctanA | Calculates the arctangent (in radians) of a number |
| radiansToDegreesA | Converts a radian value to its equivalent in degrees |
| degreesToRadiansA | Converts a degree value to its equivalent in radians |
| percentage_ofA | Calculates a percentage of a value, such as 15% of 240 |
| percentage_changeA | Calculates the percentage increase or decrease from an original value to a new value |
| round_toA | Rounds a number to a specified count of decimal places |
| compound_interestA | Calculates compound growth with optional equal contributions made at the end of every compounding period |
| loan_paymentA | Calculates the payment and total interest for a standard fixed-rate amortizing loan |
| greatest_common_divisorA | Finds the greatest common divisor (GCD) of two safe integers |
| least_common_multipleA | Finds the exact least common multiple (LCM) of two safe integers; returns a decimal string |
| is_primeA | Determines whether a non-negative safe integer is prime |
| prime_factorsB | Returns the prime factorization of an integer from 2 through 1,000,000,000,000 |
| factorialA | Calculates n! exactly for an integer from 0 through 1000; returns a decimal string |
| combinationsA | Calculates n choose r exactly when order does not matter; returns a decimal string |
| permutationsA | Calculates ordered selections nPr exactly; returns a decimal string |
| simplify_fractionA | Reduces a fraction exactly using integer strings, preserving values larger than JSON's safe integer range |
| fraction_arithmeticA | Adds, subtracts, multiplies, or divides two fractions exactly and returns the reduced result |
| varianceC | Calculates population or sample variance with a numerically stable algorithm |
| standard_deviationA | Calculates population or sample standard deviation with a numerically stable algorithm |
| percentileA | Calculates a percentile using sorted linear interpolation (R-7 / Excel PERCENTILE.INC method) |
| correlationB | Calculates the Pearson correlation coefficient for paired numeric observations |
| linear_regressionA | Fits the least-squares line y = slope*x + intercept and returns slope, intercept, and R-squared |
| solve_quadraticC | Solves ax^2 + bx + c = 0 and returns real or complex roots |
| solve_linear_system_2x2A | Solves a1x + b1y = c1 and a2x + b2y = c2, including no-solution and infinite-solution cases |
| quaternion_from_eulerA | Converts Euler rotations in radians to a normalized quaternion; order states the rotations applied first-to-last |
| compose_transform_4x4A | Builds a row-major 4x4 TRS transform from position, quaternion rotation, and scale for column vectors |
| multiply_matrices_4x4A | Multiplies two row-major 4x4 matrices and returns first * second, for column-vector transforms |
| transform_point_3dA | Transforms a 3D position by a row-major 4x4 matrix using homogeneous w=1 and returns x,y,z,w |
| bone_local_to_worldA | Combines a parent bone world matrix with a child local position, quaternion rotation, and scale |
| bone_hierarchy_to_worldA | Resolves a complete bone hierarchy from local transforms to world matrices and world positions; detects missing parents and cycles |
| look_at_view_matrixA | Creates a row-major look-at world-to-view matrix for a right- or left-handed coordinate system |
| perspective_projection_matrixB | Creates a perspective view-to-clip matrix with explicit handedness and NDC depth range |
| world_to_viewA | Transforms one world-space 3D position into view space with a supplied row-major view matrix |
| view_to_clipA | Transforms one homogeneous view-space position into 4D clip space with a supplied projection matrix |
| clip_to_ndcB | Performs the 4D clip-space perspective divide x/w, y/w, z/w to normalized device coordinates |
| ndc_to_screenB | Scales normalized device coordinates to a 2D screen resolution |
| world_to_screenA | Projects one world-space 3D point through a combined projection*view matrix to 2D pixels with visibility and behind-camera flags |
| project_bone_pointsB | Batch-projects named bone or joint world positions to 2D pixels using a combined projection*view matrix |
| bayes_theoremA | Calculates P(hypothesis|evidence) = P(evidence|hypothesis) * P(hypothesis) / P(evidence) |
| bayes_update_hypothesesB | Normalizes priors and evidence likelihoods into posterior probabilities for mutually exclusive, exhaustive hypotheses |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PolarisHub/math-mcp-main'
If you have feedback or need assistance with the MCP directory API, please join our Discord server