Quick Guide: Meet the Sefaria MCPs

Team Sefaria
Team Sefaria
  • Updated

Sefaria’s MCPs (Model Context Protocols) connect your AI assistant of choice to the texts in the Sefaria  Library. When you connect one of the Sefaria MCPs to an AI assistant, it creates a direct line between the AI model and either the Sefaria Library or Developers on Sefaria (home to Sefaria’s technical documentation). When the MCPs are enabled, you can ask the AI assistant to prioritize information in Sefaria's collection when searching.

Note: The Sefaria MCPs can only be used with paid AI assistant accounts, such as ChatGPT Plus or Claude Pro. 

Sefaria has two MCPs, each with its own distinct purpose.

To connect your AI assistant to Sefaria’s MCP:

  1. Make sure you have a paid account with your AI assistant of choice.
  2. Copy the relevant MCP URL:
    • Sefaria Texts MCP: https://mcp.sefaria.org/sse
    • Sefaria Developers MCP: https://developers.sefaria.org/mcp
  1. Add to your AI tool.
    • In Claude:
      1. Navigate to settings
      2. Add as a Custom Connector
      3. Enable
    • In ChatGPT: 

      1. Navigate to settings

      2. Click on Advanced settings

      3. Click the toggle button to enable Developer mode

      4. Navigate back to Apps and Connectors

      5. Click Create (top-right corner)

      6. Past the above link for a Sefaria MCP into the indicated text box

      7. Select No Authorization

      8. Click Create

  2.  Start Exploring:
    • Click the + icon at the bottom of the text box to enable the MCP.
    • Ask whatever is on your mind!

Sample questions:

Using the Sefaria Texts MCP, ask your questions about Jewish text, such as "What does Genesis 1:1 say?" or "Find me talmudic discussions about kindness."

Using the Sefaria Developers MCP, ask the AI assistant to write code by pulling from our API, such as “Help me build a GUI which uses the Sefaria API to study Sforno's commentary on Genesis.”

>>> Learn more about the Sefaria MCPs