MCP Calculator Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Calculator ServerWhat is 144 divided by 12?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🧮 MCP Calculator Server
🌟 Project Overview
This project demonstrates how to build a simple Model Context Protocol (MCP) server using Python.
The MCP server exposes calculator operations as tools that can be called by an MCP-compatible client such as Cursor.
Instead of manually writing Python code for every calculation, Cursor can understand the user's request and call the appropriate MCP tool.
🔥 Available Calculator Tools
🔧 Tool | 📝 Description | 💡 Example |
➕ | Adds two numbers |
|
➖ | Subtracts two numbers |
|
✖️ | Multiplies two numbers |
|
➗ | Divides two numbers |
|
🔢 | Calculates power |
|
🏗️ Architecture
👤 USER
│
│
▼
🤖 CURSOR AGENT
│
│ MCP Protocol
▼
🔌 MCP CLIENT
│
│ stdio
▼
🧮 CALCULATOR MCP SERVER
│
┌────────────┼────────────┐
│ │ │
▼ ▼ ▼
➕ add ➖ subtract ✖️ multiply
│ │ │
└────────────┼────────────┘
│
┌─────┴─────┐
▼ ▼
➗ divide 🔢 powerThis server cannot be deployed
Maintenance
Related MCP Connectors
Tested financial & practical calculators as free, no-auth MCP tools for AI agents.
Free calculators as MCP tools: finance, taxes, health, units, dates. Search, fetch & compute.
SmartMoney77 MCP v0.6.0 — 14 public tools that turn financial questions into exact numbers and citable links. New: historical_investment_return and compare_investments, which compute "what if I had invested" results from real yearly price data. Also compound interest, FIRE number, credit-card payoff, emergency fund, inflation, latte factor, investment fees, cost of waiting, plus discovery/deep-link/share-pack tools for a catalog of calculators in 6 languages (he/en/ar/es/pt/in). Public, no login. Endpoint: https://smartmoney77.com/mcp
Math.js MCP — wraps the mathjs.org API (free, no auth)
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceA calculator server that exposes mathematical functions as tools (add, subtract, multiply, divide, square, power, square root), enabling language models to perform calculations through Model Context Protocol (MCP).-
- AlicenseNot gradedqualityDmaintenanceProvides a comprehensive set of mathematical functions as MCP tools, enabling language models to perform calculations including arithmetic, trigonometry, logarithms, and more.61MIT
- FlicenseNot gradedqualityCmaintenanceProvides basic calculator operations (add, subtract, multiply, divide) as MCP tools for use with Claude Desktop and other MCP clients.-
- AlicenseAqualityBmaintenanceProvides basic arithmetic operations (add, subtract, multiply, divide) through MCP, enabling AI clients to perform calculations via natural language.46MIT