sefaria-api-mcp
Provides tools for accessing the Sefaria API, enabling retrieval of Jewish texts (Tanakh, Talmud, Mishnah, commentaries), search, topic exploration, calendar integration, and cross-references.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@sefaria-api-mcpGet today's Torah reading"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Sefaria API MCP
MCP (Model Context Protocol) server for accessing the Sefaria API - the largest open-source database of Jewish texts.
Features
This MCP provides AI agents with full access to:
Tanakh (Torah, Neviim, Ketuvim)
Talmud (Bavli and Yerushalmi)
Mishnah and other Rabbinic texts
Commentaries (Rashi, Tosafot, etc.)
Topics and cross-references
Search across the entire library
Calendar integration for daily readings
Related MCP server: Sefaria Jewish Library MCP Server
Installation
From GitHub
git clone https://github.com/davad00/sefaria-api-mcp.git
cd sefaria-api-mcp
npm install
npm run buildFrom npm (coming soon)
npm install -g sefaria-api-mcpFor ClawHub
This MCP includes a Claw skill in the skills/ directory. Install via ClawHub or manually:
# Clone and install
git clone https://github.com/davad00/sefaria-api-mcp.git
cd sefaria-api-mcp
npm install
npm run buildQuick Start
Running the MCP Server
npm startConfigure in Your MCP Client
Add to your MCP configuration file:
{
"mcpServers": {
"sefaria": {
"command": "node",
"args": ["path/to/sefaria-api-mcp/dist/index.js"]
}
}
}Using the Claw Skill
The included skill provides helper tools:
connect- Start the MCP serveruse- Show example usage patterns
Example Queries
// Get Genesis 1:1
{
"name": "get_text",
"arguments": { "tref": "Genesis 1:1" }
}
// Search for "love"
{
"name": "search",
"arguments": { "q": "love", "limit": 5 }
}
// Parse references from text
{
"name": "find_refs",
"arguments": { "text": "As it says in Shabbat 31a about lighting candles" }
}
// Get today's Torah readings
{
"name": "get_calendars"
}
// Explore related content
{
"name": "get_related",
"arguments": { "tref": "Genesis 1:1" }
}API Tools
Text Retrieval
Tool | Description |
| Get text by reference (e.g., 'Genesis 1:1', 'Shabbat 2b') |
| Legacy v1 text endpoint |
| Get random text segment |
| Get manuscript variants |
Search & Discovery
Tool | Description |
| Full-text search across library |
| Parse text to find Sefaria references |
| Table of contents (all available texts) |
| Texts in a specific category |
Related Content
Tool | Description |
| All related content (links, sheets, topics) |
| Cross-references to other sources |
| Topic details |
| List all topics |
| Topics linked to a reference |
Lookup
Tool | Description |
| Text metadata (structure, versions) |
| Text structure |
| Hebrew word definitions |
| Available translations |
Configuration
To use this MCP in your system, configure the connection:
{
"mcpServers": {
"sefaria": {
"command": "node",
"args": ["path/to/SefariaApiMcp/dist/index.js"]
}
}
}Example Usage
// Get Genesis 1:1
{
"name": "get_text",
"arguments": { "tref": "Genesis 1:1" }
}
// Search for "love"
{
"name": "search",
"arguments": { "q": "love", "limit": 5 }
}
// Parse references
{
"name": "find_refs",
"arguments": { "text": "As it says in Shabbat 31a about lighting candles" }
}
// Get today's readings
{
"name": "get_calendars"
}
// Explore related content
{
"name": "get_related",
"arguments": { "tref": "Genesis 1:1" }
}Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
License
MIT License - see LICENSE for details.
Links
Support
Open an issue on GitHub for bugs or feature requests
Check the Sefaria API docs for API details
Join the discussion on ClawHub
Acknowledgments
Built on top of the Sefaria API - the free living library of Jewish texts.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/davad00/sefaria-api-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server