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
Metadata
Release files for iflow-mcp_mcp-oi-wiki 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iflow_mcp_mcp_oi_wiki-0.1.0.tar.gz | 3.5 kB | Without provenance | Details for iflow_mcp_mcp_oi_wiki-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iflow_mcp_mcp_oi_wiki-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for iflow_mcp_mcp_oi_wiki-0.1.0-py3-none-any.whl |
Total release size: 7.6 kB
Release files / iflow_mcp_mcp_oi_wiki-0.1.0.tar.gz
| Download URL | iflow_mcp_mcp_oi_wiki-0.1.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2fa795ac198c521591d20b52cce865bac51822c2f1d1d03a6a48b6e2a36bd133
|
|
BLAKE2b-256 checksum How to use checksums |
2cdb16555dffd89eacef651bfde1a8bfc1872cc154707a5c7609d6143ee6924a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.8
|
Release files / iflow_mcp_mcp_oi_wiki-0.1.0-py3-none-any.whl
| Download URL | iflow_mcp_mcp_oi_wiki-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f37caf01396cd440097959fcc498a4e80c3eb4542b62d492ec34901a3e3f369f
|
|
BLAKE2b-256 checksum How to use checksums |
79de18074ccf9ed3905482c028d356a9f6205341ba96d373ac064a7f6a587d80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.8
|
Security for iflow-mcp_mcp-oi-wiki 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.