← sefaria.org
INDIVIDUAL MCP TOOL
get_index
Returns metadata for a specific text, such as section names and categories
Input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- No write-capable action terms were found; this is not proof that invocation has no side effects.
Parent endpoint
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.sefaria]
url = "https://sefaria-mcp.shimonkolodny.workers.dev/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"sefaria": {
"type": "http",
"url": "https://sefaria-mcp.shimonkolodny.workers.dev/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: sefaria
Remote MCP URL: https://sefaria-mcp.shimonkolodny.workers.dev/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"sefaria": {
"url": "https://sefaria-mcp.shimonkolodny.workers.dev/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"sefaria": {
"type": "http",
"url": "https://sefaria-mcp.shimonkolodny.workers.dev/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "sefaria",
"transport": "streamable-http",
"url": "https://sefaria-mcp.shimonkolodny.workers.dev/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
get_text— Retrieve the text and metadata for a specific reference (e.search_texts— Search the Sefaria library for a query string.get_toc— Returns the table of contents for all texts in the library, grouped by categoryget_links— Returns a list of known connections (commentary, citations, etc.get_topics— Returns a list of JSON objects containing metadata for topics in the databaseget_calendars— Returns daily learning schedules (Parashat Hashavua, Daf Yomi, etc.get_versions— Returns available text versions for a specific referenceget_shape— Returns the structure and section counts for a specific text reference