pubmed-database

Query PubMed via NCBI E-utilities and retrieve results in XML or JSON.

6|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/pur3v4d3r/pur3-pkb-codebase --skill pubmed-database-pur3v4d3r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pubmed-database
Source: https://github.com/pur3v4d3r/pur3-pkb-codebase/tree/main/.claude/skills/__scientific-skills/pubmed-database
Command: npx skills add https://github.com/pur3v4d3r/pur3-pkb-codebase --skill pubmed-database-pur3v4d3r

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PubMed search and data retrieval can be slow and error-prone when done manually. This skill enables programmatic access to PubMed data via the NCBI E-utilities API, enabling reproducible searches and automated data extraction.

Core Features & Use Cases

  • Advanced Search Construction: Build complex queries using Boolean operators, field tags, and MeSH terms.
  • Programmatic Data Retrieval: Retrieve PMIDs, summaries, and metadata in XML/JSON for downstream processing.
  • Use Case: Systematic reviews or literature monitoring pipelines that require reproducible search strategies and bulk data downloads.

Quick Start

Query PubMed with a basic term such as 'cancer AND 2024[dp]' using ESearch and retrieve summaries with ESummary.

Frequently Asked Questions about pubmed-database

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

FAQPage Schema
How do I automate PubMed literature search for a systematic review?

Automate PubMed literature search by programmatically building complex queries with Boolean operators and MeSH terms via the NCBI E-utilities API. This enables reproducible search strategies and bulk data downloads for systematic reviews.

Can I retrieve PubMed metadata in JSON format using E-utilities?

Yes, retrieve PubMed metadata in JSON or XML formats using the ESummary endpoint. Programmatic data retrieval returns PMIDs, summaries, and metadata suitable for downstream processing in automated pipelines.

How do I use MeSH terms to build advanced PubMed queries programmatically?

Build advanced PubMed queries by combining MeSH terms with Boolean operators and field tags. The E-utilities API supports complex search construction for precise, reproducible literature filtering and automated monitoring.

Do I need an API key to use NCBI E-utilities for batch PubMed downloads?

An NCBI API key is required to handle rate limits when performing batch PubMed downloads. The skill manages API keys to ensure reliable paging and bulk retrieval of records via E-utilities endpoints.

What is the best way to monitor PubMed literature automatically via API?

The best way to monitor PubMed literature is by automating ESearch queries with specific terms like 'cancer AND 2024[dp]'. This programmatic approach enables continuous literature monitoring and reproducible data extraction.

Are there limitations when paging through large PubMed result sets with E-utilities?

Paging through large PubMed result sets requires handling API rate limits with an API key. The skill supports paging and batch downloads, but network access to E-utilities endpoints is required for successful retrieval.