Cnki MCP
MCP server by wuruiqi Verified · gh:wuruiqi
Cnki MCP lets AI assistants search CNKI (中国知网) articles, download PDFs and import them into Zotero. It suits researchers who have institutional CNKI access and use Zotero for references.
Install Cnki MCP
Built from the published package, never by AI.
claude mcp add cnki-mcp -- uvx cnki-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"cnki-mcp": {
"args": [
"cnki-mcp"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"cnki-mcp": {
"args": [
"cnki-mcp"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"cnki-mcp": {
"args": [
"cnki-mcp"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add cnki-mcp -- uvx cnki-mcp{
"mcpServers": {
"cnki-mcp": {
"args": [
"cnki-mcp"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add cnki-mcp uvx cnki-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the cnki-mcp block.
About
Cnki MCP is an MCP server that lets an AI assistant search CNKI (中国知网) journal articles, sort results by publication time and citation count, and remove duplicates. It can download article PDFs or CAJ files and import them into Zotero, attaching PDFs to items when the Zotero desktop app is running.
It extracts embedded PDF metadata with PyMuPDF and builds a difference table against existing Zotero entries. Updates are applied only after the user confirms them. Cookies are saved so the login state persists for a few hours. The project is intended for personal learning and research, and users need valid CNKI institutional access, such as campus network, VPN, or institution accounts.
Written from the project's README and checked against it.
Tools it gives your assistant
cnki_login_statusChecks the institutional login status for CNKI.cnki_open_login_pageOpens the login page so the user can sign in through their institution.cnki_save_cookiesSaves the current CNKI cookies manually.cnki_searchSearches CNKI journal articles by keyword, including citation counts.cnki_download_pdfDownloads a single PDF or CAJ file.cnki_import_to_zoteroImports a metadata list into Zotero, optionally attaching a PDF.cnki_batchRuns multi-sort search, deduplication, download, Zotero import and metadata preview in one call.cnki_preview_metadata_updatesExtracts PDF metadata and builds a difference table against existing data.cnki_apply_metadata_updatesSends confirmed differences as updates to Zotero entries.
What you need
- Python 3.10 or later
- Playwright with system Chrome or bundled Chromium
- Valid CNKI institutional access (campus network, VPN or institution account)
- Zotero 7 or later desktop app for automatic PDF attachment (optional)
- Zotero API key and library ID for deduplication and metadata updates (optional)
Try asking
- Check whether I am still logged in to CNKI.
- Search CNKI for 螺旋推进 散粒体 and import the results into Zotero.
- Preview metadata differences between my PDFs and Zotero entries.
Good to know
- PDF auto-attachment requires the Zotero desktop app to be running; otherwise only metadata is written.
- cnki_apply_metadata_updates requires the Zotero cloud API.
- CNKI shows about 20 results per page, so top_n above 20 returns fewer items; pagination is planned.
- Repeated requests can trigger CNKI human verification, which blocks searches and downloads until completed in the browser.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Cnki MCP
All alternatives →Searches and discovers Agent Skills from the skills.sh registry, according to its listing description. The source file itself documents the Agent Skills format rather than this server.
Connects AI agents to Exa for web search, content fetching, and multi-step research. It is aimed at developers and AI assistant users who want web results and page content inside their assistant.
Apify MCP server gives AI agents web scraping, data extraction, and browser automation through thousands of ready-made Actors from Apify Store. It suits developers and teams who want agents to pull data from websites without installing a separate MCP server for each site.
Official MCP server for changedetection.io that connects AI assistants such as Claude.AI and OpenAI tools to a changedetection.io dashboard. It lets users ask about tracked web page changes, including price and back-in-stock alerts.
Brave Search MCP Server gives AI assistants web, local, place, image, video and news search through the Brave Search API. It also offers grounded Answers for developers and teams that want cited results.
Scrapling is a Python web scraping framework with an MCP server for AI agents. It offers stealth HTTP requests, browser rendering, Cloudflare Turnstile handling, and CSS selector extraction for developers and scrapers.
Compare with Agent Skills Search Server, Exa or Apify
Cnki MCP: common questions
Does Cnki MCP need Zotero?
Zotero is optional. Without the Zotero desktop app running, PDFs are not attached and only metadata is written. Metadata updates and deduplication need a Zotero API key and library ID.
How does Cnki MCP handle duplicate papers?
It removes duplicates by title between the two sort orders. When Zotero API credentials are configured, it also skips articles already in the Zotero library.
Is Cnki MCP meant for commercial use?
The source says it is for personal learning and research only. Users should follow CNKI's terms of service and their institution's usage rules.
How do I install Cnki MCP?
In Claude Code run claude mcp add cnki-mcp -- uvx cnki-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Cnki MCP the official server?
Cnki MCP is published by gh:wuruiqi from its verified domain in the official MCP Registry.
Is Cnki MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Cnki MCP safe to use?
It scores 69 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Cnki MCP?
Similar MCP servers: Agent Skills Search Server, Exa, Apify, changedetection.io (official).
Does Cnki MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
