Masnavi MCP server
online · 100% uptimeai.masnavi/masnavi·v1.0.0Rumi's complete Masnavi (25,635 beyts) — search, quote, verify and explain. Free, no auth.
0 stars
Reviews
Write oneNobody has reviewed Masnavi yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Masnavi tools (13)
write = sends, deletes, buys or postsexplainFreeGet 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_sectionsFreeFind 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_ghazalFreeFetch 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_rangeFreeFetch 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_sectionFreeRetrieve a full section (story / بخش) with all its beyts.
lookupFreeFetch 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_beytFreeReturn a randomly-selected beyt, optionally restricted to a daftar.
searchFreeFull-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_divanFreeFull-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_meaningFreeSemantic 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_meaningFreeSemantic 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_contentsFreeBrowse the Masnavi's section list. Returns titled sections per daftar with beyt counts and ranges.
verifyFreeGiven 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.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- –Code scanremote-only server, no package to scann/a
- Live reliabilityremote reachable in 690ms20/20
- Tool poisoning13 tool descriptions checked15/15
- Auth qualityopen endpoint, read-only tools10/15
- Maintenancelast push 106 days ago8/15
- Maintainer identitynamespace and repository owner differ; GitHub account older than a year; website matches verified namespace7/10
How Masnavi compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 80/100
- higher than 65% of 3,470 Web search servers
- Tools
- 13
- the typical Web search server has 5
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Uptime
- 100%
- of our recent checks; the typical remote Web search server answers 100%
- Response time
- 111 ms
- faster than 86% of 2,238 Web search servers
What its tools let an agent do: 13 read
Install Masnavi in Claude Code, Cursor or VS Code
claude mcp add --transport http masnavi https://masnavi.ai/mcp
What the publisher says
From the Masnavi repository's README, as published. We do not edit it. Read it on GitHub
masnavi.ai — Rumi's Masnavi as an MCP server
The complete Masnavi-ye Maʿnavi of Jalāl al-Dīn Rūmī — all 25,635 beyts (couplets) in 6 daftars, 972 sections — served as a free, public, read-only Model Context Protocol server. Your agent can search, quote, verify, and explain Rumi from the canonical text instead of inventing him.
- Site: https://masnavi.ai (read it in 31 languages)
- MCP endpoint: https://masnavi.ai/mcp (Streamable HTTP, no auth)
- REST + OpenAPI: https://masnavi.ai/api/openapi.json
- Discovery: https://masnavi.ai/.well-known/mcp.json · https://masnavi.ai/llms.txt
- Docs: https://masnavi.ai/docs
Connect
{ "mcpServers": { "masnavi": { "type": "http", "url": "https://masnavi.ai/mcp" } } }Claude Code: claude mcp add --transport http masnavi https://masnavi.ai/mcp
Tools (9)
Citations use M{daftar}:{beyt} (e.g. M3:1278). Text sourced from Ganjoor; the Masnavi is in the public domain.
Why
Language models routinely misattribute Persian poetry. This server exists so agents can ground every Rumi quotation in the canonical text — search it, cite it, and verify it — in any language.
This repository holds the public metadata for the hosted server at masnavi.ai; the service itself runs at the endpoint above.
Nothing above is checked by us. What we check is on the safety report.
Masnavi: common questions
- Is Masnavi MCP server safe?
- Mostly: it is graded B (80/100). Read the Masnavi safety report
- How do I install Masnavi?
- It runs remotely at masnavi.ai. Add it to Claude Code, Cursor, VS Code or Claude Desktop with the snippets above, or call it through the mcp.market gateway without installing anything.
- Does Masnavi need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Masnavi maintained?
- The last commit was 145 days ago (2026-06-12). The latest release is v1.0.0.
- Is Masnavi up?
- 100% of our last 28 checks got an answer. We check remote servers about four times a day.
- What can I use instead of Masnavi?
- Servers from other publishers that do the same job: aChurch.ai MCP server.
- How does Masnavi compare with other Web search MCP servers?
- safety score 80/100 (higher than 65% of 3,470 Web search servers); tools 13 (the typical Web search server has 5); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Masnavi
Same job from other publishers: the closest match first, then the best rated.
- aChurch.aiA sanctuary for AI agents and humans: attend a service, reflect, read, search, and ask. No auth.not reviewedEstablishedA