MCP Server Studio

HackerEarth MCP MCP server

Give any AI assistant a code run button via HackerEarth. 24 languages, zero setup.

Registry name: io.github.pratham-jain33/hackerearth-mcp

Publisher
pratham-jain33
Runs
Runs locally
Package
PyPI
Version
0.2.1
Category
Developer tools
Updated
2026-09-27

Source code on GitHub

Set up HackerEarth MCP (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "hackerearth-mcp": {
      "command": "uvx",
      "args": [
        "hackerearth-mcp==0.2.1"
      ],
      "env": {
        "HACKEREARTH_KEY": "<HACKEREARTH_KEY>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add hackerearth-mcp -e HACKEREARTH_KEY='<HACKEREARTH_KEY>' -- uvx hackerearth-mcp==0.2.1

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "hackerearth-mcp": {
      "command": "uvx",
      "args": [
        "hackerearth-mcp==0.2.1"
      ],
      "env": {
        "HACKEREARTH_KEY": "<HACKEREARTH_KEY>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "hackerearth-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "hackerearth-mcp==0.2.1"
      ],
      "env": {
        "HACKEREARTH_KEY": "<HACKEREARTH_KEY>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "hackerearth-mcp": {
      "command": "uvx",
      "args": [
        "hackerearth-mcp==0.2.1"
      ],
      "env": {
        "HACKEREARTH_KEY": "<HACKEREARTH_KEY>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
HACKEREARTH_KEYYesYour HackerEarth client-secret (free from hackerearth.com). Code runs against your HackerEarth account quota.

More developer tools MCP servers