Skip to main content
Glama
graywind-labs

HUST CNKI Research MCP

HUST CNKI Research MCP

让 Codex、Claude Code 或 WorkBuddy 帮你检索、阅读和引用中国知网论文。

本项目适用于华中科技大学机构统一认证(HUST SSO)。它会使用一个独立的 Chrome 用户目录保存登录状态;通常只需登录一次,之后重启 Agent 也能继续使用。

本文先给出 Windows 10/11 的小白安装方法。熟悉 Python 的用户可直接跳到最后的手动安装

极简安装:直接让 Agent 帮你装

如果你已经装好了 Codex、Claude Code、WorkBuddy 或其他支持 MCP 的 Agent,不需要自己阅读后面的安装步骤。直接把下面这句话完整复制给它:

帮我安装 https://github.com/graywind-labs/hust-cnki-research-mcp.git 并接入这个 MCP,同时安装所有所需依赖。请自动识别当前 Agent 所需的 MCP 配置方式,完成安装、配置和连接验证;需要我在 Chrome 中登录华中科技大学统一认证和知网时,再提示我操作。

也就是告诉它:帮我安装 graywind-labs/hust-cnki-research-mcp、接入 MCP,并安装全部依赖。

接下来只需:

  1. Agent 请求执行安装命令时,确认允许;

  2. Agent 打开专用 Chrome 窗口后,由你本人完成学校统一认证;

  3. 等 Agent 告诉你 MCP 已连接并验证成功。

如果 Agent 无法自动完成,再按照下方的“小白分步安装”操作。

Related MCP server: cnki-mcp

可以做什么

  • 按主题、关键词、篇名、作者、机构、基金、摘要、DOI 等字段检索论文;

  • 按期刊、作者筛选,并按相关度、时间、被引量或下载量排序;

  • 获取题名、作者、机构、摘要、关键词、来源、年份、卷期页、DOI、基金等信息;

  • 获取 CNKI 官方 BibTeX;

  • 分段读取机构授权的在线正文,避免一次占满 Agent 上下文;

  • 下载机构已授权的 PDF;

  • 保存论文标签和浏览器登录状态。

小白分步安装:先准备环境

只需要以下三样:

  1. Python 3.10 或更高版本:用于运行本 MCP;

  2. Google Chrome:用于登录学校 SSO 和访问知网;

  3. 一个支持 MCP 的 Agent:Codex、Claude Code 或 WorkBuddy 等,任选其一。

另外,你需要能正常访问华中科技大学统一认证和学校已订阅的知网资源。校外访问是否可用取决于学校当前的访问政策。

1. 安装 Python

打开 Windows 的“终端”或 PowerShell,粘贴下面这行并回车:

winget install -e --id Python.Python.3.11

安装完成后,关闭并重新打开终端,再检查:

py -3.11 --version

看到 Python 3.11.x 就说明成功。如果电脑没有 winget,请从 Python 官网下载安装,并在安装界面勾选 Add Python to PATH

2. 安装 Chrome

在 PowerShell 中运行:

winget install -e --id Google.Chrome

也可以直接从 Chrome 官网下载安装。安装后正常打开一次 Chrome 即可,不需要安装任何 Chrome 扩展,也不需要下载 Playwright 自带的 Chromium。

3. 安装一个 Agent

已有其中一个 Agent 的话,不必安装其他两个。

第一步:安装本 MCP

在 PowerShell 中复制并运行这一整行:

py -3.11 -m pip install --user --upgrade "https://github.com/graywind-labs/hust-cnki-research-mcp/archive/refs/heads/main.zip"

等待命令执行完成。以后项目更新时,再运行一次相同命令即可升级。

第二步:登录知网

运行:

py -3.11 -m cnki_mcp_server --login

随后会打开一个专用 Chrome 窗口:

  1. 在知网页面选择机构“华中科技大学”;

  2. 在学校统一认证页面完成登录;

  3. 登录后回到知网页面;

  4. 回到终端,按提示确认完成。

这个专用窗口使用独立登录档案,不会修改你平时使用的 Chrome 资料。登录档案默认保存在 %LOCALAPPDATA%\CNKIResearchMCP\browser-profile。如果以后登录过期,只需重新执行上面的登录命令。

第三步:接入你的 Agent

下面三种方式只需选择一种。

Codex

在 PowerShell 中运行:

codex mcp add cnki -- py -3.11 -m cnki_mcp_server

然后重启 Codex。在 Codex 中输入 /mcp,看到 cnki 即表示接入成功。也可以在终端运行 codex mcp list 检查。

这条命令适用于 Codex CLI;Codex CLI、IDE 扩展和 ChatGPT 桌面版会共享 MCP 配置。配置格式来自 Codex 官方 MCP 文档

Claude Code

在 PowerShell 中运行:

claude mcp add --transport stdio --scope user cnki -- py -3.11 -m cnki_mcp_server

然后重新打开 Claude Code,输入 /mcp,看到 cnki 且状态正常即表示成功。终端中也可以运行 claude mcp list 检查。

这里使用 user 范围,所以所有项目都能使用;命令格式来自 Claude Code 官方 MCP 文档

WorkBuddy

WorkBuddy 官方文档目前使用 URL 添加 MCP,因此要先启动本机服务。

  1. 打开 PowerShell,运行下面命令,并让这个窗口保持打开:

    py -3.11 -m cnki_mcp_server --http
  2. 打开 WorkBuddy,进入 Settings(设置)→ MCP

  3. 点击 Add MCP Server(添加 MCP 服务器)

  4. 名称填写 cnki,地址填写:

    http://127.0.0.1:8000/mcp
  5. 本地服务不需要填写认证信息,保存后确认连接状态正常。

每次使用 WorkBuddy 前都要先运行第 1 步;关闭那个 PowerShell 窗口后,本机 MCP 服务也会停止。服务默认只监听 127.0.0.1,局域网和互联网中的其他电脑无法访问。界面步骤依据 WorkBuddy 官方 MCP 文档

试着问一句

接入完成后,可以直接对 Agent 说:

检查我的知网登录状态,然后检索近五年关于“大语言模型学术写作”的中文论文,按被引量排序。

如果 Agent 能调用 get_login_statussearch_cnki,说明安装成功。

常见问题

提示 No module named cnki_mcp_server

通常是安装 MCP 时使用了另一套 Python。重新执行:

py -3.11 -m pip install --user --upgrade "https://github.com/graywind-labs/hust-cnki-research-mcp/archive/refs/heads/main.zip"

没有弹出 Chrome,或提示找不到 Chrome

先确认 Chrome 已安装并能正常打开。若必须改用 Edge,可先在当前 PowerShell 中运行:

$env:CNKI_BROWSER_CHANNEL = "msedge"
py -3.11 -m cnki_mcp_server --login

也可以通过 CNKI_BROWSER_EXECUTABLE 指定浏览器程序的绝对路径。

登录过期或工具提示未登录

关闭 Agent,再运行一次:

py -3.11 -m cnki_mcp_server --login

登录完成后重启 Agent。

WorkBuddy 连接不上

确认运行 --http 的 PowerShell 窗口仍然打开,并确认地址是 http://127.0.0.1:8000/mcp。如果 8000 端口已被占用,可在启动前更换端口:

$env:CNKI_MCP_PORT = "8001"
py -3.11 -m cnki_mcp_server --http

此时 WorkBuddy 地址也要改为 http://127.0.0.1:8001/mcp

开着代理软件时无法登录

本项目默认让 CNKI 和学校 SSO 的专用浏览器直连。如果你的网络必须经过代理,请在启动或登录前运行:

$env:CNKI_DIRECT = "false"

可用工具

工具

用途

search_cnki

多字段检索、作者/期刊筛选、多页和排序

get_paper_detail

获取完整题录、摘要和可用权限入口

read_paper_fulltext

分段读取机构授权的在线正文

get_paper_bibtex

获取并补充 CNKI 官方 BibTeX

download_paper_pdf

下载机构授权 PDF

find_best_match

根据标题核验并匹配文献

get_login_status

检查会话状态,不返回认证秘密

登录与安全

MCP 没有读取或设置 Cookie 的工具,也不会把 Cookie、令牌、账号或密码返回给模型。所有网页导航均限制为 HTTPS 的 *.cnki.net 域名。机构或知网主动让会话失效时需要再次登录,这是 SSO 本身的安全规则。

WorkBuddy 的 HTTP 模式默认仅监听本机地址。请勿将监听地址改成 0.0.0.0 或直接暴露到公网,除非你清楚如何为 MCP 服务增加认证和网络访问控制。

手动安装(源码开发者)

手动方式放在这里,普通用户不需要执行。

git clone https://github.com/graywind-labs/hust-cnki-research-mcp.git
cd hust-cnki-research-mcp
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e .

登录:

.\.venv\Scripts\python.exe -m cnki_mcp_server --login

STDIO 模式启动:

.\.venv\Scripts\python.exe -m cnki_mcp_server

WorkBuddy 所需的本机 HTTP 模式:

.\.venv\Scripts\python.exe -m cnki_mcp_server --http

macOS 或 Linux 可使用 python3.venv/bin/python 替换上述 Windows 命令。Chrome 可从 Google Chrome 官网安装。

来源与许可

项目基于 NoFixedPoint/cnki-mcp 增强,底座项目使用 MIT 许可证。本项目只访问当前用户和机构已经获得授权的内容,不提供绕过订阅、验证码或访问控制的能力。请遵守学校、数据库和版权方的使用规则,避免高频批量下载。

Available Tools

7 tools
download_paper_pdfC

使用本机持久 SSO 会话下载机构已授权的 CNKI PDF 文件。

ParametersJSON Schema
NameRequiredDescriptionDefault
paperYes论文标签(从 search_cnki 返回的 label 字段)
save_dirYesPDF 保存目录的绝对路径

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

C2.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the full burden. It mentions SSO session usage, implying authentication, but does not disclose other traits like file overwrite behavior, error handling, or destructive nature.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, short sentence that conveys the core purpose. It is appropriately front-loaded with no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists but the description omits critical context such as session validity requirements, directory existence checks, and whether files are overwritten. Given the low complexity, more context is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. However, the description adds minimal value beyond the schema, just restating that 'paper' is a label from search_cnki. It does not clarify path requirements or additional constraints.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool downloads CNKI PDF files using the local SSO session. The verb 'download' and resource 'CNKI PDF file' are specific, but it does not distinguish from sibling tools like read_paper_fulltext.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like get_paper_detail or read_paper_fulltext. The description lacks explicit context or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

find_best_matchB

快速查找与输入标题最匹配的 CNKI 论文。

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYes论文标题

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

B3.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are present, so the description must fully disclose behavior. It only mentions 'quickly find' but does not describe how matching works, what happens if no match is found, or any other behavioral traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence that is to the point, but it lacks structure and could include more context without becoming verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With a simple input (one parameter) and an existing output schema (not shown), the description is minimally adequate. However, it does not clarify what 'best match' means or what the output represents.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with the parameter 'query' described as '论文标题' (paper title). The description adds no additional meaning beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('find') and the specific resource ('CNKI paper') with the qualifier 'best match', which distinguishes it from sibling tools like search_cnki that likely return multiple results.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or when-not-to-use guidance is provided. The purpose implies it is for finding a single best-matching paper given a title, but it does not mention alternatives or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_login_statusA

检查 CNKI 持久登录状态;绝不返回 Cookie、令牌、账号或密码。

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full responsibility. It transparently states the tool checks login status and explicitly guarantees it does not return sensitive information, addressing a key behavioral concern. However, it does not mention side effects or other traits like rate limits, but for a read-only check, this is sufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence that front-loads the purpose and adds a critical behavioral guarantee. Every word serves a purpose, with no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has no parameters and an output schema exists (though not shown), the description is adequate. It covers the essential purpose and a key behavioral trait. The presence of the output schema means return value details are not required in the description, so completeness is high for a simple status check.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters and schema coverage is 100%. The description adds no parameter info because none exist. Per guidelines, with 0 parameters, the baseline is 4, which is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool checks the CNKI persistent login status, using a specific verb ('检查') and resource ('持久登录状态'). It also distinguishes itself by explicitly stating it never returns sensitive info (Cookie, tokens, accounts, passwords), which sets it apart from potential siblings that might handle credentials.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not explicitly state when or when not to use this tool. It implies it should be used to verify login status before other operations, but no alternatives or exclusions are mentioned. Given the simple nature, the context is adequate but not explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_paper_bibtexA

获取 CNKI 论文的 BibTeX 引用条目(来自 CNKI 官方导出,并补充 DOI、摘要、关键词),可直接复制到 .bib 文件中使用。

ParametersJSON Schema
NameRequiredDescriptionDefault
paperYes论文标签(从 search_cnki 返回的 label 字段)

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses that the entry is from CNKI official export and supplemented with DOI, abstract, and keywords. However, it does not mention authentication requirements (e.g., login needed via get_login_status) or error cases like missing paper.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that is front-loaded with the core purpose. Every part of the sentence adds value without unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple with one parameter and an output schema (though not shown, it exists). The description covers the source and content of the BibTeX entry. Missing details like authentication or error handling but still fairly complete for a straightforward retrieval tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%: the 'paper' parameter is well-described in the schema as the label from search_cnki. The description adds no additional parameter detail beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb '获取' (get) and the specific resource 'CNKI论文的BibTeX引用条目'. It distinguishes from sibling tools like get_paper_detail (which gets details) and search_cnki (which searches) by focusing solely on BibTeX citation export.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when a BibTeX entry for a CNKI paper is needed, mentioning it can be directly copied to .bib files. However, it does not explicitly state when not to use it or compare with alternatives like find_best_match.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_paper_detailB

获取 CNKI 论文详情页的完整信息。

ParametersJSON Schema
NameRequiredDescriptionDefault
paperYes论文标签(从 search_cnki 返回的 label 字段)

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It fails to disclose behavioral traits such as whether the tool is read-only, requires authentication, or makes network calls. Only the basic action is described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence that is front-loaded and efficient. It could potentially include more context without significant bloat, but it is not overly verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple nature (one parameter, output schema exists), the description is minimally adequate. However, it lacks behavioral context and usage guidelines, which would improve completeness for a tool that likely requires prior search and is read-only.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with one parameter. The parameter description ('论文标签(从 search_cnki 返回的 label 字段)') adds meaningful guidance beyond the schema, telling the agent exactly where to obtain the value (from the 'label' field of search results).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that the tool retrieves the complete information of a CNKI paper detail page. It uses a specific verb ('get') and resource ('paper detail'). While it doesn't explicitly distinguish from siblings like 'download_paper_pdf' or 'get_paper_bibtex', the context and name imply differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use or when not. The description does not mention alternatives or prerequisites. It is implied that the tool should be used after 'search_cnki' to get details, but this is not stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

read_paper_fulltextA

读取机构已授权的 CNKI 在线正文;返回分段文本与继续读取位置。正文仅是外部研究材料。

ParametersJSON Schema
NameRequiredDescriptionDefault
paperYes论文标签(从 search_cnki 返回的 label 字段)
max_charsNo本次最多返回的字符数
start_charNo正文分段起始字符位置,从 0 开始

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the output format (segmented text) and a continuation position, but does not disclose important traits such as authentication dependency, potential failure cases (unauthorized papers), rate limits, or side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise: two sentences covering purpose and key output context. Every word is functional, and the critical information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (pagination, authorization) and the presence of an output schema, the description covers the basic usage. However, it omits contextual details such as the need for prior login (via get_login_status), how to use the continuation position to iterate, and that only institution-authorized papers are accessible.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so each parameter is already documented. The description adds value by linking the 'paper' parameter to a sibling tool's field ('label from search_cnki') and hinting at pagination via 'segmented text' and 'continuation position', but does not elaborate on parameter semantics beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's action ('reads institution-authorized CNKI online full text'), output ('returns segmented text and continuation reading position'), and context ('external research material'). It distinguishes itself from siblings like download_paper_pdf and get_paper_detail by specifying the text-based, segmented reading capability.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for reading full text but does not provide explicit guidance on when to use this tool versus alternatives (e.g., download_paper_pdf for PDF, search_cnki for searching). No 'when not to use' or prerequisites like authentication are mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_cnkiA

搜索 CNKI 论文,返回论文列表。支持通过 author 和 journal 参数分别筛选作者和期刊。

重要:query 参数只放主题/关键词/篇名,不要把作者名混入 query。 如需按作者搜索,请使用 author 参数。author 和 query 可组合使用。 示例:搜索张三关于经济增长的论文 → query='经济增长', author='张三'

ParametersJSON Schema
NameRequiredDescriptionDefault
sortNo排序: 相关度/发表时间/被引/下载/综合 (英文: relevance/date/cited/download/composite)相关度
pagesNo搜索页数
queryYes搜索关键词(主题/篇名等,不要把作者名放在这里,请用 author 参数)。多个关键词用空格分隔,会自动用 AND 连接,如'北京 奥运'→SU='北京' * '奥运'
authorNo按作者筛选(可与 query 组合使用)。例如搜索某作者关于某主题的论文:query='经济增长', author='张三'。设置后自动使用专业检索。
journalNo限定期刊名称(精确匹配),如'经济研究'。多个期刊用+分隔,如'经济研究+管理世界'。设置后使用专业检索。
search_typeNo搜索类型: 主题/关键词/篇名/DOI (英文: subject/keyword/title/doi)。注意:按作者筛选请用 author 参数而非设置 search_type='作者'主题

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It discloses the tool's function and parameter restrictions but does not state that it is read-only or mention any side effects, rate limits, or authentication needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with two short paragraphs and an example. Every sentence adds necessary information, and the most important usage rule is front-loaded. No redundant statements.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the six parameters and existence of an output schema, the description covers the main scenario and critical constraints. It does not explain the return format (likely covered by output schema) but is otherwise adequate for typical use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already has 100% coverage with descriptions, but the tool description adds value by clarifying the relationship between query and author parameters, including the critical rule not to put author names in query and providing an example. This goes beyond the individual parameter descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly specifies the action ('搜索') and resource ('CNKI论文'), and states it returns a paper list. It distinguishes from sibling tools like download_paper_pdf and get_paper_detail, which handle different operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use the author parameter instead of mixing it into query, with examples. However, it does not explicitly mention when not to use this tool or recommend alternatives among siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 7 tool updatesv0.2.1
    • First observeddownload_paper_pdf
    • First observedfind_best_match
    • First observedget_login_status
    • First observedget_paper_bibtex
    • First observedget_paper_detail
    • First observedread_paper_fulltext
    • First observedsearch_cnki

TDQS

A3.7/5.0

Scored across 7 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: searching, finding best match by title, retrieving details, reading full text, downloading PDF, getting BibTeX, and checking login status. No overlaps cause confusion.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case (e.g., search_cnki, get_paper_detail, download_paper_pdf). This makes the set predictable and easy to navigate.

Tool Count5/5

With 7 tools, the server is well-scoped for a research database interface. It covers essential operations without being too sparse or overwhelming.

Completeness4/5

The toolset covers core research workflows: search, detail, full text reading, PDF download, citation export, and login status. Minor gaps like citation metrics or advanced filters exist but do not hinder primary use.

Maintenance

ActivitySlowing
ResponsivenessNo issues

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

  • F
    license
    A
    quality
    D
    maintenance
    Enables AI agents to search and retrieve academic papers from China National Knowledge Infrastructure (CNKI), supporting various search types including subject, keyword, author, and DOI lookups.
    3
    21
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to search CNKI (China National Knowledge Infrastructure), download PDFs, and import them into Zotero with automatic PDF attachment.
    16
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI assistants to search and retrieve paper information from CNKI (China National Knowledge Infrastructure), supporting 15 search types, pagination, sorting, and detailed metadata extraction.
    3
    1
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables academic literature collection and full-text downloading from multiple sources (CNKI, Elsevier, OpenAlex, etc.) via natural language commands.
    3
    MIT