Calculator MCP 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., "@Calculator MCP ServerCalculate 12 + 7"
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.
Calculator MCP Server
A simple Model Context Protocol server that exposes calculator tools for addition, subtraction, multiplication, and division.
Features
Add two numbers
Subtract two numbers
Multiply two numbersP
Divide two numbers with zero-division protection
Related MCP server: Node.js MCP Server
Requirements
Node.js 18 or newer
npm
Install
npm installRun locally
node npx-server.jsUse with npx
This package exposes a CLI entry point through the bin field in package.json.
npx calculator-mcp-serverInspect with the MCP Inspector
npx @modelcontextprotocol/inspector npx calculator-mcp-serverClaude Desktop or VS Code configuration
{
"servers": {
"Calculator": {
"command": "npx",
"args": ["-y", "sk-calculator-mcp-server"],
"env": {}
}
}
}Publish to npm
npm login
npm config set //registry.npmjs.org/:_authToken=YOUR_TOKEN
npm publish --access publicBefore publishing, make sure the package name is available on npm.
Project files
npx-server.js: MCP server implementationpackage.json: package metadata and CLI entry pointI have built this just for learning !
This server cannot be deployed
Maintenance
Related MCP Connectors
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
Math MCP server for primality, factorization, Java templates, and integer multiplication.
A simple MCP server built with FastMCP and python
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA simple MCP server that provides basic calculator functionality for performing mathematical operations. Built with FastMCP and demonstrates fundamental MCP server implementation patterns.-
- AlicenseDqualityDmaintenanceA basic MCP server that provides arithmetic calculation tools and system information retrieval capabilities, including platform, CPU, and memory details.2MIT
- AlicenseAqualityDmaintenanceA simple MCP server that provides basic calculator operations such as add, subtract, multiply, and divide.4MIT
- AlicenseNot gradedqualityDmaintenanceA simple MCP server that provides a calculator tool for basic arithmetic operations.3 npmMIT