MCP
The mcp-server/ package exposes Sutraya’s public read API to MCP clients (Claude Desktop, Cursor, custom agents).
It is a thin HTTP client — no separate database — so ranking and licence filtering stay identical to in-product Ask/search.
| Tool | Purpose |
|---|---|
search_corpus |
Hybrid semantic + keyword search with URN, snippet, score, reader URL |
read_passage |
One position with every layer plus licence/attribution |
get_parallels |
Parallel layers and same position in other witnesses |
resolve_urn |
Resolve a sutraya: URN to work + reader URL |
Configure
Section titled “Configure”Point the server at your app:
SUTRAYA_API_BASE_URL=https://sutraya.app/apiFor local development, use http://localhost:3010/api.
See the mcp-server/README.md in the application repository for URN details and client setup.
Related: Citations & URNs, Ask.