LeetCode Crawler MCP Server

mcp server for craw the interview questions in discussion

Local serverstdioPython

What is the LeetCode Crawler MCP Server?

mcp server for craw the interview questions in discussion

What the server does

Crawl LeetCode interview discussion forums, extract structured intelligence with Claude AI, and expose the data as an MCP (Model Context Protocol) server for Claude Desktop and Claude Code.

  • Crawls LeetCode discussion forums filtered by company tag (google, meta, amazon, etc.)
  • Classifies posts by type (leetcode, discuss_link, discussion)
  • Groups and deduplicates discussions by post title + company across pages
  • Optionally enriches posts with AI-extracted fields: problem_name, leetcode_url,
  • Saves to CSV (per-company cache or monthly output)
  • Exposes 4 tools over stdio MCP transport for use with Claude Desktop / Claude Code

Credentials and setup notes

  • Python 3.12+ - ANTHROPIC_API_KEY env var (only for --enrich)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • Python 3.12+ - ANTHROPIC_API_KEY env var (only for --enrich)
VariableDescriptionRequired
ANTHROPIC_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

The server provides four tools: `search_discussions(company, days)` to filter cached posts, `get_hot_problems(company, limit)` to get top problems by frequency, `get_thread(post_id)` for real-time single-thread fetch, and `refresh(company, num_pages, days, enrich)` to crawl and rebuild the cache.