L'Atlas / MCP servers / masnavi
MCP server

masnavi

ai.masnavi/masnavi

MCP server OK 13 tools

Get a review See pricing

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

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/ai.masnavi/masnavi.svg?lang=en)](https://latlas.dev/en/mcp/ai.masnavi/masnavi)
HTML
<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

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/ai.masnavi/masnavi.svg?lang=en)](https://latlas.dev/en/mcp/ai.masnavi/masnavi)
HTML
<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

DateResultResponseTools
28 Nov 2026, 07:52OK449 ms13

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.

ParameterTypeRequiredDescription
querystringyesPersian text to search for
daftarinteger | nullnoRestrict to a single daftar (1-6)
limitintegerno
offsetintegerno

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`.

ParameterTypeRequiredDescription
querystringyesWhat the verse should MEAN, in any language
daftarinteger | nullnoRestrict to a single daftar (1-6)
limitintegerno

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.

ParameterTypeRequiredDescription
citationstring | nullnoCitation like 'M3:1278' or 'g:7421'
daftarinteger | nullno
beyt_in_daftarinteger | nullno
beyt_globalinteger | nullno
beforeintegerno
afterintegerno

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.

ParameterTypeRequiredDescription
textstringyesCandidate Rumi quote in Persian
fuzzy_thresholdnumberno

get_section

Retrieve a full section (story / بخش) with all its beyts.

ParameterTypeRequiredDescription
section_idinteger | nullno
slugstring | nullnoStable URL slug

table_of_contents

Browse the Masnavi's section list. Returns titled sections per daftar with beyt counts and ranges.

ParameterTypeRequiredDescription
daftarinteger | nullno

random_beyt

Return a randomly-selected beyt, optionally restricted to a daftar.

ParameterTypeRequiredDescription
daftarinteger | nullno

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.

ParameterTypeRequiredDescription
startstring | nullnoStart citation, e.g. 'M2:2608'
endstring | nullnoEnd citation, e.g. 'M2:2775'
start_globalinteger | nullno
end_globalinteger | nullno

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).

ParameterTypeRequiredDescription
querystringyesstory title words (Persian) or a description of the story in any language
daftarinteger | nullno
limitintegerno

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'.

ParameterTypeRequiredDescription
citationstringyesCitation 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.

ParameterTypeRequiredDescription
querystringyesPersian text to search for
limitintegerno
offsetintegerno

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.

ParameterTypeRequiredDescription
querystringyesWhat the ghazal should be ABOUT, in any language
limitintegerno

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) = «مرده بدم زنده شدم…».

ParameterTypeRequiredDescription
numberinteger | nullnoGhazal number, e.g. 1393
citationstring | nullnoDivan 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.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://masnavi.ai/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http masnavi https://masnavi.ai/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : masnavi ; URL : https://masnavi.ai/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : masnavi ; Server URL : https://masnavi.ai/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "masnavi": {
      "url": "https://masnavi.ai/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "masnavi": {
      "type": "http",
      "url": "https://masnavi.ai/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "masnavi": {
      "url": "https://masnavi.ai/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "masnavi": {
      "httpUrl": "https://masnavi.ai/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[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

Markdown
[masnavi — L’Atlas](https://latlas.dev/en/mcp/ai.masnavi/masnavi)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.