# MCP Server Calculator (MCP server)

> MCP Server Calculator is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. A Model Context Protocol server for calculating. It has 160 GitHub stars, is released under the MIT license and runs locally with uvx mcp-server-calculator.

A Model Context Protocol server for calculating. This server enables LLMs to use calculator for precise numerical calculations.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/githejie/mcp-server-calculator |
| GitHub stars | 160 |
| License | MIT |
| Language | Python |
| Transport | stdio |
| Packages | pypi: mcp-server-calculator |
| Remote URL | none |
| Needs API key | no |
| Official | no |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Other |
| Latest release | none |
| Last commit | Aug 8, 2026 |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-server-calculator": {
      "command": "uvx",
      "args": [
        "mcp-server-calculator"
      ]
    }
  }
}
```

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --transport stdio mcp-server-calculator -- uvx mcp-server-calculator
```

### Cursor (.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-server-calculator": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-calculator"
      ]
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-server-calculator": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-calculator"
      ]
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Tools

- `calculate`: Calculates/evaluates the given expression.
- `expression`: Expression to be calculated

## Similar MCP servers

- [Zotero MCP](https://appsgit.com/mcp-servers/zotero-mcp-kujenga): Search your Zotero library, retrieve item metadata, and read full text from AI assistants. (162 stars, MIT, needs API key)
- [OpenFate Bazi MCP](https://appsgit.com/mcp-servers/openfate-bazi-mcp): OpenFate Bazi MCP with True Solar Time, Four Pillars, Da Yun, and branch interactions. (160 stars, MIT)
- [Pubmed MCP Server](https://appsgit.com/mcp-servers/pubmed-mcp-server): Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms. (163 stars, Apache-2.0, needs API key)
- [Outline MCP Server](https://appsgit.com/mcp-servers/outline-mcp-server): Connect AI assistants to Outline for document search, reading, and management. (158 stars, MIT, needs API key)
- [Hostinger API MCP](https://appsgit.com/mcp-servers/hostinger-api-mcp): Model Context Protocol (MCP) server for Hostinger API. (164 stars, MIT, official)
- [Wanderlog MCP](https://appsgit.com/mcp-servers/wanderlog-mcp): MCP server for Wanderlog — build and edit trip itineraries through conversation. (158 stars, MIT)

---

Canonical page: https://appsgit.com/mcp-servers/mcp-server-calculator
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
