FRENES

Code execution · MCP server

Codecalc: MCP server, setup and security

Codecalc is an open-source MCP server that lets an AI agent execute code and solve exact symbolic mathematics and logic problems. Its repository has 5 stars and its last commit is from October 24, 2026 and it is licensed under Apache-2.0.

Actively maintainedSystem access

What Codecalc does

According to its repository: “Code and logic calculator with an offline core: run code, exact symbolic math, SMT/logic and complexity analysis, with optional gVisor/AppContainer sandboxing.”

An MCP server gives an AI agent extra tools it calls during the conversation: the agent reads their description, decides to use them and gets the result back. Codecalc is listed under Code execution, a category of 32 servers in the directory, where it ranks #29 by stars.

Topics declared by the repository: ai-agents, calculator, code-execution, python, rust, sandbox.

Installing and connecting Codecalc

Distribution modes declared in the official MCP registry:

  • PyPI package (Python, started with uvx or pip)

Like any MCP server, you declare it in your client's configuration (Claude Desktop, Claude Code, Cursor, VS Code, Codex…): a name, the command that starts it or its URL, and any environment variables. The client then starts it and lists its tools. Project language: Python. Listed systems: macOS, Windows, Linux.

Security: what to check

An MCP server runs code with the rights you give it, and the model reads its tool descriptions: a malicious or compromised server can hijack the agent. Read the code, or pick a maintained and widely used server, before connecting it.

Points found for Codecalc:

  • System access: the Code execution category gives the agent control over files, a terminal, code or a browser. A booby-trapped instruction in content the agent reads (prompt injection) can then turn into an action.

Good practice: grant only the rights needed (least privilege), require human approval for irreversible actions, and run the AI agent security check.

Project activity and maintenance

Created on August 7, 2026, the The-40-Thieves/codecalc repository has 5 stars and 1 forks, with 10 open issues. It has more stars than 13% of the servers in the directory. It received changes this month. Version published in the registry: 0.13.0 (September 21, 2026).

Stars measure attention, not quality: a recent, heavily promoted project can collect them fast, while a useful but niche server will have few.

Container useContainer use : 4.1K4.1KMATLAB MCP ServerMATLAB MCP Server : 1.7K1.7KLLM SandboxLLM Sandbox : 1.1K1.1KTidewave PhoenixTidewave Phoenix : 858858Tidewave RailsTidewave Rails : 476476SuperserveSuperserve : 466466IPhone UseIPhone Use : 345345OrcaReplayOrcaReplay : 281281CodecalcCodecalc : 55
GitHub stars of the most followed servers in the category (log scale); Codecalc in orange. Checked October 25, 2026.

Verdict

Codecalc is a reasonable choice; check the points below before connecting it.

Strengths

  • Active project: recent commit
  • Listed in the official MCP registry
  • Permissive licence (Apache-2.0)

Limitations

  • Few visible users

Avoid if…

  • You cannot isolate the agent (sandbox, container)

Frequently asked questions

How do I install Codecalc?

Codecalc is distributed as PyPI package (Python, started with uvx or pip). Add it to your client's MCP configuration (Claude Desktop, Cursor, VS Code…) following the README of The-40-Thieves/codecalc.

Is Codecalc free?

The code is published under the Apache-2.0 licence and can be used free of charge.

Is Codecalc safe?

Points to watch: system access. Give it minimum rights and approve sensitive actions.

Is it an official server?

Nothing says so: it is a project published by The-40-Thieves on GitHub. Check who maintains it before giving it access.

What are the alternatives to Codecalc?

In the same category: Container use, LLM Sandbox, Tidewave Phoenix, and Superserve. Container use and LLM Sandbox score higher on our grid.

Related articles

Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score