Runs code in many languages in a sandbox and performs exact symbolic math, SMT/logic checks and complexity analysis for AI models.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add codecalc -- uvx codecalc~/.codex/config.toml
[mcp_servers.codecalc]
command = "uvx"
args = ["codecalc"]
# codex mcp add codecalc -- uvx codecalc~/.cursor/mcp.json
{
"mcpServers": {
"codecalc": {
"command": "uvx",
"args": [
"codecalc"
]
}
}
}.vscode/mcp.json
{
"servers": {
"codecalc": {
"type": "stdio",
"command": "uvx",
"args": [
"codecalc"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"codecalc": {
"command": "uvx",
"args": [
"codecalc"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"codecalc": {
"command": "uvx",
"args": [
"codecalc"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"codecalc": {
"command": "uvx",
"args": [
"codecalc"
]
}
}
}