原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

pubmed-stream

作者:melhzy版本 0.4.4i★ –i在你的电脑上运行
注册名称io.github.melhzy/pubmed-stream

安装

概览

作者提供的说明(英文原文)

Search PubMed and PMC, read full texts, map evidence and build Obsidian knowledge graphs

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 诊所与健康
  • 你需要填写:NCBI_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: NCBI_API_KEY, NCBI_EMAIL

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "pubmed-stream": {
      "command": "uvx",
      "args": [
        "pubmed-stream",
        "mcp"
      ],
      "env": {
        "NCBI_API_KEY": "your-value",
        "NCBI_EMAIL": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add pubmed-stream --env NCBI_API_KEY=your-value --env NCBI_EMAIL=your-value -- uvx pubmed-stream mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "pubmed-stream": {
      "command": "uvx",
      "args": [
        "pubmed-stream",
        "mcp"
      ],
      "env": {
        "NCBI_API_KEY": "your-value",
        "NCBI_EMAIL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "pubmed-stream": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pubmed-stream",
        "mcp"
      ],
      "env": {
        "NCBI_API_KEY": "your-value",
        "NCBI_EMAIL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • NCBI_API_KEY 机密 env
    Optional free NCBI API key, which raises NCBI's limit from 3 to 10 requests a second; create it under API Key Management at https://account.ncbi.nlm.nih.gov/settings/
  • NCBI_EMAIL env
    Optional contact email that NCBI asks programs to send with their requests

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 melhzy 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“诊所与健康”中的其他服务器比较i

  • 星标数多于此分类中其他 871 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 871 个服务器的 66% 更新
  • 基础检查结果等于或优于此分类中其他 871 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

pubmed-stream 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:NCBI_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.4.4)于15天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Mirobody, FHIR MCP Server, Google Health MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Mirobody

作者:thetahealth

Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.

在你的电脑上运行★ 1,408Apache-2.06天前更新
安装

FHIR MCP Server

作者:wso2

MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications

在你的电脑上运行★ 137Apache-2.09天前更新
安装

Google Health MCP

作者:davidmosiah

Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents

在你的电脑上运行★ 79MIT4个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

pubmed-stream: PubMed search and PubMed Central full-text download, for researchers and their AI assistants

pubmed-stream is an open-source Python library and command-line tool that takes a PubMed search to a knowledge graph of the literature. It is built on NCBI's official E-utilities API, works from the command line or Python, and needs nothing beyond requests. AI assistants use it too: it is a plugin for Claude Code and Codex, and a PubMed MCP server for them and Gemini CLI, so you can ask a research question in plain English and get an answer that cites only papers the assistant downloaded and read.

With it you can:

  • Search PubMed and PubMed Central (PMC) with field tags and MeSH (Medical Subject Headings), and see how many papers a search finds before downloading anything (section 2)
  • Bulk-download full-text articles from PubMed Central as JSON, with metadata, references and text or JATS XML, and the PubMed abstracts of articles without free full text (section 1)
  • Export citations as BibTeX or RIS for Zotero, EndNote and Mendeley (section 1)
  • Find the papers that cite a paper, the papers it cites and the papers PubMed rates as similar, with retracted papers, reviews and NIH funding flagged (section 3)
  • Build a knowledge graph of a study's literature in Obsidian, one Markdown note per paper and MeSH concept, linked by citations, similarity and topics (section 4)
  • Give AI assistants PubMed tools through the MCP server or the plugin, and summarize abstracts with a local LLM through Ollama, so nothing leaves your computer (section 5)
  • Measure the impact of a retracted paper through the papers citing it and the papers citing those (tutorial 8)

Documentation: [melhzy.github.io/pubmed-stream](https://melhzy.github.io/pubmed-stream/), the tutorials, guides and reference in one searchable website, with every notebook shown with its results.

**A study made with it: the Aβ\*56 retraction impact page**, how a retracted Alzheimer's paper spread through the literature and how much of it language models learned, as an interactive page where every number comes from the study's files; see Studies.

New to programming? Start with tutorial 0, which takes a research question to a map of its literature in an afternoon. Click Open in Colab to run it in your web browser, with nothing to install; you only type your question into one settings cell.

flowchart LR

S["PubMed searches"] -->|"download"| D["Full-text articles metadata, references, text"] K["Key papers"] -->|"neighborhood"| N["Similar, citing and cited papers flagged reviews, retractions, NIH funding"] D --> G["Knowledge graph kg_topic, an Obsidian vault"] N --> G G --> O["Explore, write, refresh"]

Contents

  • Quick start
  • Tutorials
  • Studies
  • Installation and configuration
  • 1. Download full-text articles from PubMed Central
  • 2. Write PubMed searches that find the right papers
  • 3. Map the evidence around a paper: citing, cited and similar articles
  • 4. Build the knowledge graph of a study in Obsidian
  • 5. Use it with AI assistants (MCP server and plugin), local models and Obsidian
  • Python API for PubMed and NCBI E-utilities
  • Troubleshooting
  • How it works
  • Contributing
  • FAQ
  • Citation, acknowledgments and license

Quick start

pip install pubmed-stream

Size a search and preview its newest titles, without downloading: it counts PMC and all of PubMed

pubmed-stream search '"gut microbiota"[Title] AND frailty[Title/Abstract]'

Download the full text of up to 50 articles, add the abstracts of those whose full text is not

free, then read them compactly

pubmed-stream download '"gut microbiota"[Title] AND frailty[Title/Abstract]' --max-results 50 pubmed-stream abstracts '"gut microbiota"[Title] AND frailty[Title/Abstract]' --max-results 200 pubmed-stream list publications --abstracts

Export them as citations for Zotero, EndNote or Mendeley

pubmed-stream export publications -o frailty.bib

Map the evidence around one paper: similar, citing and cited papers, with retractions flagged

pubmed-stream neighborhood 31319564

Build a study's knowledge graph in ./kg_gut_microbiome_frailty

pubmed-stream kg "gut microbiome frailty" -q '"gut microbiota"[Title] AND frailty[Title/Abstract]' --seed 31319564

First add the folder in Obsidian with Open folder as vault, or use the automatic setup below.

After that, open the graph's home note from the terminal:

pubmed-stream open kg_gut_microbiome_frailty

Summarize the 10 newest abstracts and save the summaries in the knowledge graph. --model picks who

summarizes: a model on your own computer, in Ollama (https://ollama.com), so nothing leaves it, or the

model of an AI assistant installed below: claude, codex or gemini. Section 5 helps you choose

ollama pull qwen3.5:4b pubmed-stream review "Is the gut microbiota linked to frailty?" --limit 10 --model qwen3.5:4b --vault kg_gut_microbiome_frailty pubmed-stream review "Is the gut microbiota linked to frailty?" --limit 10 --model claude --vault kg_gut_microbiome_frailty

Or ask in plain English and let Claude Code, Codex or Gemini CLI run all of this: see below

For automatic first-time Obsidian setup with --register, see Open the graph in Obsidian. That section also explains how to use the updated source if your installed command does not yet support the option.

With an AI assistant: Claude Code, Codex or Gemini CLI

An AI assistant can do all of the above for you. Install one: Claude Code needs a paid Claude plan, Codex a paid ChatGPT plan, and Gemini CLI only a Google account. These commands need Node.js 22 or later; tutorial 7 shows the other installers and walks through a session.

npm install -g @anthropic-ai/claude-code   # Claude Code

npm install -g @openai/codex # Codex npm install -g @google/gemini-cli # Gemini CLI

Then give your assistant pubmed-stream's tools, in one of two ways:

# Claude Code or Codex: install the plugin once, for every folder. It needs uv (https://docs.astral.sh/uv/)

claude plugin install pubmed-stream --marketplace melhzy/pubmed-stream codex plugin marketplace add melhzy/pubmed-stream codex plugin add pubmed-stream@pubmed-stream

Any of the three: set up one research folder with the MCP server and instructions

mkdir gut_frailty cd gut_frailty pubmed-stream init

Start your assistant in your research folder with claude, codex or gemini. The first time, it asks you to sign in. With init, Claude Code also asks to approve the pubmed-stream server, and Gemini CLI asks whether you trust the folder: say yes to both, or the assistant will not have pubmed-stream's tools. /mcp lists them. Then ask in plain language:

*Is the gut microbiota linked to frailty? Size the search first, download the clinical studies, and summarize the evidence with PMIDs.*

Section 5 compares the plugin and init.

In Python

The first steps of the quick start, in Python:

from pubmed_stream import create_kg, get_neighborhood, search_and_download

stats = search_and_download('"gut microbiota"[Title] AND frailty[Title/Abstract]', max_results=50) hood = get_neighborhood("31319564") result = create_kg("gut microbiome frailty", queries=['"gut microbiota"[Title] AND frailty[Title/Abstract]'], seeds=["31319564"]) print(stats.successful, hood.totals, result.kg_dir)

Tutorials

The notebooks in tutorials/ are written for researchers, not programmers. Each follows a real research question. The notebooks have a single Your settings cell for your own question, run in Google Colab with nothing to install, and are saved with their results so you can read them first, on GitHub or on the documentation site; tutorial 7 happens in a terminal, with an AI assistant.

#TutorialUse case
0Start here: a new research topic in an afternoonFrom a question to a map of its literature: size the field, find the paper everyone cites, build a knowledge graph, read its themes, evidence and gaps, export a reading list
1Getting startedDownload a search, read the files, choose a format, resume, fetch one known article, rescue a search that finds nothing, read downloads compactly
2Designing searchesMeasure the size, precision and availability of five versions of one search, and combine words with MeSH headings
3A literature-review corpusRun a keyword list, deduplicate, screen by theme, export to CSV and BibTeX
4The evidence around one paperMap a paper's neighborhood and screen it for retractions
5The knowledge graph of a studyBuild a graph and explain it with twelve charts and tables
6Text mining and RAG preparationSplit articles into sections and chunk them for embeddings

| 7 | Your literature search with an AI assistant | For medical students and biologists: install Claude Code or Codex, connect it to pubmed-stream's MCP tools with the plugin or pubmed-stream init, choose a model, ask in plain English, check the evidence, keep it in Obsidian,

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx