pubmed
Search PubMed for scientific literature and retrieve abstracts
Skill by lamm-mit
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/lamm-mit-pubmed
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: research
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/pubmed
What's inside
- Skill name
pubmed- Description
- Search PubMed for scientific literature and retrieve abstracts
- License
- Apache-2.0
- Instructions
- 114 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- metadata: must be a key/value mapping
Files (4)
- SKILL.md
- ncbi-api.md · references/
- pubmed_search.cpython-313.pyc · scripts/__pycache__/
- pubmed_search.py · scripts/
SKILL.md (first lines)
# PubMed Search
Search the PubMed database for scientific literature, retrieve abstracts, and format citations.
## Overview
PubMed is a free database of biomedical literature from MEDLINE, life science journals, and online books. This skill uses NCBI's E-utilities API to search and fetch articles.
## Usage
### Basic search:
```bash
python3 {baseDir}/scripts/pubmed_search.py --query "CRISPR gene editing"
```
### Search with filters:
```bash
python3 {baseDir}/scripts/pubmed_search.py --query "cancer immunotherapy" --year 2024 --max-results 20
```
### Get full abstracts:
```bash
python3 {baseDir}/scripts/pubmed_search.py --query "machine learning drug discovery" --format detailed
```
### Export citations:
```bash
python3 {baseDir}/scripts/pubmed_search.py --query "protein folding" --format bibtex
```
### Fetch specific article by PMID:
```bash
python3 {baseDir}/scripts/pubmed_search.py --pmid 35648464
```
## Parameters
| Parameter | Description | Default |
|-----------|-------------|---------|
| `--query` | Search query (supports PubMed syntax) | Required* |
| `--pmid` | Specific PubMed ID to fetch | - |
| `--max-results` | Maximum number of results | 10 |
| `--year` | Filter by publication year | - |
| `--year-start` | Start year for date range | - |
| `--year-end` | End year for date range | - |
| `--author` | Filter by author name | - |
| `--journal` | Filter by journal name | - |
| `--format` | Output format: summary, detailed, bibtex, json | summary |
| `--sort` | Sort by: relevance, date, first_author | relevance |
*Required unless `--pmid` is provided
## Search Syntax
PubMed supports advanced search operators:
- **AND/OR/NOT**: Combine terms (`cancer AND therapy`)
- **Phrases**: Use quotes (`"breast cancer"`)
- **Field tags**: `[Title]`, `[Author]`, `[Journal]`, `[MeSH]`
- **Wildcards**: `*` for truncation (`immun*`)
### Examples:
```
cancer[Title] AND therapy[Title]
"machine learning"[Title/Abstract]
Smith J[Author] AND 2024[Date - Publication]
Nature[Journal]
CRISPR[MeSH Terms]
```
## Examples
### Search recent papers on a topic:
```bash
python3 {baseDir}/scripts/pubmed_search.py --query "AlphaFold protein structure" --year 2024 --max-results 15
```
### Search by author:
```bash
python3 {baseDir}/scripts/pubmed_search.py --query "CRISPR" --author "Doudna JA"
```
### Get BibTeX for citations:
```bash
python3 {baseDir}/scripts/pubmed_search.py --query "deep learning genomics" --format bibtex --max-results 5
```
### Combine multiple filters:
```bash
python3 {baseDir}/scripts/pubmed_search.py --query "COVID-19 vaccine" --year-start 2023 --year-end 2024 --sort date
```
## Output Formats
### Summary
Compact list with title, authors, journal, and year.
### Detailed
Full abstract, author affiliations, MeSH terms, and DOI.
### BibTeX
Citation format for LaTeX documents.
### JSON
Machine-readable format with all metadata.
## Notes
- NCBI E-utilities have rate limits; heavy usage should use an API key
- Set `NCBI_EMAIL` environment variable for better rate limits
- Set `NCBI_API_KEY` for up to 10 requests/second (vs 3/second without)
- Results are returned by relevance by defaultFrom lamm-mit/scienceclaw, Apache-2.0.
More from lamm-mit/scienceclaw
- 0.516score
drugbank-database
lamm-mit
Access and analyze comprehensive drug information from the DrugBank database including drug properties, interactions, targets, pathways, chemical structures…
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
geometry-generator
lamm-mit
Generate parametric bioinspired ribbed membrane STL geometry via LLM-guided design.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
disease-research
lamm-mit
Generate comprehensive disease research reports using 100+ ToolUniverse tools.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
drug-research
lamm-mit
Generates comprehensive drug research reports with compound disambiguation, evidence grading, and mandatory completeness sections.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
fem-analysis
lamm-mit
Modal analysis of a membrane STL using Kirchhoff plate FEM (scipy eigensolver).
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
generate-image
lamm-mit
Generate or edit images using AI models (FLUX, Gemini).
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
ase
lamm-mit
Atomic Simulation Environment (ASE) for computational materials science.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
askcos
lamm-mit
Retrosynthetic template relevance prediction using a locally deployed ASKCOS TorchServe service.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
pylabrobot
lamm-mit
Vendor-agnostic lab automation framework.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
biorxiv-database
lamm-mit
Efficient database search tool for bioRxiv preprint server.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
esm
lamm-mit
Comprehensive toolkit for protein language models including ESM3 (generative multimodal protein design across sequence, structure, and function) and ESM C…
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
jax-modal-analysis
lamm-mit
3D tetrahedral FEM modal analysis of a membrane STL.
SkillCFreshness: C★ 250Claude Code +9
Signals
- Stars
- 250
- Forks
- 47
- Open issues
- 1
- Last commit (this folder)
- Mar 14, 2026 (7 months ago)
- Last release
- Jun 23, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/lamm-mit/scienceclaw
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from lamm-mit
- 0.516score
biorxiv-database
lamm-mit
Efficient database search tool for bioRxiv preprint server.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
disease-research
lamm-mit
Generate comprehensive disease research reports using 100+ ToolUniverse tools.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
askcos
lamm-mit
Retrosynthetic template relevance prediction using a locally deployed ASKCOS TorchServe service.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
ase
lamm-mit
Atomic Simulation Environment (ASE) for computational materials science.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
pylabrobot
lamm-mit
Vendor-agnostic lab automation framework.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
drug-research
lamm-mit
Generates comprehensive drug research reports with compound disambiguation, evidence grading, and mandatory completeness sections.
SkillCFreshness: C★ 250Claude Code +9
Cite this page
pubmed skill. Agent Mart. https://agentmart.dev/skills/lamm-mit-pubmed (last updated 2026-10-24)