Install Piston in Claude Code
This server doesn't publish a package to a registry, so follow the install steps in its README. Once it runs, register it with Claude Code:
claude mcp add piston -- <command to start the server>Frequently asked questions
What does the Piston MCP server do?
Execute code through the Piston remote code execution engine.
Is the Piston MCP server free?
The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.
Does Piston run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add Piston to Claude Code?
Follow the install steps in the project's README at https://github.com/alvii147/piston-mcp, then register it with "claude mcp add".
More code execution MCP servers
View allcodecalc
The-40-Thieves/codecalc
Code and logic calculator with an offline core: run code, exact symbolic math, SMT/logic and complexity analysis, with optional gVisor/AppContainer sandboxing.
Prolog Reasoner
rikarazome/prolog-reasoner
SWI-Prolog execution for LLMs with CLP(FD), negation as failure and recursion.
jobd
musharna/jobd
Self-hostable GPU-aware job broker: dispatch long-running or GPU jobs that outlive the session, route them by VRAM tier and monitor them across sessions.
Edict
Sowiedu/Edict
Agent-oriented programming language: agents emit a JSON AST that the compiler validates, type- and effect-checks, verifies with Z3/SMT and compiles to WASM.
E2b Sandbox
asif-nvc/e2b-sandbox-mcp
E2B cloud sandboxes: create isolated Linux VMs, clone repos, run commands, manage files and perform git operations without touching the local machine.
Srunx
ksterx/srunx
Submit SLURM jobs, run YAML workflows, monitor GPU resources, manage SSH profiles and sync files with local or SSH-remote HPC clusters.