MCP server
Masnavi Official
ai.masnavi/masnavi
Checked 26 Oct 2026, 08:29 UTC · Connected to it and listed its tools
Rumi's complete Masnavi (25,635 beyts) — search, quote, verify and explain. Free, no auth.
Working at last checkVerified publisher: masnavi.aiAbout 2,568 tokens per request once connected13 tools
https://masnavi.ai/mcp
At a glance
- Type
- MCP server
- Publisher
- masnavi.ai (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 13
- Token cost
- About 2,568 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http masnavi https://masnavi.ai/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.masnavi] url = "https://masnavi.ai/mcp"
Gemini CLI
{"mcpServers":{"masnavi":{"httpUrl":"https://masnavi.ai/mcp"}}}
Cursor
{"mcpServers":{"masnavi":{"url":"https://masnavi.ai/mcp"}}}
VS Code
{"servers":{"masnavi":{"type":"http","url":"https://masnavi.ai/mcp"}}}
Antigravity
agy mcp add masnavi https://masnavi.ai/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"masnavi","server_url":"https://masnavi.ai/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"masnavi","server_url":"https://masnavi.ai/mcp"}
Tools
explain~188 tokens
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'find_sections~331 tokens
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 `lget_ghazal~181 tokens
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) = «مرده بدم زنده شدم…».get_range~272 tokens
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 iget_section~116 tokens
Retrieve a full section (story / بخش) with all its beyts.lookup~260 tokens
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.random_beyt~85 tokens
Return a randomly-selected beyt, optionally restricted to a daftar.search~198 tokens
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.search_divan~197 tokens
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 lansearch_divan_meaning~232 tokens
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 matsearch_meaning~254 tokens
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-similaritytable_of_contents~95 tokens
Browse the Masnavi's section list. Returns titled sections per daftar with beyt counts and ranges.verify~159 tokens
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.
Browse
Related MCP servers
- Webhook Toolkit
Webhook URLs for AI agents: receive, wait for, replay, sign and verify webhooks (Stripe, GitHub…). - TestWell Lab Tests
Cash-pay lab tests: catalog search, all-in quotes by state, draw sites by ZIP, reviewed ranges. - BackNine Life Insurance
Compare life insurance quotes and start electronic applications with BackNine. - Quotewise
Semantic quote search with 600K quotes. Find quotes by meaning, verify attributions. - Stockfilm — Authentic Vintage Footage
Search and license 217,000+ authentic vintage 8mm home movie clips (1930s-1980s). - fojin — Buddhist Canon Tools
Buddhist canon tools: search, passages, cross-canon parallels, dictionaries — all URN-cited. - Silicon Friendly
Directory rating websites on AI-agent-friendliness. Search, lookup, and submit. - StewAI
Discover, run, inspect, build, test, and privately reuse AI workflows.
Badge for your README
[](https://aptlynx.net/servers/ai.masnavi/masnavi)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents