MCP server
HackerEarth MCP
Give any AI assistant a code run button via HackerEarth. 24 languages, zero setup.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.2.1
- Listing updated
- 5 days ago
About HackerEarth MCP
HackerEarth MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add hackerearth-mcp --env HACKEREARTH_KEY='<HACKEREARTH_KEY>' -- uvx hackerearth-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"hackerearth-mcp": {
"command": "uvx",
"args": [
"hackerearth-mcp"
],
"env": {
"HACKEREARTH_KEY": "<HACKEREARTH_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"hackerearth-mcp": {
"command": "uvx",
"args": [
"hackerearth-mcp"
],
"env": {
"HACKEREARTH_KEY": "<HACKEREARTH_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"hackerearth-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"hackerearth-mcp"
],
"env": {
"HACKEREARTH_KEY": "<HACKEREARTH_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"hackerearth-mcp": {
"command": "uvx",
"args": [
"hackerearth-mcp"
],
"env": {
"HACKEREARTH_KEY": "<HACKEREARTH_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"hackerearth-mcp": {
"command": "uvx",
"args": [
"hackerearth-mcp"
],
"env": {
"HACKEREARTH_KEY": "<HACKEREARTH_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
HACKEREARTH_KEYYour HackerEarth client-secret (free from hackerearth.com). Code runs against your HackerEarth account quota.Required
Pricing
Open source
HackerEarth MCP FAQ
Is HackerEarth MCP free?
Yes. HackerEarth MCP is open source, so you can use and self-host it for free.
How do I add HackerEarth MCP to Claude Code?
Run this command in your terminal: claude mcp add hackerearth-mcp --env HACKEREARTH_KEY='<HACKEREARTH_KEY>' -- uvx hackerearth-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.