mcp-calculator
Click on "Install 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-calculatoradd 123 and 456"
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
A simple Model Context Protocol server that exposes basic calculator tools. Built with the official mcp Python SDK and FastMCP.
Tools
Tool | Description |
| Add two numbers |
| Subtract one number from another |
| Multiply two numbers |
| Divide one number by another |
| Raise a number to a power |
| Compute the square root of a number |
Related MCP server: MCP Playground Server
Setup
Requires Python 3.12+ and uv.
cd mcp-calculator
uv syncRun
Start the server (stdio transport, default for MCP clients like Cursor):
uv run calculator_server.pyFor HTTP transport (e.g. MCP Inspector), change the last line of calculator_server.py to mcp.run(transport="streamable-http") and connect to http://localhost:8000/mcp.
Cursor configuration
Add this to your Cursor MCP settings:
{
"mcpServers": {
"calculator": {
"command": "uv",
"args": [
"run",
"--directory",
"/Users/premithun/Downloads/cursor_projects/mcp-calculator",
"calculator_server.py"
]
}
}
}Replace the --directory path with the absolute path to this project on your machine.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceA simple MCP server that provides basic calculator functionality for performing mathematical operations. Built with FastMCP and demonstrates fundamental MCP server implementation patterns.Last updated
- Flicense-qualityDmaintenanceA simple educational MCP server providing basic math operations, string manipulation, and greeting functionality. Demonstrates how to implement MCP tools for learning purposes.Last updated
- Alicense-qualityCmaintenanceA simple MCP server that provides calculator tools for basic arithmetic operations with zero-division protection.Last updated48ISC
- Flicense-qualityDmaintenanceA simple MCP server that provides basic calculator operations such as add, subtract, multiply, and divide.Last updated
Related MCP Connectors
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
Educational MCP server with 17 math/stats tools, visualizations, and persistent workspace
A basic MCP server to operate on the Postman API.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mitvvce-mdot/mcp-calculator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server