HackerEarth MCP Server
by pratham-jain33io.github.pratham-jain33/hackerearth-mcpv0.2.1
Give any AI assistant a code run button via HackerEarth. 24 languages, zero setup.
context tax
queued
security
queued
cold start
queued
freshness
Active12d ago
Install HackerEarth MCP server
Install in Claude Code
claude mcp add hackerearth -e HACKEREARTH_KEY='<hackerearth-key>' -- uvx hackerearth-mcpInstall in Cursor
{
"mcpServers": {
"hackerearth": {
"command": "uvx",
"args": [
"hackerearth-mcp"
],
"env": {
"HACKEREARTH_KEY": "<hackerearth-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"hackerearth": {
"command": "uvx",
"args": [
"hackerearth-mcp"
],
"env": {
"HACKEREARTH_KEY": "<hackerearth-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"hackerearth": {
"type": "stdio",
"command": "uvx",
"args": [
"hackerearth-mcp"
],
"env": {
"HACKEREARTH_KEY": "<hackerearth-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"hackerearth": {
"command": "uvx",
"args": [
"hackerearth-mcp"
],
"env": {
"HACKEREARTH_KEY": "<hackerearth-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| HACKEREARTH_KEY | yes | yes | Your HackerEarth client-secret (free from hackerearth.com). Code runs against your HackerEarth account quota. |
Freshness
Active — last maintenance signal 12d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-28 · 12d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-09-27 · 13d ago · official registry · v0.2.1
FAQ
›How do I install the HackerEarth MCP server in Claude Code?
Run: claude mcp add hackerearth -e HACKEREARTH_KEY='<hackerearth-key>' -- uvx hackerearth-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does HackerEarth require an API key?
Yes. It expects HACKEREARTH_KEY, of which 1 is a secret.
›Can I use HackerEarth as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is HackerEarth in the official MCP registry?
Yes, as io.github.pratham-jain33/hackerearth-mcp.