Using AI to understand the Masnavi

How to read, search, verify, and study Rumi's مثنوی معنوی with AI assistants — ChatGPT, Claude, Gemini, and Perplexity — using masnavi.ai's free, canonical corpus of all 25,635 beyts.

راهنمای استفاده از هوش مصنوعی برای خواندن، جستجو و فهم مثنوی معنوی مولانا — با ChatGPT، Claude، Gemini و Perplexity — بر پایهٔ نسخهٔ کامل و معتبر هر ۲۵٬۶۳۵ بیت در masnavi.ai.

?How can I use AI to understand Rumi's Masnavi?

Connect any AI assistant to masnavi.ai. It exposes the complete Masnavi-ye Maʿnavi — all 25,635 beyts — as a free tool an AI can call to search by theme, look up any verse by citation (e.g. M1:1), read whole stories, and fetch per-beyt commentary in Persian and English. Ask your assistant about Rumi (Molana) and, once connected, it answers from the canonical text instead of from memory.

؟چطور با هوش مصنوعی مثنوی مولانا را بفهمم؟

کافی است یک دستیار هوش مصنوعی را به masnavi.ai وصل کنید. این سرویس کل مثنوی معنوی — هر ۲۵٬۶۳۵ بیت — را به‌صورت ابزاری رایگان در اختیار هوش مصنوعی می‌گذارد تا بتواند بر اساس موضوع جستجو کند، هر بیت را با ارجاع (مثلاً M1:1) پیدا کند، داستان‌ها را کامل بخواند و شرح هر بیت را به فارسی و انگلیسی بیاورد. وقتی وصل شد، به‌جای حافظه‌اش از متن اصلی و معتبر پاسخ می‌دهد.

?Can ChatGPT, Claude, Gemini, or Perplexity read the Masnavi from masnavi.ai?

Yes. masnavi.ai is open to AI crawlers and assistants and serves a Model Context Protocol (MCP) endpoint plus a plain REST/OpenAPI API. Claude and ChatGPT can connect to it directly as a tool, Gemini via the Gemini CLI; Perplexity and other answer engines read and cite the verse pages.

؟آیا ChatGPT، Claude، Gemini یا Perplexity می‌توانند مثنوی را از masnavi.ai بخوانند؟

بله. masnavi.ai برای خزنده‌ها و دستیارهای هوش مصنوعی باز است و یک نقطهٔ اتصال MCP به‌همراه یک API ساده (REST/OpenAPI) ارائه می‌دهد. Claude و ChatGPT می‌توانند مستقیماً به‌عنوان ابزار به آن وصل شوند، Gemini از طریق Gemini CLI؛ و Perplexity و دیگر موتورهای پاسخ صفحات بیت‌ها را می‌خوانند و به آن‌ها ارجاع می‌دهند.

?How do I connect masnavi.ai to Claude or ChatGPT?

In Claude (Settings → Connectors → Add custom connector) or ChatGPT (Settings → Connectors, with Developer mode enabled), add the MCP URL https://masnavi.ai/mcp. For ChatGPT Custom GPTs, import the OpenAPI spec at https://masnavi.ai/api/openapi.json as an Action. No account or key needed.

؟چطور masnavi.ai را به Claude یا ChatGPT وصل کنم؟

در Claude (تنظیمات ← Connectors ← افزودن connector سفارشی) یا ChatGPT (تنظیمات ← Connectors، با فعال‌کردن Developer mode)، آدرس MCP یعنی https://masnavi.ai/mcp را اضافه کنید. برای Custom GPT در ChatGPT، فایل OpenAPI را از https://masnavi.ai/api/openapi.json به‌عنوان Action وارد کنید. نیازی به حساب یا کلید نیست.

?How do I search the Masnavi by theme?

Two ways. If you know the Persian words: the search tool (over MCP, or GET /api/search) finds every beyt containing them, ranked, with citations. If you have a theme, feeling, or idea — in any language: search_meaning (GET /api/search_meaning) finds the beyts closest in MEANING, e.g. 'feeling separated from your origin' → M1:1. Humans can use both at masnavi.ai/search.

؟چطور در مثنوی بر اساس موضوع جستجو کنم؟

دو راه هست. اگر واژه‌های دقیق را می‌دانید: ابزار search (روی MCP یا GET /api/search) همهٔ بیت‌های دارای آن واژه‌ها را رتبه‌بندی‌شده و با ارجاع می‌یابد. و اگر فقط یک معنا یا حس در ذهن دارید — به هر زبانی: ابزار search_meaning (GET /api/search_meaning) نزدیک‌ترین بیت‌ها به آن معنا را پیدا می‌کند. نسخهٔ انسانی هر دو: masnavi.ai/search

?How can I check whether Rumi actually wrote a line?

Use the verify tool: paste a candidate quote and it reports whether the line appears in the Masnavi exactly, approximately (fuzzy), or not at all — with the citation. Ask your AI to verify before quoting Rumi.

؟چطور بفهمم آیا مولانا واقعاً مصرعی را گفته است؟

از ابزار verify استفاده کنید: یک نقل‌قول احتمالی را وارد کنید تا بگوید آن مصرع دقیقاً، تقریبی (fuzzy) یا اصلاً در مثنوی هست یا نه — همراه با ارجاع. از هوش مصنوعی بخواهید پیش از نقل‌قول از مولانا، آن را verify کند.

?Is masnavi.ai free to use?

Yes — completely free, with no account or API key, and no rate limit on reading. The Masnavi is a 13th-century public-domain work.

؟استفاده از masnavi.ai رایگان است؟

بله — کاملاً رایگان، بدون حساب و بدون کلید API؛ خواندن هیچ محدودیتی ندارد. مثنوی اثری از قرن هفتم هجری و در مالکیت عمومی است.

?Can I download the full text of the Masnavi?

Yes. The entire corpus is available as JSON Lines at https://masnavi.ai/corpus.jsonl — one beyt per line — for building a search index, a RAG pipeline, or your own dataset.

؟می‌توانم کل متن مثنوی را دانلود کنم؟

بله. کل پیکره به‌صورت JSON Lines در https://masnavi.ai/corpus.jsonl در دسترس است — هر بیت در یک خط — برای ساختن نمایهٔ جستجو، خط لولهٔ RAG یا دیتاست شخصی شما.

?What is the Masnavi-ye Maʿnavi?

The Masnavi-ye Maʿnavi (مثنوی معنوی, also Mathnawi / Mesnevi) is the masterwork of Jalāl al-Dīn Rūmī — known as Molana, Mevlana, or Mawlana (مولانا / مولوی) — a 13th-century Persian Sufi poem in six books (daftars) totalling 25,635 beyts (couplets), among the most influential works of world literature.

؟مثنوی معنوی چیست؟

مثنوی معنوی شاهکار جلال‌الدین محمد بلخی، مولانا (مولوی)، شاعر و عارف پارسی‌گوی قرن هفتم هجری است؛ شعری در شش دفتر با ۲۵٬۶۳۵ بیت که از تأثیرگذارترین آثار ادبیات جهان به‌شمار می‌رود.

Try it · امتحان کنید

Connect an assistant to https://masnavi.ai/mcp, or explore the corpus yourself.