@yanhuifair/calculator-mcp

Level CLocal

MCP server and command line tool that give LLMs and shells safe, exact math: expression evaluation (330+ mathjs functions), unit conversion across 21 physical-quantity categories and 195 units (including Chinese market units 亩/斤/两/钱/市尺/海里/节), 27 descripti

⭐ 0Search & InfoJavaScriptRepo ↗Updated 2026-10-26

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "npm-yanhuifair-calculator-mcp": {
      "command": "npx",
      "args": [
        "@yanhuifair/calculator-mcp"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://www.npmjs.com/package/@yanhuifair/calculator-mcp

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "npm-yanhuifair-calculator-mcp": {
      "command": "npx",
      "args": [
        "@yanhuifair/calculator-mcp"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers