pubmed-database

Query PubMed via NCBI E-utilities REST API with MeSH terms and boolean search syntax.

1|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/Victory-Hugo/S2-Agent-Skill --skill pubmed-database
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pubmed-database
Source: https://github.com/Victory-Hugo/S2-Agent-Skill/tree/main/skills/databases/pubmed-database
Command: npx skills add https://github.com/Victory-Hugo/S2-Agent-Skill --skill pubmed-database

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides direct programmatic access to PubMed via the NCBI E-utilities REST API, enabling automated queries, batch retrievals, and citation extraction without manual browsing.

Core Features & Use Cases

  • Advanced search capabilities with Boolean logic, field tags, and MeSH terms for precise retrieval.
  • Batch retrieval and export of PubMed data (PMIDs, abstracts, and summaries) to support literature reviews, data pipelines, and automated monitoring.
  • Python-friendly workflows using HTTP requests or optional Biopython Entrez integration for reproducible research and quick integration into existing pipelines.

Quick Start

Example: query PubMed for a topic using esearch, fetch summaries with esummary or efetch, and export results to CSV for downstream analysis.

Frequently Asked Questions about pubmed-database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I batch retrieve abstracts and citations from PubMed using E-utilities?

You can batch retrieve PubMed abstracts and citations by sending HTTP requests to the NCBI E-utilities REST API, using esearch to find PMIDs and efetch to export the data for literature reviews.

What is the best way to query PubMed with MeSH terms and Boolean logic programmatically?

Querying PubMed programmatically supports advanced search syntax with MeSH terms, field tags, and Boolean logic to ensure precise literature retrieval without manual browsing through the web interface.

Can I use Biopython Entrez to automate PubMed data export into my Python pipelines?

Yes, PubMed data export can be automated using standard HTTP requests or optional Biopython Entrez integration, enabling reproducible research and quick integration into existing Python workflows.

Do I need an API key to access NCBI E-utilities for PubMed queries?

No API key is strictly required to access NCBI E-utilities, but adding one to your HTTP requests increases rate limits, which is beneficial for batch retrievals and automated monitoring pipelines.

What are the rate limits when using E-utilities for batch retrieval of PubMed records?

Rate limits apply when using E-utilities for batch retrieval of PubMed records, but you can achieve higher rate limits by including an API key in your standard HTTP requests.

How do I export PubMed summaries and PMIDs to CSV for downstream data analysis?

You can export PubMed summaries and PMIDs to CSV by querying topics with esearch, fetching summaries with esummary or efetch, and formatting the HTTP response data for downstream analysis.