
MCP OI-Wiki
Enhances large language models with competitive programming knowledge by leveraging OI-Wiki content through vector search, allowing models to retrieve relevant algorithms and techniques.
Tools
search
OI Wiki 致力于成为一个免费开放且持续更新的编程竞赛知识整合站点,大家可以在这里获取与竞赛相关的、有趣又实用的知识。本工具能够在 OI-wiki 中搜索相关的知识点。 query 应该比较详细,与要实现的算法/目标相关。比如:“求一个图的最小生成树”,“维护区间加/区间求和” @ param query 描述要实现的需求
README
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.