PubMed Article Fetcher

pending

by Svend Gundetrup

Fetch article metadata from PubMed ID or DOI links.

Updated 24d agoDiscovered via Obsidian Unofficial Plugins
View on GitHub

PubMed Article Fetcher Plugin for Obsidian

Fetch article metadata from PubMed, PMC, and DOI links automatically.

Features

  • Multiple Input Formats: PubMed ID, PMC ID, DOI, or their URLs
  • Smart Detection: Automatically identifies input type
  • Rich Citations: Title, journal, year, and clickable links
  • Duplicate Prevention: Skips already cited articles
  • Batch Processing: Update all links in notes or vault
  • Full Text Access: PMC links provide free full text

Quick Start

  1. Install plugin and enable in Obsidian
  2. Use any of these methods:

Command Palette

  • "PubMed Article Fetcher Note" - Create new note
  • Enter ID/URL: 38570095 or https://pubmed.ncbi.nlm.nih.gov/38570095/

Right-Click Menu

  • Select text → "PubMed Article Fetcher Link Selected"
  • Replaces text with formatted citation

Batch Processing

  • "Link All" - Update all links in current note
  • "Link Global" - Update all notes (enable in settings first)

Supported Formats

TypeExampleResult
PubMed ID38570095📚 Review: Title - Year, Journal
PMC IDPMC6792392📚 Article: Title - Year, Journal 📄
DOI10.1016/j.clinme.2024.100038🔗 Article: Title - Year, Journal

Settings

  • NCBI API Key: Optional, for higher rate limits
  • Enable Global Update: Safety toggle for vault-wide operations

Development

npm install          # Install dependencies
npm run build        # Build plugin
npm test             # Run tests
npm run lint         # Check code quality

Testing

  • Unit Tests: 72 tests covering core functionality
  • Integration Tests: Real API validation
  • Coverage: URL extraction, formatting, duplicate detection

API Sources

  • PubMed: NCBI E-utilities
  • DOI: Crossref API
  • PMC: PubMed Central

License

AGPL-3.0

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.