mcpbeat Sign in

Code Runner MCP Server

local only

Code Runner runs on your own machine — the client starts it, so there is no endpoint to ping. 1 601 installs a week from npm. Last commit 22 Sep 2025.

Code Runner MCP Server which can run code in various programming languages.

Installs per day peak 567 · avg 91 · -26% w/w
a month agotoday
1 601
Installs / week
npm · mcp-server-code-runner
246
Stars
8 open issues
22 Sep 2025
Last commit
0 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 19 h ago · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Builds a file path from a variable src/server.ts:60
  const filePath = path.join(tmpDir, fileName);

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add code-runner -- npx -y mcp-server-code-runner
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "code-runner": {
      "args": [
        "-y",
        "mcp-server-code-runner"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.code-runner]
command = "npx"
args = ["-y", "mcp-server-code-runner"]
.cursor/mcp.json
{
  "mcpServers": {
    "code-runner": {
      "args": [
        "-y",
        "mcp-server-code-runner"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "code-runner": {
      "args": [
        "-y",
        "mcp-server-code-runner"
      ],
      "command": "npx"
    }
  }
}

Alternatives to Code Runner

same job, measured the same way
CICADA
by wende

Code intelligence MCP server for 17+ programming languages.

265 installs/wk local only
Codelogic MCP Server
by codelogicincengineering

An MCP Server to utilize Codelogic's rich software dependency data in your AI programming assistant.

55 installs/wk local only
Codemunch Pro
by bigjai

Code indexing MCP: 15 tools, 10 languages, hybrid search, call graphs, O(1) retrieval.

125 installs/wk local only
Tokennuke
by bigjai

Code indexing MCP: 15 tools, 10 languages, hybrid search, call graphs, O(1) retrieval.

61 installs/wk local only
Simple MCP Server
by ormastes

Simple Language MCP server — code intelligence, debugging, build, test, and VCS tools

58 installs/wk local only
Comfyui MCP
by artokun

MCP server + Claude Code plugin for ComfyUI: run workflows, generate images, manage models & VRAM.

40 093 installs/wk local only
code-index
by regsorm

Rust code index MCP server, native 1C:Enterprise (BSL) support. 32 tools, AST for 14 languages.

1 032 installs/wk local only
Github
by davidweb3-ctrl

GitHub MCP Server - List PRs, issues, repo info, and search code

21 installs/wk local only

Code Runner — questions

Answers built from our own checks of this server.

Why is there no uptime for Code Runner?
Code Runner runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package mcp-server-code-runner was installed 1 601 times last week.
How do I connect Code Runner?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls mcp-server-code-runner straight from npm; nothing to host, nothing to sign up for.
How many people use Code Runner?
The npm package mcp-server-code-runner was installed 1 601 times in the last week. Week over week that is -26%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Code Runner open source?
Yes — it is published under the MIT licence, written in TypeScript, 246 stars on GitHub and 8 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.