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

Grok · Industry Data

How to Use Sefaria text connections in Grok

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.

Prompts to try with Sefaria text connections in Grok

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

Use Sefaria text connections to find Midrash connected to Exodus 12:2. List the returned citations as a reading list.

Sefaria text connectionsGrok
Try asking
  • 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 Grok

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

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok 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 Sefaria text connections

    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": "sefaria-org/bible/get_links",
        "input": {
          "ref": "<ref>"
        }
      }'

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

Sefaria text connections providers and prices

Spiral runs Sefaria text connections through Alexandria. Open a card for today's price, with every fee included.

AlexandriaIndustry Data

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 20050

Links per page.

Every API field of Sefaria: Hebrew Bible, Jewish commentaries and links (sefaria.org) · Get links is on its tool page: open its card above.

What can you do with Sefaria text connections in Grok?

Turn a question about Genesis or Exodus into a reading guide with cited evidence. A chat app can explain a passage, examine a named commentary, or suggest further reading from Sefaria's recorded connections.

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.

Questions about Sefaria text connections in Grok

Can Grok use Sefaria text connections?

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

How much does Sefaria text connections cost in Grok?

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

Do I need an Alexandria account to use Sefaria text connections in Grok?

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

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

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while Sefaria text connections runs?

Sefaria text connections runs in the background. Grok 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.

Get started

Start using Sefaria text connections in Grok

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

Paste this into Grok:

Set up Grok

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