Spiral gives your agent every tool with one account. Browse the tools →

opencode · Health

How to Use Europe PMC article annotations in opencode

Returns text-mined biological terms, relationships, and linked database identifiers from an article. Use it to find genes, diseases, chemicals, or data accessions for evidence review and database lookup.

Prompts to try with Europe PMC article annotations in opencode

Copy an example into opencode, or ask in your own words.

Use Europe PMC article annotations for PMC3257301 and create a table of returned biological terms and linked database identifiers for this project's evidence notebook.

Europe PMC article annotationsopencode
Try asking
  • Use Europe PMC article annotations to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Europe PMC article annotations and tell me what changed since last week.

  • Check Europe PMC article annotations and summarize what you find in three bullet points.

  • Pull the newest data from Europe PMC article annotations and give me the result as a table.

How to set up Europe PMC article annotations in opencode

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run Europe PMC article annotations

    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": "europepmc-org/publications/annotations",
        "input": {
          "id": "<id>"
        }
      }'

Then paste one of the prompts above: opencode finds Europe PMC article annotations on Spiral, shows the price and runs it.

Europe PMC article annotations providers and prices

Spiral runs Europe PMC article annotations through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth
Europe PMC · Annotations
europepmc-org/publications/annotations

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 20025

Most entities, and most relationships, returned.

Every API field of Europe PMC · Annotations is on its tool page: open its card above.

What can you do with Europe PMC article annotations in opencode?

Add a biomedical reading list or evidence panel to your project using Europe PMC publication data. Pair article records with available text or biological annotations so readers can inspect the papers behind each research note.

Prepare a journal club discussion

Find papers on CRISPR screening, inspect their abstracts, read available methods and results, and use biological annotations to identify terms that need explanation.

Review gene-disease evidence

Build a BRCA1 and breast cancer reading list. Combine publication records, available supporting passages, and text-mined biological annotations into a review queue.

Compare experimental methods

Collect single-cell RNA sequencing papers, screen their abstracts, and compare methods described in available full text. Use annotations to help identify the biological subjects being compared.

Connect papers to biological databases

Find research on a protein of interest, inspect publication details, and collect linked identifiers from article annotations. Read available passages to explain each identifier's role in the paper.

Build an evidence notebook

Organize papers about SARS-CoV-2 by publication record, abstract, available article passages, and annotated biological terms. Keep each research note connected to its source paper.

Questions about Europe PMC article annotations in opencode

Can opencode use Europe PMC article annotations?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Europe PMC article annotations like any built-in tool.

How much does Europe PMC article annotations cost in opencode?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

Do I need an Alexandria account to use Europe PMC article annotations in opencode?

No. Spiral runs Europe PMC article annotations on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Europe PMC article annotations in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while Europe PMC article annotations runs?

Europe PMC article annotations runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Does Europe PMC include PubMed records?

Yes. Europe PMC indexes journal-article abstracts and metadata from PubMed, alongside other literature sources. A publication record does not necessarily come with downloadable article text.

How often does Europe PMC add or update content?

Europe PMC updates its content daily. Its current annotation types are added to new articles and publications as they are indexed.

Can every article in Europe PMC be downloaded in full?

No. Even among articles readable within Europe PMC, only an open-access subset is downloadable. Finding a publication record therefore does not establish that its full text is retrievable.

Are Europe PMC's biological annotations manually verified findings?

Europe PMC identifies annotated terms with text-mining algorithms, including genes, chemicals, and diseases. Use those annotations to locate passages for review rather than treating a detected term as a verified scientific conclusion.

What information is available without the full article?

Europe PMC's fuller publication records can include an abstract, MeSH subject terms, and links to full text. These records support literature screening even when downloadable article text is unavailable.

Get started

Start using Europe PMC article annotations in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options