Search PubMed literature, MeSH terms, PMIDs, and citation data efficiently.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "pubmed-database" skill from askskill: 1. Download https://raw.githubusercontent.com/affaan-m/ECC/main/skills/scientific-db-pubmed-database/SKILL.md 2. Save it as ~/.claude/skills/scientific-db-pubmed-database/SKILL.md 3. Reload skills and tell me it's ready
Search PubMed for English papers from the last 3 years on biomarkers for early diagnosis of Alzheimer's disease. Sort by relevance and return the title, PMID, publication year, and a brief abstract summary.
A list of relevant papers with citation details and short summaries for quick screening.
Find MeSH terms related to type 2 diabetes and insulin resistance, and explain the scope of each term so I can build a search query.
Relevant MeSH terms, scope notes, and suggested combinations for search strategy building.
Retrieve standard citation details for these PMIDs: 31234567, 33456789, 35678901. Format them in APA style and include journal name, authors, and DOI.
Formatted citation results ready for academic writing or import into reference managers.
Use this skill when a task needs biomedical literature from PubMed rather than general web search.
Start with the research question, split it into concepts, then combine concepts with Boolean operators.
concept_1 AND concept_2 AND filter
synonym_a OR synonym_b
NOT exclusion_term
Useful PubMed field tags:
[ti]: title[ab]: abstract[tiab]: title or abstract[au]: author[ta]: journal title abbreviation[mh]: MeSH term[majr]: major MeSH topic[pt]: publication type[dp]: date of publication[la]: languageExamples:
diabetes mellitus[mh] AND treatment[tiab] AND systematic review[pt] AND 2023:2026[dp]
(metformin[nm] OR insulin[nm]) AND diabetes mellitus, type 2[mh] AND randomized controlled trial[pt]
smith ja[au] AND cancer[tiab] AND 2026[dp] AND english[la]
Prefer MeSH when the concept has a stable controlled-vocabulary term. Combine MeSH with title/abstract terms when the topic is new or terminology varies.
Correct subheading syntax puts the subheading before the field tag:
diabetes mellitus, type 2/drug therapy[mh]
cardiovascular diseases/prevention & control[mh]
Use [majr] only when the topic must be central to the paper. It can improve
precision but may miss relevant work.
Publication types:
clinical trial[pt]meta-analysis[pt]randomized controlled trial[pt]review[pt]systematic review[pt]guideline[pt]Date filters:
2026[dp]
2020:2026[dp]
2026/03/15[dp]
Availability filters:
free full text[sb]
hasabstract[text]
NCBI E-utilities supports repeatable API workflows:
esearch.fcgi: search and return PMIDs.esummary.fcgi: return lightweight article metadata.efetch.fcgi: fetch abstracts or full records in XML, MEDLINE, or text.elink.fcgi: find related articles and linked resources.Use an email and API key for production scripts. Store API keys in environment variables, never in committed files or command history.
import os
import time
import requests
BASE = "https://eutils.ncbi.nlm.nih.gov/entrez/eutils"
def esearch(query: str, retmax: int = 20) -> list[str]:
params = {
"db": "pubmed",
"term": query,
"retmode": "json",
"retmax": retmax,
"tool": "ecc-pubmed-search",
"email": os.environ.get("NCBI_EMAIL", ""),
}
api_key = os.environ.get("NCBI_API_KEY")
if api_key:
params["api_key"] = api_key
response = requests.get(f"{BASE}/esearch.fcgi", params=params, timeout=30)
response.raise_for_status()
time.sleep(0.35)
return response.json()["esearchresult"]["idlist"]
pmids = esearch("hypertension[mh] AND randomized controlled trial[pt] AND 2024:2026[dp]")
print(pmids)
For batches, prefer NCBI history server parameters (usehistory=y,
WebEnv, query_key) instead of passing very long PMID lists through URLs.
For each search pass, record:
Example:
| Database | Date searched | Query | Filters | Results |
| --- | --- | --- | --- | ---: |
| PubMed | 2026-05-11 | `sickle cell disease[mh] AND CRISPR[tiab]` | 2020:2026[dp], English | 42 |
…
Plan demand forecasts, safety stock, and replenishment for multi-location retail inventory.
Automatically format, lint, and fix code issues on every edit.
Apply NestJS architecture patterns to build maintainable production-ready TypeScript backends.
Learn robust error-handling patterns across TypeScript, Python, and Go applications.
Audit Claude skills and commands with quick scans or full stocktakes.
Create iOS liquid glass interfaces with dynamic visuals and interactive morphing.
Search and read PubMed literature directly without needing an NCBI API key.
Search PubMed, retrieve article metadata, and download PMC PDFs.
Search PubMed for biomedical papers, metadata, and abstracts through MCP.
Search and retrieve PubMed biomedical articles using natural language in Copilot.
Search PubMed clinical literature, access full text, and summarize evidence.
Enables AI agents to search PubMed, cache results, and download open-access full text.