What it does
Give any AI assistant a code run button via HackerEarth. 24 languages, zero setup.
- Connects Runs on your computer
- Account or key Needs HACKEREARTH_KEY
- Category Developer tools
Use together with
Skills that teach the AI this kind of work; they work alongside this one
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Why it ranks here
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 0/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 7/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 7/100 |
Quality: Passed 1/1 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Install
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install HackerEarth MCP. Follow https://mcp.popnx.com/i/pratham-jain33-hackerearth-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 1/1 checks · Runs on your computer · ✓ Commands checked Nov 13, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Let AI install it
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server HackerEarth MCP for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "hackerearth": { "command": "uvx", "args": [ "hackerearth-mcp" ], "env": { "HACKEREARTH_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For HACKEREARTH_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the HackerEarth MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install uv (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
uv --version- A version number such as uv … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
uv --versionInstall once; it works for everything that needs uv
Sign up and create a HackerEarth MCP key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Open the Claude desktop app’s settings file
SettingsDeveloperEdit Config
Paste these settings and save the file
{ "mcpServers": { "hackerearth": { "command": "uvx", "args": [ "hackerearth-mcp" ], "env": { "HACKEREARTH_KEY": "your-value" } } } }Paste the key only into the app’s field, never into a chat or to anyone
Quit Claude and open it again
Try it
Use HackerEarth MCP and tell me what you can do for me, then show me one thing✓ If Claude says it is using HackerEarth MCP or shows a HackerEarth MCP tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect HackerEarth MCP yet
HackerEarth MCP runs on your computer, but ChatGPT can only connect servers that run on the web
What you can do instead
A · Use an app that can connect HackerEarth MCP
- You need a HackerEarth MCP key (create it on the maker’s site) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
- You need a HackerEarth MCP key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
- You need a HackerEarth MCP key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
- You need a HackerEarth MCP key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
B · Others in Developer tools that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Works with Claude Code, with some setup first
You need a HackerEarth MCP key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
Let AI install it
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server HackerEarth MCP for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user hackerearth --env HACKEREARTH_KEY=your-value -- uvx hackerearth-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For HACKEREARTH_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the HackerEarth MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install uv (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
uv --version- A version number such as uv … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
uv --versionInstall once; it works for everything that needs uv
Sign up and create a HackerEarth MCP key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Open Terminal
Mac: press Command+Space and type Terminal · Windows: open PowerShell
Paste this command and press Enter
claude mcp add --scope user hackerearth --env HACKEREARTH_KEY=your-value -- uvx hackerearth-mcpReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
Type /mcp in Claude Code
You should see HackerEarth MCP listed as connected
Try it
Use HackerEarth MCP and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using HackerEarth MCP or shows a HackerEarth MCP tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a HackerEarth MCP key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
Let AI install it
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server HackerEarth MCP for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "hackerearth": { "command": "uvx", "args": [ "hackerearth-mcp" ], "env": { "HACKEREARTH_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For HACKEREARTH_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the HackerEarth MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install uv (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
uv --version- A version number such as uv … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
uv --versionInstall once; it works for everything that needs uv
Sign up and create a HackerEarth MCP key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Fill in your key
In the HackerEarth MCP settings, HACKEREARTH_KEY is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Open the AI chat in Cursor in Agent mode
Try it
Use HackerEarth MCP and tell me what you can do for me, then show me one thing✓ If Cursor says it is using HackerEarth MCP or shows a HackerEarth MCP tool in the answer, you are connected
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a HackerEarth MCP key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
Let AI install it
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server HackerEarth MCP for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "hackerearth": { "type": "stdio", "command": "uvx", "args": [ "hackerearth-mcp" ], "env": { "HACKEREARTH_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For HACKEREARTH_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the HackerEarth MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install uv (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
uv --version- A version number such as uv … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
uv --versionInstall once; it works for everything that needs uv
Sign up and create a HackerEarth MCP key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Fill in your key
In the HackerEarth MCP settings, HACKEREARTH_KEY is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Open the AI chat in VS Code in Agent mode
Try it
Use HackerEarth MCP and tell me what you can do for me, then show me one thing✓ If VS Code says it is using HackerEarth MCP or shows a HackerEarth MCP tool in the answer, you are connected
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
For developers: Terminal commands and JSON settings
Installed on your computer
Claude Code
claude mcp add --scope user hackerearth --env HACKEREARTH_KEY=your-value -- uvx hackerearth-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"hackerearth": {
"command": "uvx",
"args": [
"hackerearth-mcp"
],
"env": {
"HACKEREARTH_KEY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"hackerearth": {
"command": "uvx",
"args": [
"hackerearth-mcp"
],
"env": {
"HACKEREARTH_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"hackerearth": {
"type": "stdio",
"command": "uvx",
"args": [
"hackerearth-mcp"
],
"env": {
"HACKEREARTH_KEY": "your-value"
}
}
}
}Values you fill in
HACKEREARTH_KEYsecret required envYour HackerEarth client-secret (free from hackerearth.com). Code runs against your HackerEarth account quota.
Descriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
At a glance
Which apps can use it
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Related guides
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account pratham-jain33, which owns the repo
- … Not checked yet
Still maintained
We have not read this repo from GitHub yet
- … Not checked yet
Has a licence
We have not read this repo from GitHub yet
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Published vulnerabilities (OSV.dev)
No entries on OSV.dev for hackerearth-mcp@0.2.1
Checks only this package version, not every dependency · checked Nov 16, 2026
Makers: ask for a re-check or report wrong info
For makers: add a badge to your README
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/pratham-jain33-hackerearth-mcp)Discussion
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
User reviews
No reviews yet
Compared with others in Developer toolsi
- More stars than 0% of the other 6209 servers in this category
- Published to the registry more recently than 39% of the other 6209 servers in this category
- Basic checks equal to or better than 99% of the other 6209 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is HackerEarth MCP safe?
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
You need to fill in: HACKEREARTH_KEY
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed –, and the latest version (0.2.1) reached the registry 2 months ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
What can I use instead?
In the same category: GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
Similar alternatives
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Cloudflare MCP
Cloudflare MCP servers
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| This one HackerEarth MCP | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Cloud or install on your computer |
| Needs a key | Yes | No | No | No | No | No |
| Add with + in Claude | No | No | No | Yes | No | No |
| Basic checks | 1/1 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| License | – | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
hackerearth-mcp
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 |
|---|---|
run_code | Sends code plus a language to HackerEarth, waits for it to run, and returns the printed output and any error messages. |
list_languages | Lists every language HackerEarth can run, with the exact identifiers to pass to run_code. Takes no inputs. |
Installation
# 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:
run_codeandlist_languages. - 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
HACKEREARTH_KEYand unknown languages without making network calls. - Lists all supported language identifiers.
- Simple installation via
uvxorpip. - 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:
uvx hackerearth-mcp
or with pip:
pip install hackerearth-mcp
From source instead:
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/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": { "hackerearth": { "command": "uvx", "args": ["hackerearth-mcp"], "env": { "HACKEREARTH_KEY": "paste-your-client-secret-here" } } } }
From source, point at your checkout instead:
{
"mcpServers": { "hackerearth": { "command": "/absolute/path/to/hackerearth-mcp/.venv/bin/python", "args": ["/absolute/path/to/hackerearth-mcp/server.py"], "env": { "HACKEREARTH_KEY": "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 |
|---|---|---|
HACKEREARTH_KEY | Yes | Your HackerEarth client-secret. Read from the environment, never hardcoded, never sent to the assistant in chat. |
How it works
*(This section is written by the project's author.)*
- You ask the assistant to run some code.
- The assistant calls
run_codewith the code and the language. - The server sends it to HackerEarth with your key and gets back a tracking token.
- The server polls HackerEarth until the run finishes.
- HackerEarth runs the code in a sealed sandbox on their machines.
- The server hands the output back to the assistant, which explains it to you.
Screenshots
Code style
No explicit linting or formatting tools are configured. The code follows standard PEP 8 conventions as observed in the source files.
Build status
Example session
You: Is this Fibonacci function correct? Run it and show me the first 10 numbers.
def fib(n): a, b = 0, 1 for _ in range(n): print(a, end=" ") a, b = b, a + b fib(10)
Claude: [calls run_code with your function] It works. The output is: 0 1 1 2 3 5 8 13 21 34
Roadmap
- v0.1 — code submission, status polling, output download, compile/runtime error reporting, 24-language list
- v0.2 — PyPI packaging, install and run with a single
uvx hackerearth-mcpcommand,server.jsonfor the official MCP registry - Published to the official MCP registry and Glama; submitted to awesome-mcp
Contributing
Issues and pull requests are welcome. If you add a tool, write its description the way you'd explain it to a smart friend who has never seen it — the assistant reads that text to decide when to use it.
License
MIT © Pratham Jain. See LICENSE.
Acknowledgments
Built on HackerEarth's code execution API and the Model Context Protocol. Thanks to HackerEarth for a genuinely developer-friendly free tier.
Tests
The repository includes a local test script test_local.py. To run the tests:
pip install fastmcp requests
python test_local.py
The GitHub Actions workflow `test.yml` executes the same commands on each push/pull request.
API reference
run_code(code: str, language: str) -> strExecutes the suppliedcodein the specifiedlanguageon HackerEarth and returns the program's printed output or error messages.list_languages() -> strReturns a newline‑separated list of all supported language identifiers (e.g.,PYTHON3,JAVASCRIPT_NODE)._normalize_language(lang: str) -> str(internal) Normalizes user‑provided language names or aliases to the exact HackerEarth identifiers.- MCP registration is performed via
FastMCP("hackerearth-mcp")which automatically registers the two tools above.
*Created with repo-doctor*