CNKI (中国知网) MCP Server — 通过 Model Context Protocol 检索中文学术论文
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"cnki-mcp-server","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# CNKI MCP Server [](https://pypi.org/project/cnki-mcp-server/) [](https://opensource.org/licenses/MIT) **CNKI (中国知网) MCP Server** — 通过 [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) 为 AI Agent 提供中文学术论文检索能力。 ## 功能 | 工具 | 说明 | 需要浏览器 | |------|------|-----------| | `search_cnki` | 搜索 CNKI 论文,支持多页、多种搜索类型和排序 | 是 | | `get_paper_detail` | 获取论文详情(标题、摘要、作者、关键词、DOI 等 17 字段) | 是 | | `find_best_match` | 快速匹配论文标题,验证引用信息 | 是 | | `format_citation` | 引文格式化(GB/T 7714, APA, MLA, Chicago, Vancouver) | 否 | | `browse_journals` | 期刊浏览(学科分类、期刊搜索、最新文章) | 是 | | `export_papers` | 批量导出(CSV, JSON, BibTeX, RIS) | 否 | ### 搜索类型 支持 15 种搜索类型:主题、关键词、篇名、作者、作者单位、全文、DOI、基金、摘要等(中英文别名均可)。 ### 排序方式 相关度 / 发表时间 / 被引 / 下载 / 综合(支持英文别名:relevance, date, cited, download, composite)。 ## 安装 ```bash pip install cnki-mcp-server python -m playwright install chromium ``` > **注意**: Playwright Chromium 约 300MB,首次安装需要下载,后续无需重复安装。 > > **新版 Ubuntu(26.04+)用户**: Playwright 尚未官方支持 Ubuntu 26.04,请设置环境变量后再安装 Chromium: > ```bash > PLAYWRIGHT_HOST_PLATFORM_OVERRIDE=ubuntu24.04-x64 python -m playwright install chromium > ``` > > **SOCKS 代理用户**: 如果系统配置了 SOCKS 代理(`ALL_PROXY=socks5://...`),请确保安装时包含 socks 支持: > ```bash > pip install cnki-mcp-server[socks] > ``` ## 代理配置 如果你的网络环境需要通过代理访问外网,代码会自动读取以下环境变量: | 环境变量 | 说明 | |----------|------| | `CNKI_PROXY` | 代理地址(优先使用),如 `socks5://127.0.0.1:<port>` 或 `http://127.0.0.1:<port>` | | `HTTPS_PROXY` / `https_proxy` | 标准 HTTPS 代理地址(`CNKI_PROXY` 未设置时使用) | | `ALL_PROXY` / `all_proxy` | 全局代理地址(上述均未设置时使用) | | `CNKI_PROXY_USERNAME` / `PROXY_USERNAME` | 代理用户名(需要认证时使用) | | `CNKI_PROXY_PASSWORD` / `PROXY_PASSWORD` | 代理密码(需要认证时使用) | | `NO_PROXY` / `no_proxy` | 不走代理的域名/地址列表,逗号分隔 | > **注意**: > - Playwright 不支持 `socks5h://`(DNS 通过代理解析),会自动替换为 `socks5://`。 > - 如果你使用 Clash 等系统代理,强烈建议用 `NO_PROXY` 排除 CNKI,让 CNKI 走直连避免 CDN 拦截。 ### 常见场景 **场景一:系统已配置…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.