Luogu MCP Server
Unclaimed洛谷题目搜索、题单与推荐的 MCP Server | Luogu MCP for AI coding agents
Set up this server
01 / Choose your client
02 / Before you connect
Authentication is not specified. Check the project instructions before connecting.
Project instructions03 / Add the configuration
claude mcp add --transport stdio 'luogu-mcp-server' -- 'npx' '-y' 'luogu-mcp-server'04 / Check it in your client
Open your client’s MCP settings and confirm the server connects and lists its tools. A copied configuration does not confirm a working connection.
More in AI & ML
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
11 of 11 tools
Documented tools (11)
From project documentation. A server handshake does not verify each tool’s description or behavior.
luogu_fetch_problem
Fetch one Luogu problem statement, formats, samples, tags, difficulty, and URL by pid.
luogu_fetch_problem_set
Fetch one Luogu training/problem set and problem summaries by id.
luogu_find_related_problems
Mix topic/pain-point recommendations with live keyword search to find related practice.
luogu_find_topic_problems
Find topic practice problems using aliases, tag ids, deduplication, and match reasons.
luogu_get_capabilities
Report which LeetCode-style route features are available, auth-required, or planned.
luogu_get_user_profile
Fetch public Luogu user profile data by uid.
luogu_list_algorithm_topics
List canonical algorithm topics, aliases, and known tag ids.
luogu_recommend_problems
Return seed recommendations from a topic or student pain point.
luogu_resolve_problem
Resolve a Luogu URL, problem id, or title fragment, then fetch the problem.
luogu_search_problem_sets
Search Luogu training/problem sets by keyword. Supports type: "all"
luogu_search_problems
Search Luogu problems by keyword, topic, title fragment, problem id, and optional Luogu tag ids.
Tool change history
FAQ
Questions about Luogu MCP Server
- How do I connect Luogu MCP Server to Claude?
- Run `claude mcp add luogu-mcp-server -- npx -y luogu-mcp-server` in Claude Code, or add the same command and arguments under mcpServers in Cursor's mcp.json or Claude Desktop's claude_desktop_config.json, then restart the client. The blocks above are ready to paste.
- Is Luogu MCP Server free?
- The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Luogu MCP Server do?
- Luogu MCP Server documents 11 tools to the agent, including luogu_fetch_problem, luogu_fetch_problem_set, luogu_find_related_problems. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.