Search / ai.masnavi/masnavi
masnavi
R0· no sign-inRumi's complete Masnavi (25,635 beyts) — search, quote, verify and explain. Free, no auth.
v1.0.0 · active · repository · website · descriptor JSON · versions
Search / ai.masnavi/masnavi
R0· no sign-inRumi's complete Masnavi (25,635 beyts) — search, quote, verify and explain. Free, no auth.
v1.0.0 · active · repository · website · descriptor JSON · versions
{
"mcpServers": {
"masnavi": {
"type": "http",
"url": "https://masnavi.ai/mcp"
}
}
}claude mcp add --transport http masnavi https://masnavi.ai/mcp[mcp_servers.masnavi]
url = "https://masnavi.ai/mcp"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"masnavi": {
"type": "remote",
"url": "https://masnavi.ai/mcp",
"enabled": true
}
}
}{
"mcpServers": {
"masnavi": {
"type": "http",
"url": "https://masnavi.ai/mcp"
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=masnavi&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vbWFzbmF2aS5haS9tY3AifQ%3D%3D"
}{
"servers": {
"masnavi": {
"type": "http",
"url": "https://masnavi.ai/mcp"
}
}
}{
"mcpServers": {
"masnavi": {
"httpUrl": "https://masnavi.ai/mcp"
}
}
}extensions:
"masnavi":
enabled: true
name: "masnavi"
type: streamable_http
uri: "https://masnavi.ai/mcp"
timeout: 300
protocol.modernnewest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28protocol.statelessonly applies to 2026-07-28 serversprotocol.transportstreamable HTTPprotocol.list_ttlonly applies to 2026-07-28 serversauth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptionsevery tool has a descriptiontools.description_lengthdescriptions are concisetools.schemasevery tool has an object input schematools.annotationsno tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky onestools.directory_hintsno tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: table_of_contents (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); random_beyt (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); search_divan_meaning (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …tools.token_costabout 2,114 tokens to load every tooltools.api_dumptools are not a one-to-one API dumpstability.changesno tool changes in 30 daysstability.rug_pullno tool changed its meaning under the same namedeps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI packageNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +dns-namespace +website +reachable +uptime-96% ~updated-130d-ago
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
| remote | auth | reachable | uptime 30d | p50 | protocol | last ok |
|---|---|---|---|---|---|---|
https://masnavi.ai/mcp streamable-http | none | yes | 96% | 512 ms | 2025-11-25 | 2026-10-20 |
explain | Get commentary (Persian + English) for a specific beyt of the Masnavi, attributed to a primary source (e.g. Abdolkarim Soroush's lectures). Returns the beyt text along with structured commentary entries. Each entry has source, author, language, body markdown, and confidence ('ai-draft' / 'reviewed' / 'verbatim'). Use this when a user asks 'what does this beyt mean' or 'what does <scholar> say about M1:1'. |
find_sections | Find sections (stories) by TITLE. Exact words first (phrase, then AND-of-tokens); when NO title contains the words, falls back to MEANING matches in any language (hits carry match='meaning' + a cosine score — verify with get_section before relying on one). Each match includes `first_citation` and `last_citation` — ready-to-use canonical citations (e.g. 'M2:2608'). To read a whole multi-section story, call get_range with the FIRST match's `first_citation` as start and the LAST match's `last_citation` as end. Do NOT construct a citation from `first_beyt_global` — that is a GLOBAL index (1..25635), not a daftar-local beyt number. Example: find_sections('ابلیس معاویه', daftar=2). |
get_ghazal | Fetch ONE complete ghazal of the Divan-e Shams by its canonical number (1..3230) or citation ('G1393' / 'G1393:2'). Returns every beyt plus prev/next ghazal numbers. Famous example: get_ghazal(1393) = «مرده بدم زنده شدم…». |
get_range | Fetch ALL beyts between two endpoints, inclusive, grouped by section. Use this — NOT many calls to get_section or lookup — when a user asks for a full story, a long passage, or a sequence of beyts spanning multiple sections. Endpoints are canonical citations like 'M2:2608' and 'M2:2775', or global indices via start_global / end_global. Max range: 500 beyts. |
get_section | Retrieve a full section (story / بخش) with all its beyts. |
lookup | Fetch a specific beyt by its citation (e.g. 'M3:1278'), by daftar+beyt number, or by global beyt index. Optionally include surrounding beyts for context. |
random_beyt | Return a randomly-selected beyt, optionally restricted to a daftar. |
search | Full-text search across the Masnavi. Returns beyts that contain the query terms, ranked by relevance. Useful for finding where a theme, word, or phrase appears. |
search_divan | Full-text search across the 34,603 beyts of the ghazals of the Divan-e Shams (Divan-e Kabir) — Rumi's lyric work, distinct from the Masnavi. Returns beyts with divan citations (G{ghazal}:{beyt}, e.g. G1393:1). Use when you know the exact Persian words; use search_divan_meaning for a theme in any language. |
search_divan_meaning | Semantic search over the Divan-e Shams ghazals: given a theme, feeling, or idea in ANY language, returns the GHAZALS closest in meaning — each with its best-matching couplet as a preview and a cosine score. Both couplet-level and whole-ghazal vectors are searched, so a ghazal whose overall theme matches is found even when no single couplet does. Fetch a full ghazal with get_ghazal. status='unavailable' means the index is not built — fall back to search_divan. |
search_meaning | Semantic search: find the beyts closest in MEANING to the query, in ANY language — English, Persian, Spanish, Turkish, Arabic, … . Use this when you have a theme, feeling, or idea rather than exact Persian words (e.g. 'feeling separated from your origin' → M1:1). Each hit carries a cosine-similarity score. status='unavailable' means the vector index is not built yet — fall back to `search`. |
table_of_contents | Browse the Masnavi's section list. Returns titled sections per daftar with beyt counts and ranges. |
verify | Given a candidate quote attributed to Rumi's Masnavi, check whether it actually appears. Returns status='exact' (with citation), 'fuzzy' (with similar candidates), or 'not_found'. USE THIS BEFORE QUOTING RUMI to avoid hallucination. |
Schemas: list_tools.
{
"name": "ai.masnavi/masnavi",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
"remotes": [
{
"url": "https://masnavi.ai/mcp",
"type": "streamable-http"
}
],
"version": "1.0.0",
"repository": {
"url": "https://github.com/shahhoseini/masnavi-mcp",
"source": "github"
},
"websiteUrl": "https://masnavi.ai",
"description": "Rumi's complete Masnavi (25,635 beyts) — search, quote, verify and explain. Free, no auth."
}