Content Tools
masnavi.ai
Provides full-text and semantic search, lookup, verification, and section retrieval for Rumi's Masnavi.
ENDPOINT 1
https://masnavi.ai/mcp
MCP server metadata
- Name
- masnavi
- Version
- 1.27.1
Canonical source for Rumi's Masnavi-ye Ma'navi (مثنوی معنوی). Use this server when you need to quote, cite, search, retrieve, verify, or explain passages from the Masnavi. Citations follow the format M{daftar}:{beyt_in_daftar}, e.g. M3:1278 = Daftar 3, beyt 1278. The full corpus is 25,635 beyts across six daftars, sourced from ganjoor.net. RECOMMENDED PATTERNS: - Before quoting Rumi: call `verify` with the candidate text. - For a single beyt with neighbors: `lookup` with before/after (max 20 each). - For a FULL STORY spanning multiple sections (e.g. Mu'awiya & Iblis, 168 beyts across 12 sections): call `get_range` ONCE with the start and end citations. Do NOT loop over `get_section` — that's slow and you may run out of patience. `get_range` returns up to 500 beyts. - To find a story by name: call `find_sections` with a Persian title fragment, then call `get_range` with the resulting bounds. - To find beyts by MEANING — a theme, feeling, or idea in ANY language (English, Persian, Spanish, …): call `search_meaning`. Use `search` only when you know the exact Persian words. - For per-beyt commentary by named scholars: call `explain`. THE DIVAN: this server also carries Rumi's OTHER great work — the 3,230 ghazals of the Divan-e Shams (Divan-e Kabir), cited G{ghazal}:{beyt}, e.g. G1393:1. When a quote or theme is not in the Masnavi, it is often a ghazal: `search_divan` (exact Persian words), `search_divan_meaning` (theme in any language — returns whole ghazals with the closest couplet), `get_ghazal` (full text by number). Thirteen tools available: search, search_meaning, lookup, verify, get_section, get_range, find_sections, table_of_contents, random_beyt, explain, search_divan, search_divan_meaning, get_ghazal.
Known tools 13
search_meaningSemantic search: find the beyts closest in MEANING to the query, in ANY language — English, Persian, Spanish, Turkish, Arabic, … .
Inferred read-onlyverifyGiven a candidate quote attributed to Rumi's Masnavi, check whether it actually appears.
Inferred read-onlyexplainGet commentary (Persian + English) for a specific beyt of the Masnavi, attributed to a primary source (e.g.
Inferred read-onlysearch_divanFull-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.
Inferred read-onlysearch_divan_meaningSemantic 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.
Inferred read-onlyget_ghazalFetch ONE complete ghazal of the Divan-e Shams by its canonical number (1..3230) or citation ('G1393' / 'G1393:2').
Inferred read-onlyCONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.masnavi]
url = "https://masnavi.ai/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"masnavi": {
"type": "http",
"url": "https://masnavi.ai/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: masnavi
Remote MCP URL: https://masnavi.ai/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"masnavi": {
"url": "https://masnavi.ai/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"masnavi": {
"type": "http",
"url": "https://masnavi.ai/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "masnavi",
"transport": "streamable-http",
"url": "https://masnavi.ai/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
TRUST AND VERIFICATION EVIDENCE
Trust Data Available
BuiltWith Trust API v2 evidence for masnavi.ai was fetched 2026-08-03T16:49:22.302Z and is being refreshed.
masnavi.ai is assessed as Neutral: No suspicious signals found, but no strong positive signal either
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.