[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Sefaria text connections](https://spiral.ai/integrations/n8n/sefaria-text-connections)

# How to Use Sefaria text connections in n8n

Find Sefaria’s known connections between a passage and commentary, Talmud, Midrash, or other texts. Use it to discover sources worth reading before choosing a specific commentary or passage.

|  |  |
| --- | --- |
| Model | Sefaria text connections |
| Available through | Alexandria |
| Category | Industry Data |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Sefaria text connections in n8n

- Once a month, use Sefaria text connections for Genesis 1:1 and report any added or removed source citations compared with the previous run.
- Every Monday at 9am: use Sefaria text connections to look this up and give me the result as a table.
- Pull the latest numbers from Sefaria text connections and tell me what changed since last week.
- Check Sefaria text connections and summarize what you find in three bullet points.
- Pull the newest data from Sefaria text connections and give me the result as a table.

## How to set up Sefaria text connections in n8n

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

### Use the Spiral skill

1. **Send n8n 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 Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **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:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Sefaria text connections in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Sefaria text connections, prices it and runs it each time the step fires.

### 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 Sefaria text connections**: 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": "sefaria-org/bible/get_links",
    "input": {
      "ref": "<ref>"
    }
  }'
```

Then paste one of the prompts above: n8n finds Sefaria text connections on Spiral, shows the price and runs it.

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

## Sefaria text connections tools and prices

- [Sefaria: Hebrew Bible, Jewish commentaries and links (sefaria.org) · Get links](https://spiral.ai/tools/alexandria/sefaria-org/bible/get_links) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 200 | 50 | Links per page. |
| cursor |  | — | next_cursor from the previous page; repeat the same filters with it. Pattern: ^[0-9]+$. |
| category |  | — | Only links whose source is in this Sefaria category, case-insensitive: Commentary, Quoting Commentary, Talmud, Midrash, Tanakh, Mishnah, Halakhah, Targum, Kabbalah, Chasidut, Jewish Thought, Musar, Liturgy, Responsa, Reference. |
| commentator |  | — | Only links from this commentator (Rashi), case-insensitive. |

## What can you do with Sefaria text connections in n8n?

Prepare recurring study briefs from an assigned list of Sefaria passages. A scheduled agent can collect readings, commentary, and connected citations, then compare repeated retrievals for changes.

### Prepare a lesson on a biblical passage

Build a lesson around Genesis 1:1-5 using the passage, a named commentary, and connected sources. Give students citations for each reading and questions that distinguish the verse from its interpretation.

### Check a Torah essay's sources

Verify quoted verses and commentary against Sefaria, then inspect recorded connections for supporting passages. Flag claims that the retrieved sources do not establish.

### Compare interpretations of one verse

Find commentators connected to Genesis 1:1, retrieve selected discussions, and compare them against the verse itself. Present each interpretation with its own citation.

### Build a passage study screen

Show a cited passage, a selected commentary, and a list of recorded connections. Keep source wording and the app's explanation visually distinct.

### Prepare a weekly study handout

Use an assigned passage list to assemble readings, commentary excerpts, and connected citations for discussion. Check each edition's license before reproducing its wording.

### Trace how a passage is interpreted

Start with Exodus 12:2, inspect its recorded connections, and read selected commentary beside the biblical text. Create an annotated reading path that explains what each source contributes.

## Overview

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

## Sefaria text connections in other agents

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

## More n8n guides

- [Sefaria passage text](https://spiral.ai/integrations/n8n/sefaria-passage-text)
- [Sefaria verse commentary](https://spiral.ai/integrations/n8n/sefaria-verse-commentary)
- [STEP Bible word occurrences](https://spiral.ai/integrations/n8n/step-bible-word-occurrences)
- [StudyLight Bible reference lookup](https://spiral.ai/integrations/n8n/studylight-bible-reference-lookup)
- [STEP Bible tagged verses](https://spiral.ai/integrations/n8n/step-bible-tagged-verses)
- [StudyLight commentary catalog](https://spiral.ai/integrations/n8n/studylight-commentary-catalog)

## Questions about Sefaria text connections in n8n

**Can n8n use Sefaria text connections?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Sefaria text connections like any built-in tool.

**How much does Sefaria text connections 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 Sefaria text connections in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Sefaria text connections on its own Alexandria account.

**How long does it take to set up Sefaria text connections in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Sefaria text connections runs?**

Sefaria text connections runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does Sefaria cover more than the Hebrew Bible?**

Yes. Its library has 14 highest-level categories, including Tanakh, Talmud, and Mishnah, so its texts and connections extend beyond biblical passages.

**Is every source available in English?**

No. Sefaria can have the original text without a translation, and an available translation can cover only part of a work.

**Where do Sefaria's translations come from?**

Sefaria distinguishes two sources: community translations and printed editions. Identify which edition you are reading before comparing its wording with another translation.

**Can Sefaria's wording change between visits?**

Yes. Registered users continually update community translations, so a passage from a community edition can change.

**Do Sefaria's connections include every reference to a passage?**

The source describes these results as known connections. They show relationships recorded by Sefaria, rather than establishing an exhaustive list of everything written about a passage.

