mcp server · v0.2.2 · pypi + official mcp registry

Give your AI a run button.

hackerearth-mcp plugs into Claude Desktop, or any MCP client, and adds one thing: the ability to actually run code. Your AI writes it, runs it in HackerEarth's sandbox, sees the real output, and fixes its own mistakes. 24 languages.

24languages
2tools, nothing more
1,000free runs a month

Two tools. That is the whole API.

MCP servers should be boring. This one does exactly two things, well.

run_code(language, source)

Execute anything

Send source code, get stdout, stderr, and timing back. Python to Rust to Haskell, 24 languages via HackerEarth's sandbox.

  • Your AI can iterate: run, read the error, fix, re-run
  • 1,000 free runs plus 1,000 compiles a month on HackerEarth's free tier
list_languages()

Know what is available

Ask what languages the sandbox supports before writing a line, with version info for every language.

  • No guessing, no failed runs

Five-minute setup

pip install, paste your free HackerEarth key, add one JSON block to your MCP client.

$ pip install hackerearth-mcp

1

Install

pip install hackerearth-mcp

2

Key

Grab a free API key from hackerearth.com. Set it once.

3

Plug in

Add the server to Claude Desktop's config. Ask it to run something.

One family of MCP servers

Three small servers, one idea: give AI assistants real tools, not predictions. All on PyPI and the official MCP registry.

Stop copy-pasting code into playgrounds.

Let your AI run it where the conversation already is.