Calculator MCP
A community-hosted MCP server that evaluates arithmetic, trigonometry, logarithms, statistics, matrices, complex numbers, units, and combinatorics. It supports simplifying algebraic expressions and computing symbolic derivatives using math.js, with options for precision and numeric types like BigNumber or Fraction.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Evaluate complex mathematical expressions
- Simplify algebraic and trigonometric identities
- Compute symbolic derivatives with respect to a variable
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@cyanheads/calculator-mcp-server 0.5.3
{
"version": "0.5.3",
"transport": "stdio",
"identifier": "@cyanheads/calculator-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "CALC_MAX_EXPRESSION_LENGTH",
"format": "string",
"default": "1000",
"description": "Maximum allowed expression string length."
},
{
"name": "CALC_EVALUATION_TIMEOUT_MS",
"format": "string",
"default": "5000",
"description": "Maximum evaluation time in milliseconds."
},
{
"name": "CALC_MAX_RESULT_LENGTH",
"format": "string",
"default": "100000",
"description": "Maximum result string length in characters."
},
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warning')."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"calculator-mcp": {
"command": "npx",
"args": [
"-y",
"@cyanheads/calculator-mcp-server@0.5.3"
],
"env": {
"CALC_MAX_EXPRESSION_LENGTH": "<YOUR_CALC_MAX_EXPRESSION_LENGTH>",
"CALC_EVALUATION_TIMEOUT_MS": "<YOUR_CALC_EVALUATION_TIMEOUT_MS>",
"CALC_MAX_RESULT_LENGTH": "<YOUR_CALC_MAX_RESULT_LENGTH>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Cline
{
"mcpServers": {
"calculator-mcp": {
"command": "npx",
"args": [
"-y",
"@cyanheads/calculator-mcp-server@0.5.3"
],
"env": {
"CALC_MAX_EXPRESSION_LENGTH": "<YOUR_CALC_MAX_EXPRESSION_LENGTH>",
"CALC_EVALUATION_TIMEOUT_MS": "<YOUR_CALC_EVALUATION_TIMEOUT_MS>",
"CALC_MAX_RESULT_LENGTH": "<YOUR_CALC_MAX_RESULT_LENGTH>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}VS Code
{
"servers": {
"calculator-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/calculator-mcp-server@0.5.3"
],
"env": {
"CALC_MAX_EXPRESSION_LENGTH": "<YOUR_CALC_MAX_EXPRESSION_LENGTH>",
"CALC_EVALUATION_TIMEOUT_MS": "<YOUR_CALC_EVALUATION_TIMEOUT_MS>",
"CALC_MAX_RESULT_LENGTH": "<YOUR_CALC_MAX_RESULT_LENGTH>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"calculator-mcp": {
"command": "npx",
"args": [
"-y",
"@cyanheads/calculator-mcp-server@0.5.3"
],
"env": {
"CALC_MAX_EXPRESSION_LENGTH": "<YOUR_CALC_MAX_EXPRESSION_LENGTH>",
"CALC_EVALUATION_TIMEOUT_MS": "<YOUR_CALC_EVALUATION_TIMEOUT_MS>",
"CALC_MAX_RESULT_LENGTH": "<YOUR_CALC_MAX_RESULT_LENGTH>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Let your agent find its tools
Find servers like Calculator MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.