C

Calculator

MCP server · by slettmayer

Developer Tools Python v0.1.9

Exact arithmetic: one calculator tool over an AST allowlist, with integers exact at any size.

View source ↗ Website ↗ More servers

Install

Run one of the commands below, then add the client config underneath.

Pythonuvx calc-mcp-server

Client configuration

Paste into Claude Desktop, Cursor (mcp.json), VS Code or any MCP client, then restart the client.

mcpServers{
  "mcpServers": {
    "calc-mcp-server": {
      "command": "uvx",
      "args": [
        "calc-mcp-server"
      ]
    }
  }
}

About this server

Calculator is listed in the Developer Tools category of the MCPNav directory. It is distributed as Python and can be loaded by any client that speaks the Model Context Protocol.

Typical uses include giving your assistant scoped access to the corresponding service so it can answer questions and take actions with real data instead of guessing. Always review what a server can access before you enable it — see our MCP security guide.

Frequently asked questions

What is the Calculator MCP server?

Calculator is an MCP server by slettmayer. Exact arithmetic: one calculator tool over an AST allowlist, with integers exact at any size.

How do I install Calculator?

Install it with: uvx calc-mcp-server. Then add the JSON config to your client's MCP settings and restart the client.

Is Calculator free to use?

The MCP server itself is free to install. The source is public on https://github.com/slettmayer/calc-mcp-server. Any third-party API it calls (such as a search or maps API) may require its own key and billing.

Which clients support Calculator?

Any MCP-compatible client can use it, including Claude Desktop, Cursor, VS Code, Windsurf and custom agents.