Agents Index

Masnavi

Online

Rumi's complete Masnavi (25,635 beyts) — search, quote, verify and explain. Free, no auth.

Visit publisherConnectJSON

What it can do: 13 tools

  • searchFull-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_meaningSemantic 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. 'f
  • lookupFetch 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.
  • verifyGiven 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 ha
  • get_sectionRetrieve a full section (story / بخش) with all its beyts.
  • table_of_contentsBrowse the Masnavi's section list. Returns titled sections per daftar with beyt counts and ranges.
  • random_beytReturn a randomly-selected beyt, optionally restricted to a daftar.
  • get_rangeFetch 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 secti
  • find_sectionsFind 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
  • explainGet 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 s
  • search_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. Returns beyts with divan citations (G{ghazal}:{beyt}, e.g. G1393:1). Use when y
  • search_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. Both couplet-
  • get_ghazalFetch 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) = «مرده بدم زنده شدم…

Connect it

Claude Code
claude mcp add --transport http masnavi https://masnavi.ai/mcp
Claude.ai / ChatGPT
Settings → Connectors → Add custom connector
URL: https://masnavi.ai/mcp
Cursor (~/.cursor/mcp.json)
{
  "mcpServers": {
    "masnavi": {
      "url": "https://masnavi.ai/mcp"
    }
  }
}
VS Code (.vscode/mcp.json)
{
  "servers": {
    "masnavi": {
      "type": "http",
      "url": "https://masnavi.ai/mcp"
    }
  }
}

Questions

What does Masnavi do?

Rumi's complete Masnavi (25,635 beyts) — search, quote, verify and explain. Free, no auth. It exposes 13 tools to AI assistants.

What tools does Masnavi provide?

13 tools, including search, search_meaning, lookup, verify, get_section, table_of_contents, random_beyt, get_range, find_sections, explain, search_divan, search_divan_meaning….

How do I connect Masnavi to Claude, ChatGPT or Cursor?

Add the remote MCP endpoint https://masnavi.ai/mcp as a custom connector or MCP server. Copy-paste setup is on this page.

Does Masnavi require an account or API key?

No sign-in was needed to list its tools. Individual tools may still need an account or API key.

Is Masnavi online?

As of 2026-11-19 our probe found it online. It answered 100% of our last 3 checks.

Who publishes Masnavi?

masnavi.ai. The official MCP Registry verified that the publisher controls this domain before accepting the listing.

Similar in Web Search & Scraping