Enterprise DNA
M MCP Servers Developer low

jinzcdev/leetcode-mcp-server

by Various

An MCP server enabling automated access to LeetCode's problems, solutions, and public data with optional authentication for user-specific features, supporting leetcode.com & leetco

J

MCP

jinzcdev/leetcode-mcp-server

Added 1 June 2026

#ai #algorithm #lc #leetcode #llm #mcp #mcp-server

Overview

An MCP server that provides automated access to LeetCode problems, solutions, and public data. It supports both leetcode.com and leetcode.cn with optional authentication for user-specific features. The server exposes data through the Model Context Protocol for integration with compatible clients.

Best for

Best for
Developers building AI tools that need LeetCode problem data

Use cases

  • Fetching LeetCode problem descriptions and test cases programmatically
  • Automating solution retrieval for code review or analysis
  • Integrating LeetCode data into AI coding assistants via MCP

Notes

An MCP server that provides automated access to LeetCode problems, solutions, and public data. It supports both leetcode.com and leetcode.cn with optional authentication for user-specific features. The server exposes data through the Model Context Protocol for integration with compatible clients.

115 stars on GitHub. Last updated 2026-03-18. Licensed MIT.

Use cases

  • Fetching LeetCode problem descriptions and test cases programmatically
  • Automating solution retrieval for code review or analysis
  • Integrating LeetCode data into AI coding assistants via MCP

Pros

  • Open source TypeScript implementation with 115 stars
  • Supports both leetcode.com and leetcode.cn domains
  • Optional authentication enables access to user-specific data

Cons

  • Relies on LeetCode’s public API which may change without notice
  • Small community size may limit support and contributions
  • Requires an MCP-compatible client to use the server

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Open source TypeScript implementation with 115 stars
  • Supports both leetcode.com and leetcode.cn domains
  • Optional authentication enables access to user-specific data

Cons

  • Relies on LeetCode's public API which may change without notice
  • Small community size may limit support and contributions
  • Requires an MCP-compatible client to use the server