独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
P

pratham-jain33/hackerearth-mcp

MCP server that executes code in 24 languages on HackerEarth sandboxed cloud servers, so AI assistants run code and see real output instead of predicting it.

装之前:有可直接复制的命令 · 许可证 MIT · 链接可访问

SECURITY.md ✓
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
  1. 复制上面的命令
  2. 粘成 claude_desktop_config.json 里 mcpServers 的一项(本地服务器用 command + args,示例见 客户端接法)
  3. 重启客户端
客户端配置(取自该仓库的安装命令)
{
  "mcpServers": {
    "pratham-jain33-hackerearth-mcp": {
      "command": "uvx",
      "args": ["hackerearth-mcp"]
    }
  }
}

解析自我们于 2026-10-26 抓取的该仓库 README;我们未执行过。

command/args 来自仓库写明的安装命令;不确定时请以该项目 README 为准。
VS Code(.vscode/mcp.json —— 键名是 servers)
{
  "servers": {
    "pratham-jain33-hackerearth-mcp": {
      "command": "uvx",
      "args": ["hackerearth-mcp"]
    }
  }
}
VS Code 顶层键是 <code>servers</code>,其余与上面那份相同。
Claude Code(命令行)
claude mcp add --transport stdio pratham-jain33-hackerearth-mcp -- uvx hackerearth-mcp
Claude Code 不收 JSON 文件,用这条命令直接加。
配置项的键名以你的客户端为准:客户端与 CLI
★ 数取值
0 ★ · pratham-jain33/hackerearth-mcp · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-23 · 最近见到 2026-11-14 · 共见到 26 次 · 被 23 个来源列出
评分构成
综合分 2,300 · 23 个来源 · mcp
安装
uvx hackerearth-mcp
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 uvx hackerearth-mcp。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 pratham-jain33/hackerearth-mcp;我们收录于 2026-10-23;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# hackerearth-mcp

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

mcp-name: io.github.pratham-jain33/hackerearth-mcp
Also listed on Glama with one-click deploy.
Give any AI assistant a code run button.
> Unofficial community project. Not made by, endorsed by, or affiliated with HackerEarth. You bring your own free HackerEarth API key.
## Why
AI assistants are great at writing code and terrible at knowing whether it works. They guess. This server plugs into any MCP-compatible assistant (Claude Desktop, Claude Code, Cursor, and more) and lets it actually run code in 24 programming languages on HackerEarth's sandboxed servers, then read the real output. No local toolchains to install. Nothing untrusted ever touches your machine.
## Tools
| Tool | Description |
| runcode | Sends code plus a language to HackerEarth, waits for it to run, and returns the printed output and any error messages. |
| listlanguages | Lists every language HackerEarth can run, with the exact identifiers to pass to runcode. Takes no inputs. |
## Installation
bash
# Quick install via uvx (recommended)
uvx hackerearth-mcp
bash
# Or install with pip
pip install hackerearth-mcp
bash
# Install from source
git clone https://github.com/pratham-jain33/hackerearth-mcp
cd hackerearth-mcp
python -m venv .venv
.venv/bin/pip install -e .
## Features
Exposes two MCP tools: runcode and listlanguages.
Executes code in 24 programming languages via HackerEarth's sandboxed cloud servers.
Provides friendly language aliases (e.g., python → PYTHON3).
Returns real program output and error messages.
Gracefully handles missing HACKEREARTHKEY and unknown languages without making network calls.
Lists all supported language identifiers.
Simple installation via uvx or pip.
Compatible with any MCP‑compatible AI assistant (Claude Desktop, Cursor, etc.).
## Tech/framework used
Language: Python (>=3.10)
Core libraries: FastMCP (provides MCP server framework), requests (HTTP client)
## Quickstart
1. Get a free HackerEarth API key
Register a client in the HackerEarth developer dashboard to receive a client-secret. The free tier includes a generous request quota.
2. Install
No cloning needed:
bash
uvx hackerearth-mcp
or with pip:
bash
pip install hackerearth-mcp
From source instead:
bash
git clone https://github.com/pratham-jain33/hackerearth-mcp
cd hackerearth-mcp
python -m venv .venv
.venv/bin/pip install -e .
3. Connect your assistant
Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claudedesktopconfig.json
Windows: %APPDATA%\Claude\claudedesktopconfig.json
json
"mcpServers": {
"hackerearth": {
"command": "uvx",
"args": ["hackerearth-mcp"],
"env": {
"HACKEREARTHKEY": "paste-your-client-secret-here"
From source, point at your checkout instead:
json
"mcpServers": {
"hackerearth": {
"command": "/absolute/path/to/hackerearth-mcp/.venv/bin/python",
"args": ["/absolute/path/to/hackerearth-mcp/server.py"],
"env": {
"HACKEREARTHKEY": "paste-your-client-secret-here"
Restart Claude Desktop, then try: "run this Python program and tell me what it prints: print(6 7)"
## Configuration
| Variable | Required | Description |
| HACKEREARTHKEY | Yes | Your HackerEarth client-secret. Read from the environment, never hardcoded, never sent to the assistant in chat. |
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/pratham-jain33-hackerearth-mcp/)
来源
awesome · https://github.com/pratham-jain33/hackerearth-mcp
按领域浏览
MCP 服务
收录来源
23 个独立来源
收录于
今天
安全策略
该仓库根目录有 SECURITY.md(我们只核文件存在,未核内容)

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引