Luogu MCP Server
A small MCP server for searching Luogu problems, reading statements and training sets, and finding related practice. It can run locally through npm or as a hosted Streamable HTTP server. Its 11 documented tools cover luogu, problems, problem.
Teams that want a hosted coding agent endpoint instead of running a local process. The project is written in TypeScript.
VERIFIED ACTIVE
LAST COMMIT 2026-08-19 · ★ 2 · #174 OF 194 MAINTAINED CODING AGENT · VERIFIED 2026-08-25
MIT · TypeScript servers · how we verify → /methodology
01 · Install Luogu MCP Server
Claude Code
claude mcp add kaiserunix-luogu-mcp-server --transport http https://luogu-mcp-server.lantangtang54.workers.dev/mcp Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"kaiserunix-luogu-mcp-server": {
"url": "https://luogu-mcp-server.lantangtang54.workers.dev/mcp"
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
https://luogu-mcp-server.lantangtang54.workers.dev/mcp
transport: streamable-http
endpoint NOT responding · probed 2026-08-25
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as remote - your agent's requests go to luogu-mcp-server.lantangtang54.workers.dev
license MIT - declared in the repository
registry namespace io.github.Kaiserunix is GitHub-verified and matches the repo owner
03 · What Luogu MCP Server can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
What you can build
With this server connected, an agent can fetch one Luogu problem statement, formats, samples, tags, difficulty, and URL by pid, resolve a Luogu URL, problem id, or title fragment, then fetch the problem, list canonical algorithm topics, aliases, and known tag ids, and find topic practice problems using aliases, tag ids, deduplication, and match reasons.
The 11 tools it gives your agent
Extracted from the project's README - what Luogu MCP Server lets an agent do.
- luogu_search_problems
- - Search Luogu problems by keyword, topic, title fragment, problem id, and optional Luogu tag ids.
- luogu_fetch_problem
- - Fetch one Luogu problem statement, formats, samples, tags, difficulty, and URL by pid.
- luogu_resolve_problem
- - Resolve a Luogu URL, problem id, or title fragment, then fetch the problem.
- luogu_find_related_problems
- - Mix topic/pain-point recommendations with live keyword search to find related practice.
- luogu_list_algorithm_topics
- - List canonical algorithm topics, aliases, and known tag ids.
- luogu_find_topic_problems
- - Find topic practice problems using aliases, tag ids, deduplication, and match reasons.
- luogu_search_problem_sets
- - Search Luogu training/problem sets by keyword. Supports type: "all"
- luogu_fetch_problem_set
- - Fetch one Luogu training/problem set and problem summaries by id.
- luogu_recommend_problems
- - Return seed recommendations from a topic or student pain point.
- luogu_get_user_profile
- - Fetch public Luogu user profile data by uid.
- luogu_get_capabilities
- - Report which LeetCode-style route features are available, auth-required, or planned.
Limitations (from the README)
- Luogu endpoints used here are content-only web endpoints, not a formal stability contract. - The server keeps outputs compact and structured for model context control. - Browser automation is intentionally not the default path. A Playwright fallback can be added later for pages that cannot be read through lightweight HTTP. - For broad topic discovery, Luogu training-set search is often cleaner than raw problem titl
04 · Who maintains Luogu MCP Server
Luogu MCP Server is maintained by kaiserunix. It's the only MCP server we track from this author; the repo dates to Apr 2026.
05 · Facts
- repository
- github.com/kaiserunix/luogu-mcp-server
- category
- coding agent - ranked #174 of 194 actively-maintained coding agent servers as of 2026-08-25.
- registry
- io.github.Kaiserunix/luogu-mcp-server (active, first published 2026-07-21)
06 · Luogu MCP Server FAQ
Is Luogu MCP Server still maintained?
Yes - as of 2026-08-25, its last commit was 2026-08-19. We re-verify nightly.
What can Luogu MCP Server do?
With this server connected, an agent can fetch one Luogu problem statement, formats, samples, tags, difficulty, and URL by pid, resolve a Luogu URL, problem id, or title fragment, then fetch the problem, list canonical algorithm topics, aliases, and known tag ids, and find topic practice problems using aliases, tag ids, deduplication, and match reasons.
How do I install Luogu MCP Server?
Run `claude mcp add kaiserunix-luogu-mcp-server --transport http https://luogu-mcp-server.lantangtang54.workers.dev/mcp`. You can also paste the ready-made client config above.
07 · Alternatives to Luogu MCP Server
Alternatives to Luogu MCP Server
Maintained coding agent servers if Luogu MCP Server isn't the fit.
- Serena A powerful toolkit for coding, providing semantic retrieval and editing capabilities. ★ 28,461 · 2026-08-20
- Desktop Commander MCP server for terminal commands, file operations, and process management ★ 9,387 · 2026-08-21
- Ouroboros Pins an acceptance spec; the verify command and expected output never enter the success contract. ★ 5,649 · 2026-08-25
- Socraticode MCP server for local codebase indexing, semantic search, and code dependency graphs. ★ 3,274 · 2026-08-24
- Magic Cloud Self-hosted low-code platform (Docker); its MCP endpoint runs on your own instance, not via npx. ★ 1,180 · 2026-08-24
- LLM Sandbox Securely run LLM-generated code in isolated containers across 7 languages and 3 container backends. ★ 1,111 · 2026-08-23
Pairs well with
Servers that cover what Luogu MCP Server doesn't - only shown when the pairing reason fits the companion.
- Context7 → documentation companion documentation · ★ 61,171
- GitLab MCP → documentation companion documentation · ★ 1,918
- Storybook MCP Addon → developer tools companion developer tools · ★ 268
- Xcode Build MCP → developer tools companion developer tools · ★ 6,274
- Server Filesystem → filesystem companion filesystem · ★ 38,704
- X402 List MCP → filesystem companion filesystem · ★ 58
More coding agent MCP servers · Baton · Martin Loop · Agent Comm · Syke · Agent Crm
More TypeScript MCP servers · Xupersplit · Reddit MCP Buddy · My Cool Proxy · Thoughtbox · Kastell · see all