Arithmuse MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

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

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add arithmuse -- node "<FULL_PATH_TO_CALCULATOR_MCP>/dist/index.js"

Replace <FULL_PATH_TO_CALCULATOR_MCP>/dist/index.js with the actual folder you prepared in step 1.

README.md

A minimal Python MCP server that provides basic calculator tools

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

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

Configuration

claude_desktop_config.json
{"mcpServers": {"arithmuse": {"command": "python", "args": ["-m", "arithmuse.server"], "env": {"MCP_TRANSPORT": "stdio"}}}}

Try it

What is 1234 plus 5678?
Subtract 450 from 1200.
Multiply 15 by 24.
Divide 100 by 4.

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.

Turn this server into reusable context

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

Need the old visual installer? Open Conare IDE.
Open Conare