# LeetCode MCP Server

> Use this tool when you need to interact with the LeetCode API to fetch problems, generate code templates, and execute or submit solutions. It solves problems related to coding practice and interview preparation by streamlining access to LeetCode resources. The tool accepts problem identifiers and code submissions as inputs and outputs generated templates, execution results, and submission feedback.

Canonical page: https://skillsregistry.net/skills/ahm215-leetcode-mcp  
JSON: https://api.skillsregistry.net/v1/skills/ahm215-leetcode-mcp

## Description

An MCP server that provides tools to interact with the LeetCode API, enabling problem fetching, code template generation, and solution execution/submission.

## Trust

- **Trust score (0–1):** 0.70
- **Verification tier:** verified
- **Last scanned:** 2026-09-03

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** other
- **Updated:** 2026-09-03

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/nnk2utgjmo)
- **Repository:** <https://github.com/AHM215/LeetCode-MCP>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "ahm215-leetcode-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/ahm215-leetcode-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/ahm215-leetcode-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
