A Model Context Protocol (MCP) server that provides Claude with advanced mathematical calculation capabilities
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add mathematical-calculator -- python3 -m venv venv~/.codex/config.toml
[mcp_servers.mathematical-calculator]
command = "python3"
args = ["-m", "venv", "venv"]
# codex mcp add mathematical-calculator -- python3 -m venv venv~/.cursor/mcp.json
{
"mcpServers": {
"mathematical-calculator": {
"command": "python3",
"args": [
"-m",
"venv",
"venv"
]
}
}
}.vscode/mcp.json
{
"servers": {
"mathematical-calculator": {
"type": "stdio",
"command": "python3",
"args": [
"-m",
"venv",
"venv"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"mathematical-calculator": {
"command": "python3",
"args": [
"-m",
"venv",
"venv"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"mathematical-calculator": {
"command": "python3",
"args": [
"-m",
"venv",
"venv"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"mathematical-calculator": {
"command": "python3",
"args": [
"-m",
"venv",
"venv"
]
}
}
}