MCP server/other

Arithmuse MCP Server

A minimal Python MCP server that provides basic calculator tools

akshithambekar/calculator-mcp ↗by akshithambekarupdated
1

Add it to Claude Code

claude mcp add arithmuse -- python -m arithmuse.server
2

Make your agent remember this setup

arithmuse's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.

npx conare@latest

Free · one command · indexes the sessions already on disk. Set up in the browser instead →

What it does

  • Provides standard arithmetic operations: add, subtract, multiply, and divide
  • Supports both Streamable HTTP and stdio transport protocols
  • Includes error handling for division-by-zero scenarios
  • Minimalist Python-based architecture

Tools 4

addAdds two numbers together
subtractSubtracts the second number from the first
multiplyMultiplies two numbers
divideDivides the first number by the second

Environment Variables

MCP_TRANSPORTSets the transport protocol, use 'stdio' for local execution
DEDALUS_SERVER_NAMEOptional server name for Dedalus deployment

Try it

What is 1234 plus 5678?
Subtract 450 from 1200.
Multiply 15 by 24.
Divide 100 by 4.
Original README from akshithambekar/calculator-mcp

Arithmuse

Arithmuse is a minimal Python MCP server that provides basic calculator tools:

  • add
  • subtract
  • multiply
  • divide

Requirements

  • Python 3.10+

Install

python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"

Run locally

python -m arithmuse.server

By default, this starts Streamable HTTP transport on 0.0.0.0:$PORT (or port 8000) with MCP endpoint at /mcp.

To run with stdio transport instead:

MCP_TRANSPORT=stdio python -m arithmuse.server

Dedalus deployment notes

  • Dedalus entrypoint:
    • python main.py
  • This server uses dedalus_mcp and serves /mcp via server.serve().
  • Optional env var:
    • DEDALUS_SERVER_NAME (default: calculator-mcp; should match your Dedalus slug)
  • Keep the service stateless; no persistent filesystem assumptions are required.
  • Ensure your Dedalus runtime installs project dependencies from pyproject.toml.
  • Health check expectation: process starts successfully, remains running, and responds on /mcp.
  • This repo keeps the arithmuse package at project root so imports work even if the platform does not pip install . first.

Available tools

  • add(a, b) -> a + b
  • subtract(a, b) -> a - b
  • multiply(a, b) -> a * b
  • divide(a, b) -> a / b (returns an error for divide-by-zero)

Test

pytest -q

Frequently Asked Questions

What are the key features of Arithmuse?

Provides standard arithmetic operations: add, subtract, multiply, and divide. Supports both Streamable HTTP and stdio transport protocols. Includes error handling for division-by-zero scenarios. Minimalist Python-based architecture.

What can I use Arithmuse for?

Enabling LLMs to perform accurate mathematical calculations. Integrating basic calculator functionality into AI-driven workflows. Testing MCP server connectivity and tool execution.

How do I install Arithmuse?

Install Arithmuse by running: python -m venv .venv && source .venv/bin/activate && pip install -e ".[dev]"

What MCP clients work with Arithmuse?

Arithmuse works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Conare · memory for coding agents

Turn this server into reusable context

Keep Arithmuse docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Set up free$npx conare@latest