pubmed-database
Skill by mkurman
Searches PubMed and PubMed Central through a CLI wrapper for NCBI E-utilities. It is for researchers and developers who need biomedical literature and linked database records.
Install pubmed-database
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mkurman/zorai /tmp/zorai && mkdir -p ~/.claude/skills && cp -r /tmp/zorai/skills/scientific-skills-gdm/pubmed_database ~/.claude/skills/pubmed-databaseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mkurman/zorai /tmp/zorai && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/zorai/skills/scientific-skills-gdm/pubmed_database ~/.gemini/antigravity-cli/skills/pubmed-databaseAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
PubMed API is an agent skill that gives an AI assistant command line access to NCBI PubMed and PubMed Central. It runs through a single script, scripts/pubmed_api.py, which covers search, fetching abstracts and open-access full text, and linking records to other NCBI databases such as gene, protein, nucleotide and PubChem. It also offers medical spelling checks, raw citation matching and result caching for bulk work.
Results are written to JSON files, and the skill recommends jq to filter them and limit context size. It uses the NCBI E-utilities and PMC BioC APIs and requires uv. An NCBI API key and a contact email are optional. The skill suits researchers and developers who search biomedical literature, including published clinical trials, and who must check the license of each retrieved paper.
Written from the project's SKILL.md and checked against it.
What it can do
- search_pubmedFinds PMIDs matching a free-text or structured NCBI query.
- global_database_discoveryCounts how many records match a query across every NCBI database.
- fetch_article_abstractsRetrieves metadata and abstracts for a batch of PMIDs.
- get_full_text_pmcRetrieves open-access full text from PMC.
- fetch_database_summaryResolves opaque UIDs from any NCBI database into readable metadata.
- find_linked_biological_dataFinds records in other NCBI databases linked to a source record.
- discover_available_linksLists the available ELink linknames for a given record.
- cache_results_historyUploads PMIDs to the NCBI History Server for bulk retrieval.
- verify_medical_spellingSpell-checks biomedical terms before searching.
- match_raw_citationsResolves incomplete bibliographic citations to PMIDs.
What you need
- uv installed and on PATH
- A .env file in the home directory
- Optional NCBI API key for a higher rate limit
- Optional contact email (USER_EMAIL) for NCBI
Try asking
- Search PubMed for recent clinical trials on BRCA1 and summarize the top 5
- Get the abstracts for these PMIDs and list their titles
- Find PubChem compounds linked to papers about EGFR inhibitors
Good to know
- Without an API key the rate limit is 3 requests per second; with a key it is 10.
- Check the PubMed and NCBI terms and the license of every paper retrieved.
- On error the script exits with a non-zero code and writes no output file.
- Outputs must mention the skill notice and list the URLs of all papers used.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/scientific-skills-gdm/pubmed_database/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to pubmed-database
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
pubmed-database: common questions
Does PubMed API need an NCBI API key?
No. The source says the skill works without a key, but a key raises the rate limit from 3 to 10 requests per second and is recommended for many queries.
Can it return full text of papers?
It can retrieve open-access full text from PubMed Central using get_full_text_pmc. The source tells users to check the license of each paper.
How are results saved?
The script writes JSON to the output file you specify. Users can then filter that output with jq or Python.
How do I install pubmed-database?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pubmed-database free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is pubmed-database safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to pubmed-database?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
