{"_id":"@cnwanghao/math-mcp","_rev":"3-50da10a41be1c8210694b7e36dcc0248","name":"@cnwanghao/math-mcp","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.1":{"name":"@cnwanghao/math-mcp","version":"0.1.1","keywords":["math","mcp","calculator"],"author":{"name":"cnwanghao"},"license":"MIT","_id":"@cnwanghao/math-mcp@0.1.1","maintainers":[{"name":"cnwanghao","email":"wanghaody@gmail.com"}],"bin":{"math-mcp":"build/index.js"},"dist":{"shasum":"bae13879dec8248bc9dad487641110932ff81cc4","tarball":"https://registry.npmjs.org/@cnwanghao/math-mcp/-/math-mcp-0.1.1.tgz","fileCount":11,"integrity":"sha512-2Z8WrlViNDPbJ2PsPDHsLCmXAOcvUhh3m4k2rpm/sXI/AEPDWgv5tGuOYJamPMMlddLg3G1CtrX1UwpXiUT+zQ==","signatures":[{"sig":"MEQCIB/lZfrcdNKNCkMw6NEnNmzsdb0TezyVHV/U+wpk5dhiAiBQoMU2uc51o88qWQCIzBjoj3lUrl+XvjfG7xNrFDgCEQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61834},"main":"build/index.js","type":"module","module":"src/index.ts","scripts":{"http":"npm run build:http && npm run start:http","test":"npx vitest run src/","build":"npm run build:http","start":"npm run start:http","stdio":"npm run build:stdio && npm run start:stdio","build:http":"npx @smithery/cli build","start:http":"node .smithery/index.cjs","build:stdio":"tsc && node -e \"require('fs').chmodSync('build/index.js', '755')\"","start:stdio":"node build/index.js"},"_npmUser":{"name":"cnwanghao","email":"wanghaody@gmail.com"},"_npmVersion":"10.9.3","description":"Math MCP Server - 提供各种数学运算的 MCP 服务器","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^3.24.2","@modelcontextprotocol/sdk":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","typescript":"^5.7.3","@types/node":"^22.13.5"},"_npmOperationalInternal":{"tmp":"tmp/math-mcp_0.1.1_1764814640923_0.7469957716467359","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@cnwanghao/math-mcp","version":"0.1.2","keywords":["math","mcp","calculator"],"author":{"name":"cnwanghao"},"license":"MIT","_id":"@cnwanghao/math-mcp@0.1.2","maintainers":[{"name":"cnwanghao","email":"wanghaody@gmail.com"}],"bin":{"math-mcp":"build/index.js"},"dist":{"shasum":"e4d7803a4c9910120e8c44995a42bf4e79146b6f","tarball":"https://registry.npmjs.org/@cnwanghao/math-mcp/-/math-mcp-0.1.2.tgz","fileCount":11,"integrity":"sha512-VlCy5FGZZntd+4f2JbDXB60st0IeCH4I+R+mNkNYlsbvUBwO/bFTRGxHYpWnzGlKFs/um+LP29zKKg0HK0w1lw==","signatures":[{"sig":"MEUCIGqZ6t7AXk0lAiu/soWV8CQVK3HZMX8q21JVJOu3bNpVAiEAnu28WIywTXtHcmXe9kqI8bVETW0ypAL55yBRpZeqX24=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61850},"main":"build/index.js","type":"module","module":"src/index.ts","scripts":{"http":"npm run build:http && npm run start:http","test":"npx vitest run src/","build":"npm run build:http","start":"npm run start:http","stdio":"npm run build:stdio && npm run start:stdio","build:http":"npx @smithery/cli build","start:http":"node .smithery/index.cjs","build:stdio":"tsc && node -e \"require('fs').chmodSync('build/index.js', '755')\"","start:stdio":"node build/index.js"},"_npmUser":{"name":"cnwanghao","email":"wanghaody@gmail.com"},"_npmVersion":"10.9.3","description":"Math MCP Server - 提供各种数学运算的 MCP 服务器","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^3.24.2","@modelcontextprotocol/sdk":"^1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","typescript":"^5.7.3","@types/node":"^22.13.5"},"_npmOperationalInternal":{"tmp":"tmp/math-mcp_0.1.2_1764814785594_0.02503666407815719","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@cnwanghao/math-mcp","version":"0.1.3","main":"build/index.js","bin":{"math-mcp":"build/index.js"},"module":"src/index.ts","type":"module","scripts":{"build":"npm run build:http","build:stdio":"tsc && node -e \"require('fs').chmodSync('build/index.js', '755')\"","build:http":"npx @smithery/cli build","start":"npm run start:http","start:http":"node .smithery/index.cjs","start:stdio":"node build/index.js","http":"npm run build:http && npm run start:http","stdio":"npm run build:stdio && npm run start:stdio","test":"npx vitest run src/"},"keywords":["math","mcp","calculator"],"author":{"name":"cnwanghao"},"license":"MIT","description":"Math MCP Server - 提供各种数学运算的 MCP 服务器","dependencies":{"@modelcontextprotocol/sdk":"^1.6.0","zod":"^3.24.2"},"devDependencies":{"@types/node":"^22.13.5","typescript":"^5.7.3","vitest":"^3.2.4"},"_id":"@cnwanghao/math-mcp@0.1.3","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-hx2BRKVrp17ZhUoPrYJRLtxajoKG4el8ysJfOXunfZC+w2SZ0Lpm/TyIFkK64A+GWW87Fxy1Ek0FDdD+JfmVYw==","shasum":"24f0deb65f7d14fb480fbc64485d24400f34401c","tarball":"https://registry.npmjs.org/@cnwanghao/math-mcp/-/math-mcp-0.1.3.tgz","fileCount":11,"unpackedSize":61870,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIG3l8P1AoviK6W1cKOC31sTctrVtM76aore5CX7nOMp5AiEAvsJWN5I/ChF796JYRUirQxC6MpDZpyaEfh5Ko2zcu5s="}]},"_npmUser":{"name":"cnwanghao","email":"wanghaody@gmail.com"},"directories":{},"maintainers":[{"name":"cnwanghao","email":"wanghaody@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/math-mcp_0.1.3_1764814813915_0.669927915908358"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-04T02:17:20.831Z","modified":"2025-12-04T02:20:14.262Z","0.1.1":"2025-12-04T02:17:21.098Z","0.1.2":"2025-12-04T02:19:45.739Z","0.1.3":"2025-12-04T02:20:14.066Z"},"author":{"name":"cnwanghao"},"license":"MIT","keywords":["math","mcp","calculator"],"description":"Math MCP Server - 提供各种数学运算的 MCP 服务器","maintainers":[{"name":"cnwanghao","email":"wanghaody@gmail.com"}],"readme":"# Math-MCP\n\n[![smithery badge](https://smithery.ai/badge/@EthanHenrickson/math-mcp)](https://smithery.ai/server/@EthanHenrickson/math-mcp)\n\nA Model Context Protocol (MCP) server that provides basic mathematical, statistical and trigonometric functions to Large Language Models (LLMs). This server enables LLMs to perform accurate numerical calculations through a simple API.\n\n<a href=\"https://glama.ai/mcp/servers/exa5lt8dgd\">\n  <img width=\"380\" height=\"200\" src=\"https://glama.ai/mcp/servers/exa5lt8dgd/badge\" alt=\"Math-MCP MCP server\" />\n</a>\n\n## Features\n\n- Basic arithmetic operations (addition, subtraction, multiplication, division)\n- Statistical functions (sum, mean, median, mode, min, max)\n- Rounding functions (floor, ceiling, round)\n- Trigonometric functions (sin, cos, tan, and their inverses; degrees/radians conversions)\n\n## Installation\n### Installing via Smithery\n\nTo install Math-MCP for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@EthanHenrickson/math-mcp):\n\n```bash\nnpx -y @smithery/cli install @EthanHenrickson/math-mcp --client claude\n```\n\n### Installing Manually\n\nJust clone this repository and save it locally somewhere on your computer.\n\nThen add this server to your MCP configuration file:\n\n```json\n\"math\": {\n  \"command\": \"node\",\n  \"args\": [\"PATH\\\\TO\\\\PROJECT\\\\math-mcp\\\\build\\\\index.js\"]\n}\n```\n\nReplace `PATH\\\\TO\\\\PROJECT` with the actual path to where you cloned the repository.\n\n## Available Functions\n\nThe Math-MCP server provides the following mathematical operations:\n\n### Arithmetic Operations\n| Function | Description | Parameters |\n|----------|-------------|------------|\n| `add` | Adds two numbers together | `firstNumber`: The first addend<br>`secondNumber`: The second addend |\n| `subtract` | Subtracts the second number from the first number | `minuend`: The number to subtract from (minuend)<br>`subtrahend`: The number being subtracted (subtrahend) |\n| `multiply` | Multiplies two numbers together | `firstNumber`: The first number<br>`SecondNumber`: The second number |\n| `division` | Divides the first number by the second number | `numerator`: The number being divided (numerator)<br>`denominator`: The number to divide by (denominator) |\n| `sum` | Adds any number of numbers together | `numbers`: Array of numbers to sum |\n| `modulo` | Divides two numbers and returns the remainder | `numerator`: The number being divided (numerator)<br>`denominator`: The number to divide by (denominator) |\n| `floor` | Rounds a number down to the nearest integer | `number`: The number to round down |\n| `ceiling` | Rounds a number up to the nearest integer | `number`: The number to round up |\n| `round` | Rounds a number to the nearest integer | `number`: The number to round |\n\n### Statistical Operations\n| Function | Description | Parameters |\n|----------|-------------|------------|\n| `mean` | Calculates the arithmetic mean of a list of numbers | `numbers`: Array of numbers to find the mean of |\n| `median` | Calculates the median of a list of numbers | `numbers`: Array of numbers to find the median of |\n| `mode` | Finds the most common number in a list of numbers | `numbers`: Array of numbers to find the mode of |\n| `min` | Finds the minimum value from a list of numbers | `numbers`: Array of numbers to find the minimum of |\n| `max` | Finds the maximum value from a list of numbers | `numbers`: Array of numbers to find the maximum of |\n\n### Trigonometric Operations\n| Function | Description | Parameters |\n|----------|-------------|------------|\n| `sin` | Calculates the sine of a number in radians | `number`: The number in radians to find the sine of |\n| `arcsin` | Calculates the arcsine of a number in radians | `number`: The number to find the arcsine of |\n| `cos` | Calculates the cosine of a number in radians | `number`: The number in radians to find the cosine of |\n| `arccos` | Calculates the arccosine of a number in radians | `number`: The number to find the arccosine of |\n| `tan` | Calculates the tangent of a number in radians | `number`: The number in radians to find the tangent of |\n| `arctan` | Calculates the arctangent of a number in radians | `number`: The number to find the arctangent of |\n| `radiansToDegrees` | Converts a radian value to its equivalent in degrees | `number`: The number in radians to convert to degrees |\n| `degreesToRadians` | Converts a degree value to its equivalent in radians | `number`: The number in degrees to convert to radians |\n","readmeFilename":"README.md"}