Manual setup required. The maintainer's config contains paths only you know - edit the placeholders below before adding it to Claude Code.
1
Prepare the server locally
Run this once before adding it to Claude Code.
cd ~/Code/mcp-math
python3 -m venv .venv
source .venv/bin/activate
pip install sympy mcp2
Register it in Claude Code
claude mcp add mcp-math -- /Users/YOUR_USERNAME/Code/mcp-math/.venv/bin/python3 /Users/YOUR_USERNAME/Code/mcp-math/src/server.pyReplace any placeholder paths in the command with the real path on your machine.
Available Tools (3)
Once configured, mcp-math gives your AI agent access to:
mikey_math_exactEvaluate mathematical expressions using exact arithmetic.exprmikey_math_verifyPerform verification checks on a value.valuecheckmikey_math_exportGenerate notebook-ready Python code for further analysis.Try It Out
After setup, try these prompts with your AI agent:
→Calculate the exact value of 1/3 + 1/4 using mikey_math_exact.
→Verify if the result 42 satisfies the integer check using mikey_math_verify.
→Export the current math problem solution to notebook-ready Python code.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Python 3.8+ with pip installed
Conare · memory for coding agents
Keep this setup from going cold
Save the docs, env vars, and workflow around mcp-math in Conare so Claude Code, Codex, and Cursor remember it next time.
Remember this setup$npx conare@latest