Skip to main content
Glama

LeetCode MCP Server

package.json2.11 kB
{ "name": "@jinzcdev/leetcode-mcp-server", "description": "MCP Server for LeetCode API (supports leetcode.com and leetcode.cn)", "version": "1.2.0", "author": "jinzcdev", "main": "./build/index.js", "keywords": [ "leetcode", "lc", "mcp", "programming", "algorithm" ], "scripts": { "test": "vitest run | pino-pretty", "test:watch": "vitest watch", "build": "tsc && chmod u+x build/index.js", "start": "node build/index.js", "dev": "tsc-watch --onSuccess \"node build/index.js\"", "format": "prettier --write .", "prepare": "husky" }, "bin": { "leetcode-mcp-server": "build/index.js" }, "type": "module", "files": [ "build" ], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/jinzcdev/leetcode-mcp-server.git" }, "lint-staged": { "*.{js,ts,jsx,tsx}": [ "prettier --write", "eslint --fix" ], "*.{md,json,yml,yaml,html,css}": [ "prettier --write" ] }, "dependencies": { "@modelcontextprotocol/sdk": "^1.8.0", "leetcode-query": "^2.0.0", "minimist": "^1.2.8", "pino": "^9.6.0", "ts-node": "^10.9.2", "zod": "^3.24.2" }, "devDependencies": { "@eslint/js": "^9.24.0", "@types/minimist": "^1.2.5", "@types/node": "^22.14.0", "esbuild": "^0.25.2", "eslint": "^9.24.0", "eslint-config-prettier": "^10.1.2", "eslint-plugin-prettier": "^5.2.6", "globals": "^16.0.0", "husky": "^9.1.7", "lint-staged": "^15.5.1", "prettier": "^3.5.3", "prettier-plugin-organize-imports": "^4.1.0", "tsc-watch": "6.2.1", "typescript": "^5.8.3", "typescript-eslint": "^8.29.1", "vitest": "^3.1.3", "vite": "^6.3.5", "pino-pretty": "^13.0.0" }, "optionalDependencies": { "@rollup/rollup-linux-x64-gnu": "^4.40.1" } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jinzcdev/leetcode-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server