githejie/mcp-server-calculator
by Various
A Model Context Protocol server for calculating.
MCP
githejie/mcp-server-calculator
Added 1 June 2026
Overview
A Model Context Protocol server that exposes calculator functionality as a tool for AI agents. It wraps basic arithmetic operations into a standardized MCP interface, allowing LLMs to perform calculations by calling the server.
Best for
Best for
Developers building MCP-based agents that need deterministic arithmetic without relying on LLM math
Use cases
- Enabling an LLM to compute precise arithmetic results during a conversation
- Integrating a reliable calculator into an MCP-compatible agent workflow
- Offloading numerical computation from an LLM to a deterministic Python backend
How to use
Install
pip install mcp-server-calculator Tools exposed
calculate
Example client config
{\n "mcpServers": {\n "calculator": {\n "command": "uvx",\n "args": ["mcp-server-calculator"]\n }\n }\n} Notes
A Model Context Protocol server that exposes calculator functionality as a tool for AI agents. It wraps basic arithmetic operations into a standardized MCP interface, allowing LLMs to perform calculations by calling the server.
148 stars on GitHub. Last updated 2025-05-10. Licensed MIT.
Use cases
- Enabling an LLM to compute precise arithmetic results during a conversation
- Integrating a reliable calculator into an MCP-compatible agent workflow
- Offloading numerical computation from an LLM to a deterministic Python backend
Pros
- Simple, focused tool with a clear single purpose
- Leverages MCP for standardized agent integration
- Lightweight Python implementation with 148 GitHub stars
Cons
- Limited to basic arithmetic with no advanced math functions
- Requires an MCP-compatible host to be useful
- No built-in error handling for edge cases like division by zero
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Simple, focused tool with a clear single purpose
- Leverages MCP for standardized agent integration
- Lightweight Python implementation with 148 GitHub stars
Cons
- Limited to basic arithmetic with no advanced math functions
- Requires an MCP-compatible host to be useful
- No built-in error handling for edge cases like division by zero
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.