Mirobody
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
作者提供的说明(英文原文)
Search PubMed and PMC, read full texts, map evidence and build Obsidian knowledge graphs
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
NCBI_API_KEY, NCBI_EMAIL标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 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/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"pubmed-stream": {
"command": "uvx",
"args": [
"pubmed-stream",
"mcp"
],
"env": {
"NCBI_API_KEY": "your-value",
"NCBI_EMAIL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .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_EMAIL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 melhzy 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 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
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications
Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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:
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"]
pip install pubmed-stream
pubmed-stream search '"gut microbiota"[Title] AND frailty[Title/Abstract]'
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
pubmed-stream export publications -o frailty.bib
pubmed-stream neighborhood 31319564
pubmed-stream kg "gut microbiome frailty" -q '"gut microbiota"[Title] AND frailty[Title/Abstract]' --seed 31319564
pubmed-stream open kg_gut_microbiome_frailty
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
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.
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
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.
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)
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.
| # | Tutorial | Use case |
|---|---|---|
| 0 | Start here: a new research topic in an afternoon | From 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 |
| 1 | Getting started | Download a search, read the files, choose a format, resume, fetch one known article, rescue a search that finds nothing, read downloads compactly |
| 2 | Designing searches | Measure the size, precision and availability of five versions of one search, and combine words with MeSH headings |
| 3 | A literature-review corpus | Run a keyword list, deduplicate, screen by theme, export to CSV and BibTeX |
| 4 | The evidence around one paper | Map a paper's neighborhood and screen it for retractions |
| 5 | The knowledge graph of a study | Build a graph and explain it with twelve charts and tables |
| 6 | Text mining and RAG preparation | Split 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,
只显示了开头部分;其余内容请在仓库中阅读