A simple Model Context Protocol (MCP) server built with FastMCP that provides basic calculator tools.
You can access this MCP server remotely at: https://calculator-mk.fastmcp.app/mcp
To use this MCP server with Claude Desktop or any other MCP-compatible application:
- Configure your MCP client to connect to the remote URL:
https://calculator-mk.fastmcp.app/mcp - Once connected, you can use calculator functions directly in your conversations:
- Ask Claude to "add 10 and 5"
- Request calculations like "multiply 25 by 4"
- Perform complex math operations through natural language
The server supports the following calculator operations:
- Addition (
add) - Subtraction (
subtract) - Multiplication (
multiply) - Division (
divide) - Includes zero division protection
This MCP server exposes the following calculator tools:
- add: Adds two integers
- subtract: Subtracts two integers
- multiply: Multiplies two integers
- divide: Divides two integers (with zero division check)
Adds two numbers.
Subtracts num2 from num1.
Multiplies two numbers.
Divides num1 by num2. Raises ValueError if dividing by zero.
- Python 3.x required
- Uses FastMCP for MCP implementation
This project is open source. Feel free to use and modify.