MCP server
Calculator
Exact arithmetic: one calculator tool over an AST allowlist, with integers exact at any…
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.9
- Listing updated
- 6 days ago
About Calculator
Calculator is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Exact arithmetic: one calculator tool over an AST allowlist, with integers exact at any size.
Install
Run in a terminal
claude mcp add calc-mcp-server -- uvx calc-mcp-serverAdd to claude_desktop_config.json
{
"mcpServers": {
"calc-mcp-server": {
"command": "uvx",
"args": [
"calc-mcp-server"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"calc-mcp-server": {
"command": "uvx",
"args": [
"calc-mcp-server"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"calc-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"calc-mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"calc-mcp-server": {
"command": "uvx",
"args": [
"calc-mcp-server"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"calc-mcp-server": {
"command": "uvx",
"args": [
"calc-mcp-server"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Pricing
Open source
Calculator FAQ
Is Calculator free?
Yes. Calculator is open source, so you can use and self-host it for free.
How do I add Calculator to Claude Code?
Run this command in your terminal: claude mcp add calc-mcp-server -- uvx calc-mcp-server
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.