masnavi
ai.masnavi/masnavi
MCP server OK 13 tools
Rumi's complete Masnavi (25,635 beyts) — search, quote, verify and explain. Free, no auth.
Technical sheet
- Author
- masnavi.ai (registry namespace)
- Repository
- github.com/shahhoseini/masnavi-mcp
- Site
- masnavi.ai
- Version
- 1.0.0
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://masnavi.ai/mcp Streamable HTTP
- Tools
- 13
- Categories
- —
- Last updated
- 12 Jun 2026
- Published
- 12 Jun 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 1 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/ai.masnavi/masnavi)<a href="https://latlas.dev/en/mcp/ai.masnavi/masnavi"><img src="https://latlas.dev/badge/statut/mcp/ai.masnavi/masnavi.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/ai.masnavi/masnavi)<a href="https://latlas.dev/en/mcp/ai.masnavi/masnavi"><img src="https://latlas.dev/badge/fiche/ai.masnavi/masnavi.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://masnavi.ai/mcp
- Last result
- OK 28 Nov 2026, 07:52
- Response time
- 449 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- masnavi 1.27.1
- Tools
- 13
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 07:52 | OK | 449 ms | 13 |
Exposed tools (13, from tools/list, 28 Nov 2026)
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Persian text to search for |
| daftar | integer | null | no | Restrict to a single daftar (1-6) |
| limit | integer | no | |
| offset | integer | no |
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`.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | What the verse should MEAN, in any language |
| daftar | integer | null | no | Restrict to a single daftar (1-6) |
| limit | integer | no |
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| citation | string | null | no | Citation like 'M3:1278' or 'g:7421' |
| daftar | integer | null | no | |
| beyt_in_daftar | integer | null | no | |
| beyt_global | integer | null | no | |
| before | integer | no | |
| after | integer | no |
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| text | string | yes | Candidate Rumi quote in Persian |
| fuzzy_threshold | number | no |
get_section
Retrieve a full section (story / بخش) with all its beyts.
| Parameter | Type | Required | Description |
|---|---|---|---|
| section_id | integer | null | no | |
| slug | string | null | no | Stable URL slug |
table_of_contents
Browse the Masnavi's section list. Returns titled sections per daftar with beyt counts and ranges.
| Parameter | Type | Required | Description |
|---|---|---|---|
| daftar | integer | null | no |
random_beyt
Return a randomly-selected beyt, optionally restricted to a daftar.
| Parameter | Type | Required | Description |
|---|---|---|---|
| daftar | integer | null | no |
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| start | string | null | no | Start citation, e.g. 'M2:2608' |
| end | string | null | no | End citation, e.g. 'M2:2775' |
| start_global | integer | null | no | |
| end_global | integer | null | no |
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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | story title words (Persian) or a description of the story in any language |
| daftar | integer | null | no | |
| limit | integer | no |
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 say about M1:1'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| citation | string | yes | Citation like 'M1:1' or 'M3:1278' or 'g:7421'. |
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Persian text to search for |
| limit | integer | no | |
| offset | integer | no |
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | What the ghazal should be ABOUT, in any language |
| limit | integer | no |
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) = «مرده بدم زنده شدم…».
| Parameter | Type | Required | Description |
|---|---|---|---|
| number | integer | null | no | Ghazal number, e.g. 1393 |
| citation | string | null | no | Divan citation like 'G1393' or 'G1393:2' |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://masnavi.ai/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http masnavi https://masnavi.ai/mcpCustomize > Connectors > + Add > Add custom connector ; Name : masnavi ; URL : https://masnavi.ai/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : masnavi ; Server URL : https://masnavi.ai/mcp ; Create as a plugin{
"mcpServers": {
"masnavi": {
"url": "https://masnavi.ai/mcp"
}
}
}{
"mcpServers": {
"masnavi": {
"type": "http",
"url": "https://masnavi.ai/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"masnavi": {
"url": "https://masnavi.ai/mcp"
}
}
}{
"mcpServers": {
"masnavi": {
"httpUrl": "https://masnavi.ai/mcp"
}
}
}[mcp_servers.masnavi]
url = "https://masnavi.ai/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
masnavi · L’Atlas · Tested on
[masnavi — L’Atlas](https://latlas.dev/en/mcp/ai.masnavi/masnavi)Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.