본문으로 건너뛰기
cccskills
무료GitHub에 공개

pubmed

Search PubMed/PMC medical literature via MCP server. Use for literature search, retrieving abstracts, full-text articles, and citation analysis. Supports MeSH terms, batch fetching, PDF downloads, and RIS export.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(3)

  • SKILL.md3.2 KB
  • README.md4.4 KB
  • references/query-syntax.md1.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

PubMed Search Skill

Direct PubMed/PMC API access via web_fetch. No dependencies required.

API Endpoints

FunctionEndpoint
Searcheutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi
Summaryeutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi
Fetcheutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi
Similareutils.ncbi.nlm.nih.gov/entrez/eutils/elink.fcgi
Citationsicite.od.nih.gov/api/pubs
PMC Full Textwww.ncbi.nlm.nih.gov/pmc/utils/oa/oa.fcgi

1. Search (with Sort)

https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term=QUERY&retmax=20&retmode=json&sort=SORT

Sort options:

  • sort=relevance — Best Match (ML-based, default)
  • sort=pub_date — Most Recent

Example:

?db=pubmed&term=gastric+cancer[mh]+AND+artificial+intelligence[mh]&retmax=10&retmode=json&sort=pub_date

Returns: idlist (PMIDs), count, querytranslation

2. Get Summaries (titles, authors, PMCID)

https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=pubmed&id=PMID1,PMID2&retmode=json

Returns: title, authors, journal, pubdate, pmcid (if available)

3. Fetch Abstracts

https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&id=PMID1,PMID2&rettype=abstract&retmode=xml

Returns: Full abstract XML with all metadata

4. Count Only (fast)

https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term=QUERY&retmax=0&retmode=json

Use retmax=0 for fast count without retrieving IDs.

5. Find Similar Articles

https://eutils.ncbi.nlm.nih.gov/entrez/eutils/elink.fcgi?dbfrom=pubmed&db=pubmed&id=PMID&cmd=neighbor_score&retmode=json

Returns related articles ranked by similarity score.

6. Citation Counts (iCite)

https://icite.od.nih.gov/api/pubs?pmids=PMID1,PMID2,PMID3

Returns: citation_count, relative_citation_ratio, nih_percentile, etc.

7. PMC Full Text / PDF URLs

https://www.ncbi.nlm.nih.gov/pmc/utils/oa/oa.fcgi?id=PMCID

Returns OA article links including PDF URLs.

8. RIS Export

https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&id=PMID1,PMID2&rettype=medline&retmode=text

Returns MEDLINE format (convertible to RIS).

Query Syntax

See references/query-syntax.md for MeSH terms and search fields.

Workflow Example

# 1. Search with relevance sort
search = web_fetch("...esearch.fcgi?term=gastric+cancer+AI&sort=relevance&retmax=20")
pmids = search["idlist"]

# 2. Get summaries
summaries = web_fetch(f"...esummary.fcgi?id={','.join(pmids)}")

# 3. Fetch abstracts for top hits
abstracts = web_fetch(f"...efetch.fcgi?id={pmids[0]},{pmids[1]}&rettype=abstract")

# 4. Get citation counts
citations = web_fetch(f"https://icite.od.nih.gov/api/pubs?pmids={','.join(pmids)}")

Rate Limits

  • Without API key: 3 req/s
  • With API key: 10 req/s (add &api_key=KEY)
  • Respect 1 second between calls

Get API key: https://www.ncbi.nlm.nih.gov/account/settings/

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

이 스킬의 문제 신고