Skip to main content

Calculator MCP Server

A Model Context Protocol (MCP) server that provides calculator operations (add, subtract, multiply, divide).

Installation

Via npx (Node.js - recommended)

npx @mark.anthony987654321/calculator-mcp

Via uvx (Python - recommended)

uvx mark-anthony-calculator-mcp

Local Installation

Node.js:

npm install
npm start

Python:

pip install -e .
python -m calculator_mcp

Available Tools

  • add: Add two numbers together
  • subtract: Subtract the second number from the first number
  • multiply: Multiply two numbers together
  • divide: Divide the first number by the second number

Usage

This MCP server is designed to be used with MCP-compatible clients. Configure your MCP client to use this server.

Example Configuration

For use with Claude Desktop or other MCP clients, add to your MCP configuration:

Using npx (Node.js):

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": ["@mark.anthony987654321/calculator-mcp"]
    }
  }
}

Using uvx (Python):

{
  "mcpServers": {
    "calculator": {
      "command": "uvx",
      "args": ["mark-anthony-calculator-mcp"]
    }
  }
}

Development

Node.js:

# Install dependencies
npm install

# Run the server
npm start

Python:

# Install from PyPI
pip install mark-anthony-calculator-mcp
calculator-mcp

# Or install locally for development
pip install -e ".[dev]"
python -m calculator_mcp

License

MIT

Metadata

Release files for mark-anthony-calculator-mcp 1.0.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mark-anthony-calculator-mcp 1.0.21
File Size Uploaded Provenance
mark_anthony_calculator_mcp-1.0.21.tar.gz 4.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mark-anthony-calculator-mcp 1.0.21
File Interpreter ABI Platform
mark_anthony_calculator_mcp-1.0.21-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / mark_anthony_calculator_mcp-1.0.21.tar.gz

Download URL mark_anthony_calculator_mcp-1.0.21.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c5b9221cff15acdfa62f1833da1ba9170cac42439c2daaedba125069fc516564
BLAKE2b-256 checksum
How to use checksums
43da1490c80551d35d1837bbe8aac7b5c7a59ba96213d49d18917f05d4429302
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / mark_anthony_calculator_mcp-1.0.21-py3-none-any.whl

Download URL mark_anthony_calculator_mcp-1.0.21-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2be320282ac6a8fd400c4e925c2d1c0c978ab1ad6bcd91cf13fa2a2f5a8eca6c
BLAKE2b-256 checksum
How to use checksums
c53c5634ee8a326398c9ad9774b349edd08d7055ee63d60ee1b2d5954fe90fc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for mark-anthony-calculator-mcp 1.0.21

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page