algo-coach-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@algo-coach-mcpPick a random easy problem on hash tables"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
algo-coach-mcp
Interactive algorithm coach MCP server powered by 代码随想录 (LeetCode-Master).
Turns 45 structured algorithm tutorial articles into an interactive practice environment with local code testing and real-world application case mapping.
Features
Interactive Practice — Pick problems by topic and difficulty, write code, get instant feedback
Local Code Execution — Run and test your Python solutions locally, no online judge needed
Progressive Hints — 4-level hint system: direction → approach → pseudocode → full solution
Real-World Cases — See how algorithms apply in production systems (Redis, Kafka, React, etc.)
3 Practice Modes — Student (guided), Interview (timed), Engineering (system design focus)
Theory Review — Structured fundamentals from 代码随想录 before each topic
Related MCP server: MCP Learning Project
Quick Start
Use with Claude Code (Recommended)
One command setup — no local installation needed:
claude mcp add --transport stdio algo-coach -- npx -y --registry https://registry.npmjs.org/ algo-coach-mcp@latestRestart Claude Code, then start practicing:
> /algo-coachUse with other MCP clients
Add to your MCP configuration:
{
"mcpServers": {
"algo-coach": {
"type": "stdio",
"command": "npx",
"args": ["-y", "--registry", "https://registry.npmjs.org/", "algo-coach-mcp@latest"]
}
}
}Install the Skill (Optional)
Copy .claude/skill/algo-coach.md to your Claude Code skills directory for the full interactive session flow with auto-setup.
Available MCP Tools
Tool | Description |
| Pick a random problem by topic/difficulty |
| Get solution code and key points |
| Get theoretical fundamentals for a topic |
| Real-world engineering applications of an algorithm |
| Generate boundary test cases for a problem |
| Execute Python code against tests locally |
| Get the learning progression |
Topics
# | Topic | Problems |
1 | Array (数组) | 5 |
2 | Linked List (链表) | 6 |
3 | Hash Table (哈希表) | 9 |
4 | Binary Tree (二叉树) | 13 |
5 | Dynamic Programming (动态规划) | 12 |
Real-World Algorithm Cases
12 algorithms mapped to production engineering scenarios:
hash-table · binary-search · sliding-window · bfs-dfs · trie · topological-sort · dynamic-programming · union-find · monotonic-stack · heap · backtracking · greedy
Development
npm install
npm run dev # Run with tsx (hot reload)
npm test # Run tests
npm run build # Build for productionArchitecture
src/
├── index.ts # MCP server entry (stdio transport)
├── paths.ts # Package root resolution
├── types.ts # Shared type definitions
├── content/ # Markdown parsing and indexing
├── testgen/ # Test case generation
├── executor/ # Python subprocess runner
├── cases/ # Real-world case loader
├── tools/ # MCP tool implementations
└── resources/ # MCP resource handlersLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/Ddhjx-code/algo-coach-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server