Pyeuropepmc
Europe PMC search, full text, annotations, data links, batch lookups and export for AI agents
pyEuropePMC is a Python library for searching Europe PMC, downloading full-text articles and turning their JATS XML into structured data. It supports querying Europe PMC with its search syntax or with QueryBuilder, and page through large result sets. It can download XML, PDF and HTML for open-access articles, one at a time or in batches, and bulk PDF packages from the Europe PMC FTP site.
It extracts metadata, sections, tables, figures and references from JATS XML with FullTextXMLParser. It performs multi-source search across Europe PMC, PubMed, arXiv, OpenAlex, Semantic Scholar and other services through UnifiedSearch, with duplicates merged. It supports adding metadata from CrossRef, OpenAlex, Semantic Scholar, Unpaywall and other services.
pyEuropePMC supports Python 3.10–3.13. It provides a command line and an MCP server for MCP clients.
Summary drafted from the project's own website. Every sentence is backed by text on that page and was reviewed before publishing.