[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Nature article full text](https://spiral.ai/integrations/opencode/nature-article-full-text)

# How to Use Nature article full text in opencode

Returns the section text of an open-access Nature article. Use it to examine methods and results beyond the abstract, checking separately for supporting material in supplementary files.

|  |  |
| --- | --- |
| Model | Nature article full text |
| Available through | Alexandria |
| Category | News & Media |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Nature article full text in opencode

- Use Nature article full text for DOI 10.1038/s41586-024-07487-w and add a section-based reading view to this project's paper reader.
- Use Nature article full text to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Nature article full text and tell me what changed since last week.
- Check Nature article full text and summarize what you find in three bullet points.
- Pull the newest data from Nature article full text and give me the result as a table.

## How to set up Nature article full text 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.

```bash
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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Nature article full text**: One request; the result comes back by polling or a webhook.

```bash
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": "nature-com/papers/get_article_text",
    "input": {
      "doi": "<doi>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Nature article full text on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Nature article full text tools and prices

- [Nature · Get article text](https://spiral.ai/tools/alexandria/nature-com/papers/get_article_text) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| doi |  | — | Nature DOI, `10.1038/{article_id}`, with or without a `doi:` / `https://doi.org/` prefix. |
| url |  | — | A pasted https://www.nature.com/articles/{article_id} URL instead of `article_id`/`doi`. |
| max_chars | 200 to 2000000 | — | Stop after this many characters of section text (the last section is cut); omit for the whole body. |
| article_id |  | — | Article identifier: the path segment of https://www.nature.com/articles/{article_id} (e.g. `s41467-026-73263-1`, `d41586-026-03000-7`, `nature12373`). |

## What can you do with Nature article full text in opencode?

Build a Nature reading catalog with article citations and links to the papers they reference. A coding agent can use your project's files to turn retrieved articles into searchable records and reading queues.

### Prepare a journal club

Choose candidates from a Nature issue or journal listing, verify their article details, then read available full text and follow the cited sources to prepare discussion questions.

### Screen literature for a review

Combine topic searches, subject browsing and monthly URL inventories to collect candidate papers. Use article details, available text and bibliographies to assess relevance and find earlier work.

### Write a monthly research digest

Gather candidates from journal listings, subject pages, searches and monthly inventories, then compare them with issue contents. Verify article details and read available text before selecting papers for the digest.

### Build a course reading list

Find foundational and recent papers through searches, subject pages, journal archives, dated issues and monthly inventories. Check the bibliographic details, inspect available text and use references to connect each reading to earlier research.

### Compare published methods

Find protein-structure prediction papers through topic searches, subject pages and journal listings. Compare the methods described in available article text, retaining each paper's citation and references for follow-up reading.

### Check sources for a science article

Find the original paper behind a Nature issue item or topic search. Verify its citation, read available full text and inspect the bibliography before writing claims about the study.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Nature article full text in other agents

- [Amp](https://spiral.ai/integrations/amp/nature-article-full-text)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/nature-article-full-text)
- [Claude](https://spiral.ai/integrations/claude-desktop/nature-article-full-text)
- [Claude Code](https://spiral.ai/integrations/claude-code/nature-article-full-text)
- [Cline](https://spiral.ai/integrations/cline/nature-article-full-text)
- [Codex](https://spiral.ai/integrations/codex/nature-article-full-text)
- [Cursor](https://spiral.ai/integrations/cursor/nature-article-full-text)
- [Devin](https://spiral.ai/integrations/devin/nature-article-full-text)
- [dots](https://spiral.ai/integrations/dots/nature-article-full-text)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/nature-article-full-text)
- [Gemini](https://spiral.ai/integrations/gemini/nature-article-full-text)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/nature-article-full-text)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/nature-article-full-text)
- [goose](https://spiral.ai/integrations/goose/nature-article-full-text)
- [Grok](https://spiral.ai/integrations/grok/nature-article-full-text)
- [Grok Build](https://spiral.ai/integrations/grok-build/nature-article-full-text)
- [Hermes](https://spiral.ai/integrations/hermes/nature-article-full-text)
- [Instinct](https://spiral.ai/integrations/instinct/nature-article-full-text)
- [Manus](https://spiral.ai/integrations/manus/nature-article-full-text)
- [Muse](https://spiral.ai/integrations/muse/nature-article-full-text)
- [Muse Code](https://spiral.ai/integrations/muse-code/nature-article-full-text)
- [n8n](https://spiral.ai/integrations/n8n/nature-article-full-text)
- [Notion](https://spiral.ai/integrations/notion/nature-article-full-text)
- [OpenClaw](https://spiral.ai/integrations/openclaw/nature-article-full-text)
- [Perplexity](https://spiral.ai/integrations/perplexity/nature-article-full-text)
- [Raycast](https://spiral.ai/integrations/raycast/nature-article-full-text)
- [VS Code](https://spiral.ai/integrations/vscode/nature-article-full-text)
- [Windsurf](https://spiral.ai/integrations/windsurf/nature-article-full-text)
- [Zapier](https://spiral.ai/integrations/zapier/nature-article-full-text)

## More opencode guides

- [Nature article details](https://spiral.ai/integrations/opencode/nature-article-details)
- [Nature article references](https://spiral.ai/integrations/opencode/nature-article-references)
- [NPS sound recording details](https://spiral.ai/integrations/opencode/nps-sound-recording-details)
- [Nature article search](https://spiral.ai/integrations/opencode/nature-article-search)
- [NPS sound library search](https://spiral.ai/integrations/opencode/nps-sound-library-search)
- [Nature journal article listings](https://spiral.ai/integrations/opencode/nature-journal-article-listings)

## Questions about Nature article full text in opencode

**Can opencode use Nature article full text?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Nature article full text like any built-in tool.

**How much does Nature article full text 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 Nature article full text in opencode?**

No. Spiral runs Nature article full text on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Nature article full text in opencode?**

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

**Does opencode wait while Nature article full text runs?**

Nature article full text runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does Nature cover only the journal Nature?**

Nature.com also carries other Nature Portfolio journals. Its machine-learning subject page includes research from Nature Communications and reviews from Nature Methods.

**How far back does Nature's archive go?**

Nature's first issue appeared in November 1869. Its volume archive lists Volume 1 as covering November 1869 through April 1870.

**Does the latest issue contain the newest online papers?**

Nature publishes weekly, but many papers appear online before their print issue date. An issue-based reading list can therefore omit newer online publications.

**Is every Nature research article open access?**

No. Since January 2021, authors submitting primary research to Nature have been able to choose either subscription publication or gold open access.

**Do Nature listings include corrections and retractions?**

Yes. Nature's journal listings include both author corrections and retraction notices, so a listing can contain updates to earlier research as well as new papers.

