xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
  1. Home
  2. ›
  3. Providers
  4. ›
  5. Code Runner

Code Runner logo

Code Runner

4 tools

$0.01/call

Execute code snippets in multiple programming languages

​
​
Execute Code
execute_code

Execute JavaScript or Python code securely with comprehensive error handling and security measures


flat

$0.01/call

Execute Code With Variables
execute_code_with_variables

Execute JavaScript or Python code with dynamic input variables that can be defined and passed as key-value pairs


flat

$0.01/call

Get Capabilities
get_capabilities

Get information about supported languages and execution capabilities


flat

$0.01/call

Validate Code
validate_code

Validate code for security and syntax issues without executing it


flat

$0.01/call

Connect Code Runner tools
​
​

Cursor

Claude Code

Claude Desktop

Windsurf

VS Code

Cline

Roo Code

ChatGPT

Gemini CLI

Amazon Q

Goose

Augment

n8n

API / cURL

AI SDK

TypeScript SDK

Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "code-runner": {
      "url": "https://code-runner.mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
Or connect all tools

Access all tools (including Code Runner) through a single MCP connection.

https://mcp.xpay.sh/mcp?key=***
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
Agent Discovery

Machine-readable catalogs for LLM agents and automation.

llms.txt — Human-readable tool catalog
curl https://xpay.tools/llms.txt
agents.txt — Structured JSON for agents
curl https://xpay.tools/agents.txt
skill.md — Claude Code skill
curl https://xpay.tools/skill.md
Pricing

Pay per tool call. No subscriptions.

4 Code Runner tools available
Frequently Asked Questions

Code Runner is an API provider available on xpay with 4 tools. Execute code snippets in multiple programming languages All tools are pay-per-call with no monthly fees.

Code Runner tools are priced at $0.01 per call. You only pay when you use a tool — there are no subscriptions or monthly fees. New accounts get $5 in free credits to try any tool.

Each xpay provider has its own MCP endpoint. For Claude Code: claude mcp add --transport http code-runner "https://code-runner.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY". For Cursor/Windsurf/Cline/VS Code, add the same URL to mcp.json. To get every xpay provider in one connection, use https://mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY and discover tools with xpay_discover / xpay_run.

Code Runner provides 4 tools: Execute Code, Execute Code With Variables, Get Capabilities, Validate Code. Each tool can be called independently and has its own per-call pricing.

No. With xpay, one API key gives you access to all 4 Code Runner tools plus tools from many other providers. You don't need to sign up for Code Runner's API directly — xpay handles authentication, billing, and rate limiting.

Yes. Every new xpay account gets $5 in free credits — no credit card required. Sign up at xpay.tools to start running Code Runner tools immediately.

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service
✦
xpay Assistant
Code Runner Tools

Ask me about tools, pricing, or how to connect

What tools does Code Runner offer?
How do I connect via MCP?
Show me pricing
DocsCollectionsExplore