Back to Discover

masnavi-mcp

connector

shahhoseini

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

View on GitHub
0 starsSynced Aug 2, 2026

Install to Claude Code

/plugin marketplace add shahhoseini/masnavi-mcp

README

masnavi.ai — Rumi's Masnavi as an MCP server

The complete Masnavi-ye Maʿnavi of Jalāl al-Dīn Rūmī — all 25,635 beyts (couplets) in 6 daftars, 972 sections — served as a free, public, read-only Model Context Protocol server. Your agent can search, quote, verify, and explain Rumi from the canonical text instead of inventing him.

Connect

{ "mcpServers": { "masnavi": { "type": "http", "url": "https://masnavi.ai/mcp" } } }

Claude Code: claude mcp add --transport http masnavi https://masnavi.ai/mcp

Tools (9)

ToolWhat it does
searchfull-text search across all 25,635 beyts, ranked
lookupa beyt by citation (M1:1 = daftar 1, beyt 1) with neighbours
verifyis this really a line by Rumi? fuzzy-checks a quotation against the corpus
get_sectionone named section (story) with all its beyts
get_rangea full multi-section story in one call (≤500 beyts)
find_sectionsfind a story by (Persian) title fragment
table_of_contentsthe 972 sections, by daftar
random_beyta random couplet
explainper-beyt commentary by named scholars

Citations use M{daftar}:{beyt} (e.g. M3:1278). Text sourced from Ganjoor; the Masnavi is in the public domain.

Why

Language models routinely misattribute Persian poetry. This server exists so agents can ground every Rumi quotation in the canonical text — search it, cite it, and verify it — in any language.

This repository holds the public metadata for the hosted server at masnavi.ai; the service itself runs at the endpoint above.

Rendered live from shahhoseini/masnavi-mcp's GitHub README — not stored, always reflects the source repo.

1 Install Method

NameDescriptionCategorySource
streamable-http remoteHosted streamable-http endpointmcp-serverhttps://masnavi.ai/mcp

0 Comments

Login required
Log in to post a comment or update on this repo.

No comments yet — be the first to share an update.