
Code Sandbox API
Gives Claude a sandboxed runtime for executing Python, JavaScript, and SQL snippets on demand. The server connects to a remote API at klymax402.com and uses x402 micropayments, meaning you'll incur small charges per execution. Useful when you need to test code fragments, run quick calculations, or validate SQL queries without spinning up local environments. The GitHub repo is sparse on implementation details, but the core value is clear: outsourced code execution with pay-per-use billing. Reach for this when you want Claude to run actual code and return real output rather than just generating examples.
- tool
- 1
- transport
- SSE
- last updated
- May 16, 2026
Tools
1 toolsPublic tool metadata for what this MCP can expose to an agent.
code_execute_sandboxUse this when you need to execute Python, JavaScript, or SQL code in a sandboxed environment and get the output. Supports Python (subprocess), JavaScript (eval), and SQL (in-memory SQLite). 1. output3 params
Use this when you need to execute Python, JavaScript, or SQL code in a sandboxed environment and get the output. Supports Python (subprocess), JavaScript (eval), and SQL (in-memory SQLite). 1. output
codestringlanguagestringpython · javascript · sqltimeoutnumberSponsors
Readme
Code Sandbox API
Execute Python, JavaScript, or SQL in a sandbox. Get stdout, execution time, errors. 10s timeout. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.
Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.
Quickstart -- MCP
Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):
{
"mcpServers": {
"code-sandbox": {
"url": "https://code-sandbox.api.klymax402.com/mcp"
}
}
}
Quickstart -- HTTP (x402)
curl -X POST "https://code-sandbox.api.klymax402.com/api/execute" \
-H "Content-Type: application/json" \
-d '{"code":"...","language":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response body
Details
- Repository
- github.com/br0ski777/code-sandbox-x402
- Website
- github.com/Br0ski777/code-sandbox-x402
- Category
- Databases
- Transport
- SSE
- Registry
- MCP registry, active
More from br0ski777
- Company Enrichment API
- Crontab Generator API
- DeFi Liquidation Oracle API
- Email Send API
- GDPR Scanner API
- Hash Generator API
- HL Portfolio API1
- Hyperliquid Spot API
- Hyperliquid Whale Position Tracker API
- Image Resize API
- IP Geolocation API
- JSON Validator API
- Phone Number Validation API
- Regex Tester API
- Sentiment Analyzer API
- Slug Generator API
- Social Profile Enrichment API
- Solana Pool Liquidity Scanner API
- Solana Priority Fee Estimator API
- Technology Stack Detection API
- Text Classifier API
- Text Translator API
- Timezone Converter API
- Token Holders API