- Explore MCP Servers
- mcp-oi-wiki
Mcp Oi Wiki
What is Mcp Oi Wiki
mcp-oi-wiki is a wiki platform designed for Online Judges (OI) and the International Collegiate Programming Contest (ICPC), tailored for large language models (LLMs). It provides comprehensive strategies and resources for competitive programming.
Use cases
Use cases for mcp-oi-wiki include assisting students in learning algorithms and data structures, providing quick access to competitive programming resources, and enabling developers to build applications that leverage OI and ICPC knowledge.
How to use
To use mcp-oi-wiki, clone the repository from GitHub, configure your MCP settings to include the oi-wiki server, and run the main script using the ‘uv’ command. Ensure you have the necessary API key for database generation.
Key features
Key features of mcp-oi-wiki include a semantic vector database created from 462 wiki pages, the ability to perform efficient queries to retrieve relevant markdown content, and integration with Deepseek-V3 for summarization.
Where to use
mcp-oi-wiki can be used in educational environments, competitive programming training, and by developers looking to enhance LLM capabilities with structured knowledge from OI and ICPC.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcp Oi Wiki
mcp-oi-wiki is a wiki platform designed for Online Judges (OI) and the International Collegiate Programming Contest (ICPC), tailored for large language models (LLMs). It provides comprehensive strategies and resources for competitive programming.
Use cases
Use cases for mcp-oi-wiki include assisting students in learning algorithms and data structures, providing quick access to competitive programming resources, and enabling developers to build applications that leverage OI and ICPC knowledge.
How to use
To use mcp-oi-wiki, clone the repository from GitHub, configure your MCP settings to include the oi-wiki server, and run the main script using the ‘uv’ command. Ensure you have the necessary API key for database generation.
Key features
Key features of mcp-oi-wiki include a semantic vector database created from 462 wiki pages, the ability to perform efficient queries to retrieve relevant markdown content, and integration with Deepseek-V3 for summarization.
Where to use
mcp-oi-wiki can be used in educational environments, competitive programming training, and by developers looking to enhance LLM capabilities with structured knowledge from OI and ICPC.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
mcp-oi-wiki
让大模型拥有 OI-Wiki 的加成!

How does it work?
使用 Deepseek-V3 对 OI-wiki 当前的 462 个页面做摘要,将摘要嵌入为语义向量,建立向量数据库。
查询时,找到数据库中最接近的向量,返回对应的 wiki markdown。
Usage
确保你拥有 uv。
首先,下载本仓库:
cd <path of MCP servers> git clone --recurse-submodules https://github.com/ShwStone/mcp-oi-wiki.git
然后打开你的 MCP 配置文件(mcpo 或 claude):
{
"mcpServers": {
"oi-wiki": {
"command": "uv",
"args": [
"--directory",
"<path of MCP servers>/mcp-oi-wiki",
"run",
"python",
"main.py"
]
}
}
}
Update
可以生成自己的 db/oi-wiki.db。
将 Silicon flow API key 放在 api.key 文件中。
然后运行:
uv run script/request.py
在批量推理页面下载摘要结果到 result.jsonl。
最后运行:
uv run script/gendb.py
生成新的 db/oi-wiki.db。
Thanks
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.











