Skip to main content
Glama

mcp-oi-wiki

让大模型拥有 OI-Wiki 的加成!

乘法逆元搜索结果

How does it work?

使用 Deepseek-V3 对 OI-wiki 当前的 462 个页面做摘要,将摘要嵌入为语义向量,建立向量数据库。

查询时,找到数据库中最接近的向量,返回对应的 wiki markdown。

Related MCP server: MCP Code Indexer

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

Available Tools

1 tool

TDQS

B3.2/5.0
Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool has a clearly defined and distinct purpose: searching the OI Wiki for programming competition knowledge.

Naming Consistency5/5

The single tool name 'search' follows a simple, clear verb pattern. Since there is only one tool, consistency is inherently perfect with no deviations or mixed conventions to evaluate.

Tool Count2/5

A single tool is too few for a server that appears to cover a broad domain like a programming competition knowledge base. The scope suggests needs for browsing, filtering, or accessing specific content beyond just search, making the toolset feel thin and underdeveloped.

Completeness2/5

The tool surface is severely incomplete for the domain. While search is useful, there are obvious gaps such as listing topics, getting detailed articles, or navigating categories, which limits an agent's ability to fully interact with the wiki's content.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

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/ShwStone/mcp-oi-wiki'

If you have feedback or need assistance with the MCP directory API, please join our Discord server