Agentβ™₯︎Age
Catalog

codecalc

Official

by The-40-Thieves Β· Python

Code & logic calculator for AI agents: 31 languages, symbolic math, SMT/logic solving, Big-O.

codecalc β€” universal code & logic calculator for AI models (MCP)

codecalc is an offline, self-hosted Model Context Protocol (MCP) server that provides an AI agent with calculator, code runner, and logic checker capabilities. It runs in 31 programming languages, performs exact symbolic math, solves SMT/logic problems, and measures complexity, exposed as 52 MCP tools.

πŸ› οΈ Key Features

  • Offline, self-hosted MCP server
  • Calculator, code runner, and logic checker toolset
  • Executes code in 31 languages
  • Exact symbolic math
  • SMT/logic problem solving
  • Complexity measurement
  • Exposes 52 MCP tools

πŸš€ Use Cases

  • Getting correct computed results for AI agents
  • Running multi-language code as part of agent workflows
  • Checking and solving logic/SMT tasks
  • Computing complexity metrics

⚑ Developer Benefits

  • Offers 52 tools covering code execution, symbolic math, logic checking, and complexity
  • Supports exact symbolic math rather than guessed answers

⚠️ Limitations

  • The provided documentation excerpt does not specify deployment steps beyond setup via uvx 'codecalc[full]' setup --write.

Topics

ai-agentscalculatorcode-executionmcpmcp-servermodel-context-protocolpythonrustsandboxsymbolic-math