LocalFree server, account needed

Leetcode MCP server

jinzcdev/leetcode-mcp-server

Access LeetCode problems, solutions, submissions and public data, with optional login for user features such as notes; supports the global and China sites.

155 GitHub stars30 forks

Install Leetcode in Claude Code

This server doesn't publish a package to a registry, so follow the install steps in its README. Once it runs, register it with Claude Code:

Claude Code
claude mcp add jinzcdev-leetcode -- <command to start the server>

Frequently asked questions

What does the Leetcode MCP server do?

Access LeetCode problems, solutions, submissions and public data, with optional login for user features such as notes; supports the global and China sites.

Is the Leetcode MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Leetcode run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Leetcode to Claude Code?

Follow the install steps in the project's README at https://github.com/jinzcdev/leetcode-mcp-server, then register it with "claude mcp add".

More ai agents & coding agents MCP servers

View all