MCP Server Studio
Give any AI assistant a code run button via HackerEarth. 24 languages, zero setup.
Registry name: io.github.pratham-jain33/hackerearth-mcp
Add to claude_desktop_config.json:
{
"mcpServers": {
"hackerearth-mcp": {
"command": "uvx",
"args": [
"hackerearth-mcp==0.2.1"
],
"env": {
"HACKEREARTH_KEY": "<HACKEREARTH_KEY>"
}
}
}
}Run in your terminal:
claude mcp add hackerearth-mcp -e HACKEREARTH_KEY='<HACKEREARTH_KEY>' -- uvx hackerearth-mcp==0.2.1Add to .cursor/mcp.json:
{
"mcpServers": {
"hackerearth-mcp": {
"command": "uvx",
"args": [
"hackerearth-mcp==0.2.1"
],
"env": {
"HACKEREARTH_KEY": "<HACKEREARTH_KEY>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"hackerearth-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"hackerearth-mcp==0.2.1"
],
"env": {
"HACKEREARTH_KEY": "<HACKEREARTH_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"hackerearth-mcp": {
"command": "uvx",
"args": [
"hackerearth-mcp==0.2.1"
],
"env": {
"HACKEREARTH_KEY": "<HACKEREARTH_KEY>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
HACKEREARTH_KEY | Yes | Your HackerEarth client-secret (free from hackerearth.com). Code runs against your HackerEarth account quota. |