mcp-server-calculator
This MCP server allows LLMs to perform precise numerical calculations using a calculator tool.
The Calculator MCP Server is designed to facilitate accurate mathematical computations for language models. By leveraging the Model Context Protocol, this server enables seamless integration of calculation capabilities, allowing users to evaluate complex expressions with ease. Whether you need to perform simple arithmetic or more advanced calculations, this server provides a reliable solution for all your computational needs. Installation is straightforward, with options to use the recommended 'uv' method or install via pip. Once set up, users can configure their MCP clients to connect to the calculator server, enabling them to utilize its features effectively. The server is open-source and licensed under the MIT License, ensuring that it can be freely used, modified, and distributed.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"mcp-server-calculator": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-calculator"
]
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.