Skip to content
Back to search

pubmearch

A PubMed MCP server.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/darkroaster--pubmearch/badge.svg)](/listings/darkroaster--pubmearch)

HTML

<a href="/listings/darkroaster--pubmearch"><img src="/api/listings/darkroaster--pubmearch/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

推荐使用uv虚拟环境。/ Recommend using uv virtual environment. uv:[访问uv repo](https://github.com/astral-sh/uv)

# pyproject.toml 目录下:
uv pip install -e .

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 109 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # PubMed Analysis MCP Server
  2. > **适用于PubMed的MCP server**:这是一个刚刚开发的项目,功能仍在完善中,欢迎各位提出建议和改进!
  3. >
  4. > **Note**: This is a newly developed project with features still being refined. Suggestions and improvements are welcome!
  5. 一个专业的PubMed医学文献分析MCP服务器,帮助科研人员快速洞察医学研究动态。
  6. A professional MCP server for analyzing PubMed medical literature to help researchers quickly gain insights into medical research dynamics.
  7. ## 功能特点 / Features
  8. - **文献检索 / Literature Retrieval**: 支持PubMed高级检索语法,可设置日期范围和结果数量。/ Supports PubMed advanced search syntax with date filtering.
  9. - **热点分析 / Hotspot Analysis**: 统计关键词频率,识别热门研究方向,汇总相关文献。/ Analyzes keyword frequencies to identify popular research areas.
  10. - **趋势追踪 / Trend Tracking**: 追踪关键词随时间的频率变化,揭示研究趋势演变。/ Tracks keyword changes over time to reveal evolving research trends.
  11. - **发文统计 / Publication Count**: 提供灵活的时间周期设置,分析文献数量变化。/ Analyzes publication volume changes with customizable time periods.
  12. - **全面报告 / Comprehensive Reports**: 一键生成包含热点、趋势和统计的分析报告。/ Generates complete reports with customizable parameters.
  13. ## MCP工具 / MCP Tools
  14. ### 1. search_pubmed
  15. 搜索PubMed并保存结果。/ Search PubMed and save results.
  16. 主要参数 / Key parameters:
  17. 一般而言不需要显性设置,与大模型沟通即可。/ Generally, no need to set explicitly, communicate with large models.
  18. - `advanced_search`: PubMed搜索查询(必填,与高级检索语法相同)/ PubMed search query (required, same as advanced search syntax)
  19. - `start_date`: 开始日期(格式:YYYY/MM/DD)/ Start date (format: YYYY/MM/DD)
  20. - `end_date`: 结束日期(格式:YYYY/MM/DD)/ End date (format: YYYY/MM/DD)
  21. - `max_results`: 最大结果数(默认:1000)/ Maximum results (default: 1000)
  22. ### 2. list_result_files
  23. 列出可用的结果文件。/ List available result files.
  24. ### 3. analyze_research_keywords
  25. 分析研究热点以及研究趋势。/ Analyze research hotspots and research trends.
  26. 主要参数 / Key parameters:
  27. - `top_n`: 分析的关键词数量(默认:20)/ Number of keywords (default: 20)
  28. ### 4. analyze_publication_count
  29. 分析发文数量。/ Analyze publication counts.
  30. ### 5. generate_comprehensive_analysis
  31. 生成全面分析报告。/ Generate comprehensive analysis.
  32. ## Trae使用示例 / Example for Trae
  33. *Between us... when I use the same model, Cursor makes me feel like I'm the one not making sense. Trae, on the other hand, just gets me. Seriously great IDE!*
  34. ### 安装依赖 / Install Dependencies
  35. 推荐使用uv虚拟环境。/ Recommend using uv virtual environment.
  36. uv:[访问uv repo](https://github.com/astral-sh/uv)
  37. ```bash
  38. # pyproject.toml 目录下:
  39. uv pip install -e .
  40. ```
  41. ### Write mcp.json
  42. Merge the following configuration in mcp.json (for Windows):
  43. ```json
  44. {
  45.   "mcpServers": {
  46.     "pubmearch": {
  47.       "command": "cmd",
  48.       "args": [
  49.         "/c",
  50.         "uv",
  51.         "run",
  52.         "--directory",
  53.         "path/to/project/root/directory", // The folder where the pubmearch folder is located
  54.         "-m",
  55.         "pubmearch.server"
  56.       ],
  57.       "env": {
  58.         "NCBI_USER_EMAIL": "youremailaddress@email.com",
  59.         "NCBI_USER_API_KEY": "your_api_key"
  60.       }
  61.     }
  62.   }
  63. }
  64. ```
  65. ### PubMed API key获取 / Get PubMed API key
  66. 1. 登录PubMed网站。/ Log in to PubMed.
  67. 2. 点击右上角的头像,选择“ Account Settings”。/ Click on your profile picture and select " Account Settings".
  68. 3. 向下滚动到“API Keys”部分,点击“Create API Key”。/ Scroll down to the "API Keys" section and click "Create API Key".
  69. ### LLM prompt (Agent mode)
  70. **推荐使用高级检索语法**。/ **Use advanced search syntax**.
  71. - Help me analyze the research hotspots on prostate cancer immunotherapy in the past three months. The advanced search query is ((prostat*[Title/Abstract]) AND (cancer[Title/Abstract])) AND (immu*[Title/Abstract]).
  72. - 帮我分析一下近三个月前列腺癌免疫治疗的研究热点,检索词为((prostat*[Title/Abstract]) AND (cancer[Title/Abstract])) AND (immu*[Title/Abstract]).
  73. ## 注意事项 / Notes
  74. - 请遵循NCBI的API使用政策。/ Follow NCBI usage policies.
  75. - 结果文件保存在`pubmearch/results`目录,日志位于`pubmed_server.log`。/ Results saved in `pubmearch/results` directory, logs in `pubmed_server.log`.
  76. - 本人平时学业繁忙,项目可能会有延迟。/ I am busy with my studies, the project may be delayed.
  77. ## 贡献 / Contributions
  78. 欢迎通过Issue或Pull Request贡献改进。/ Contributions are welcome via Issues or Pull Requests.
  79. ## 许可证 / License
  80. [MIT](https://github.com/Darkroaster/pubmearch/blob/main/LICENSE)

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.