ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

pubmed-stream

โดย melhzyรุ่น 0.4.4i★ –iรันบนเครื่อง
ชื่อใน registryio.github.melhzy/pubmed-stream

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: คลินิกและสุขภาพ
  • ต้องใส่ค่าเหล่านี้: NCBI_API_KEY

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "pubmed-stream": {
      "command": "uvx",
      "args": [
        "pubmed-stream",
        "mcp"
      ],
      "env": {
        "NCBI_API_KEY": "ใส่ค่าของคุณ",
        "NCBI_EMAIL": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add pubmed-stream --env NCBI_API_KEY='ใส่ค่าของคุณ' --env NCBI_EMAIL='ใส่ค่าของคุณ' -- uvx pubmed-stream mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "pubmed-stream": {
      "command": "uvx",
      "args": [
        "pubmed-stream",
        "mcp"
      ],
      "env": {
        "NCBI_API_KEY": "ใส่ค่าของคุณ",
        "NCBI_EMAIL": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "pubmed-stream": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pubmed-stream",
        "mcp"
      ],
      "env": {
        "NCBI_API_KEY": "ใส่ค่าของคุณ",
        "NCBI_EMAIL": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • 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

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub melhzy ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด คลินิกและสุขภาพi

  • ดาวมากกว่า 0% ของอีก 866 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 67% ของอีก 866 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 866 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

pubmed-stream ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: NCBI_API_KEY

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.4.4) เข้า registry 14 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Mirobody, FHIR MCP Server, Google Health MCP

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Mirobody

โดย thetahealth

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

รันบนเครื่อง★ 1,408Apache-2.0อัปเดต 5 วันที่ผ่านมา
ติดตั้ง

FHIR MCP Server

โดย wso2

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

รันบนเครื่อง★ 137Apache-2.0อัปเดต 9 วันที่ผ่านมา
ติดตั้ง

Google Health MCP

โดย davidmosiah

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

รันบนเครื่อง★ 79MITอัปเดต 4 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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,

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx