使用说明
cnki-mcp
MCP server for searching academic papers on CNKI (China National Knowledge Infrastructure). Built with FastMCP and Playwright. Supports journal filtering via CNKI professional search.
Install
pip install git+https://github.com/NoFixedPoint/cnki-mcp.git
playwright install chromium
Configure
Claude Code — add to .mcp.json or run claude mcp add cnki cnki-mcp:
{
"mcpServers": {
"cnki": { "command": "cnki-mcp" }
}
}
Cursor — add to ~/.cursor/mcp.json with the same format.
Tools
| Tool | Description |
|---|---|
search_cnki |
Search papers by keyword, author, title, DOI, etc. Optional journal param restricts to a specific journal via CNKI professional search. |
get_paper_detail |
Get full metadata (abstract, authors, keywords, DOI, citations, ...) for a paper URL. |
download_paper_pdf |
Download a paper's PDF to a local directory. Requires institutional IP access. |
find_best_match |
Find the paper whose title best matches the input. |
Examples
- "Search CNKI for papers about 人民币国际化"
- "Search CNKI for 人民币国际化 papers in 经济研究"
- "Search CNKI for 人民币国际化 papers in 管理世界"
- "Get details for this CNKI paper: <url>"
- "Download the PDF of this paper to D:/papers: <url>"
Requirements
- Python >= 3.10
- Chrome/Chromium (installed via
playwright install chromium)
License
MIT