Enterprise DNA
M MCP Servers Developer low

doggybee/mcp-server-leetcode

by Various

A Model Context Protocol (MCP) server for LeetCode that provides access to problems, user data, and contest information through GraphQL

D

MCP

doggybee/mcp-server-leetcode

Added 1 June 2026

Overview

This MCP server exposes LeetCode problems, user data, and contest information through a GraphQL interface. It enables AI agents to query problem descriptions, user stats, and contest schedules programmatically. The server is built in TypeScript and follows the Model Context Protocol for integration with LLM tools.

Best for

Best for
Developers building AI coding assistants that need live LeetCode data

Use cases

  • Fetch LeetCode problem descriptions and test cases
  • Retrieve user submission history and ranking
  • Access upcoming contest schedules and details

Notes

This MCP server exposes LeetCode problems, user data, and contest information through a GraphQL interface. It enables AI agents to query problem descriptions, user stats, and contest schedules programmatically. The server is built in TypeScript and follows the Model Context Protocol for integration with LLM tools.

43 stars on GitHub. Last updated 2025-04-02. Licensed MIT.

Use cases

  • Fetch LeetCode problem descriptions and test cases
  • Retrieve user submission history and ranking
  • Access upcoming contest schedules and details

Pros

  • Provides structured access to LeetCode data for AI agents
  • Uses GraphQL for efficient and flexible queries
  • Open source with TypeScript for easy integration

Cons

  • Requires running a local MCP server instance
  • Limited to public LeetCode data, no authenticated user actions
  • Small community with 43 stars may mean less support

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

Pros

  • Provides structured access to LeetCode data for AI agents
  • Uses GraphQL for efficient and flexible queries
  • Open source with TypeScript for easy integration

Cons

  • Requires running a local MCP server instance
  • Limited to public LeetCode data, no authenticated user actions
  • Small community with 43 stars may mean less support