How to Use PubMed and PMC literature search in n8n
Find article identifiers and optional summaries for a biomedical topic, author, or journal. Use it to build an initial reading list before examining individual records or available full text.
Prompts to try with PubMed and PMC literature search in n8n
Copy an example into n8n, or ask in your own words.
Every Monday, use PubMed and PMC literature search for wastewater surveillance and antimicrobial resistance papers from the past year. List records that were absent from the previous digest.
Every Monday at 9am: use PubMed and PMC literature search to look this up and give me the result as a table.
Pull the latest numbers from PubMed and PMC literature search and tell me what changed since last week.
Check PubMed and PMC literature search and summarize what you find in three bullet points.
Pull the newest data from PubMed and PMC literature search and give me the result as a table.
How to set up PubMed and PMC literature search in n8n
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send n8n this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Create a key
Create a key under API keys in the console.
- Add an MCP Client node
In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:
https://api.spiral.ai/mcp
- Pick a tool
The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:
{ "provider": "fal", "model": "fal-ai/flux/schnell", "input": { "prompt": "a lighthouse at dawn" }, "wait": true } - Run PubMed and PMC literature search in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds PubMed and PMC literature search, prices it and runs it each time the step fires.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run PubMed and PMC literature search
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "pubmed-ncbi-nlm-nih-gov/publications/search", "input": { "query": "<query>" } }'
Then paste one of the prompts above: n8n finds PubMed and PMC literature search on Spiral, shows the price and runs it.
PubMed and PMC literature search providers and prices
Spiral runs PubMed and PMC literature search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask n8n for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Db | pubmed or pmc | pubmed | Entrez database: |
| Sort | relevance or pub_date | relevance |
|
| Limit | 1 to 50 | 20 | Results per page (esearch retmax). |
| Offset | 0 to 9950 | 0 | Zero-based index of the first result (esearch retstart). E-utilities cap offset + limit at 10,000. |
| Include summaries | on or off | When false, skip the esummary call and return ids only (one upstream request instead of two). |
Every API field of PubMed and PMC · Search is on its tool page: open its card above.
What can you do with PubMed and PMC literature search in n8n?
Maintain a weekly reading digest on a defined biomedical topic. A scheduled agent can compare retrieved records with earlier runs and add abstracts or available PMC passages to the digest.
Prepare a journal club reading pack
Find papers on semaglutide and cardiovascular outcomes, organize the citations, inspect abstracts, and read available PMC methods and results. Match article identifiers and follow related papers to prepare discussion questions.
Build a literature review screening queue
Search for wastewater surveillance studies, collect citation summaries, and screen individual abstracts against a written research question. Connect identifiers, inspect available full text, and follow related records for additional candidates.
Check the evidence behind a science article
Locate papers supporting an article about antimicrobial resistance. Match its DOI references, verify citation details and abstracts, read available PMC text, and inspect related research before drafting an evidence note.
Compare published research methods
Find single-cell RNA sequencing papers and organize their citations. Resolve identifiers, check abstracts, inspect available full-text methods, and use related articles to find alternative approaches worth comparing.
Maintain a research team reading digest
Periodically search for new publications on long COVID, compare results with the prior reading list, and prepare citation cards. Add abstract-based notes, available full-text findings, identifier matches, and relevant linked papers.
Develop a grant proposal bibliography
Search for research on tuberculosis diagnostics, organize candidate citations, and inspect abstracts and available full text for unanswered questions. Match identifiers and follow related papers to strengthen the background reading.
PubMed and PMC literature search success rate and speed on Spiral
Success and speed over the last 24 hours, across every run of these tools on Spiral.
| Tool | Success | Median time | Runs |
|---|---|---|---|
| PubMed and PMC · Search | 100.0% | 1.9s | 42 |
More on PubMed and PMC literature search and n8n
Overview
PubMed and PMC literature search in other agents
Questions about PubMed and PMC literature search in n8n
Can n8n use PubMed and PMC literature search?
Yes. Add Spiral to n8n as an MCP server, and n8n can find and run PubMed and PMC literature search like any built-in tool.
How much does PubMed and PMC literature search cost in n8n?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.
Do I need an Alexandria account to use PubMed and PMC literature search in n8n?
You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs PubMed and PMC literature search on its own Alexandria account.
How long does it take to set up PubMed and PMC literature search in n8n?
About two minutes: create a key, then add an MCP Client node, then pick a tool.
Does n8n wait while PubMed and PMC literature search runs?
PubMed and PMC literature search runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.
What does PubMed cover?
PubMed contains more than 40 million citations and abstracts from biomedical literature. MEDLINE is its largest component; PMC contributes citations for archived full-text articles.
How far back does the literature go?
PubMed supports searches for literature from 1946 onward. A small number of articles published before 1946 are searchable through records from PMC.
How often does PubMed receive new citations?
New citations from MEDLINE journals appear daily. That schedule describes citation availability, rather than a guarantee that every new publication immediately has a record.
Does every PubMed record include full text?
PubMed contains citations and abstracts rather than full journal articles. Full-text links can lead to PMC or a publisher, so a PubMed record alone does not establish PMC text availability.
Are PubMed’s citing-article lists complete?
No. PubMed explicitly says its cited-by list may omit works that cite a paper, so the returned list should not be presented as its total citation count.
Start using PubMed and PMC literature search in n8n
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into n8n:
set up https://spiral.ai/SKILL.md


